/* Public site layout — mobile first. */
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--g-800); font-weight: 800; text-decoration: none; font-size: 16.5px; line-height: 1.2; }
.brand img { border-radius: 50%; }
.nav-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; color: var(--g-800); cursor: pointer; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 16px 16px; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.nav.open { display: flex; }
.nav a { padding: 12px 10px; border-radius: 10px; color: var(--text); font-weight: 600; text-decoration: none; }
.nav a:hover { background: var(--g-50); color: var(--g-800); }
.nav a[aria-current="page"] { background: var(--g-50); color: var(--g-800); box-shadow: inset 3px 0 0 var(--g-700); }
.langs { display: flex; gap: 4px; padding: 8px 10px 0; align-items: center; }
.langs a, .langs b { padding: 6px 10px; border-radius: 8px; font-size: 14px; }
.langs b { background: var(--g-700); color: #fff; }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; margin-left: auto; padding: 0; border: 0; box-shadow: none; background: none; }
  .nav a { padding: 8px 11px; white-space: nowrap; }
  .nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--g-700); border-radius: 10px 10px 0 0; }
  .langs { padding: 0 0 0 10px; border-left: 1px solid var(--border); margin-left: 6px; }
}
main { display: block; min-height: 60vh; }
main:focus { outline: none; }
.section { padding: 34px 0; }
.section-h { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-h h2 { margin: 0; font-size: 24px; }
.page-head { background: linear-gradient(180deg, var(--g-50), var(--bg)); padding: 30px 0 18px; }
.page-head h1 { font-size: clamp(26px, 5vw, 38px); color: var(--g-800); margin-bottom: 8px; }
.page-head p { color: var(--muted); max-width: 70ch; font-size: 17px; margin: 0; }
.crumbs { font-size: 14px; margin-bottom: 8px; }

/* hero */
.hero { position: relative; color: #fff; background: var(--g-800) url('/img/hero.svg') center / cover no-repeat; }
.hero-in { padding: 56px 0 64px; max-width: 760px; }
.hero h1 { font-size: clamp(30px, 7vw, 52px); line-height: 1.12; margin-bottom: 14px; }
.hero p { font-size: clamp(16.5px, 2.4vw, 19px); color: #E3EFE6; margin-bottom: 24px; }
.hero .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn:not(.btn-amber) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .btn:not(.btn-amber):hover { background: rgba(255, 255, 255, .12); }
.hero-hours { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; background: rgba(0, 0, 0, .28); padding: 8px 14px; border-radius: 999px; font-weight: 600; }

.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); color: var(--text); text-decoration: none; }
.tile:hover { border-color: var(--g-500); color: var(--text); }
.tile .ic-wrap { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--g-50); color: var(--g-700); }
.tile h3 { margin: 6px 0 0; font-size: 19px; }
.tile p { margin: 0; color: var(--muted); }
.tile .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--g-700); display: inline-flex; gap: 6px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--border); font-weight: 600; color: var(--text); text-decoration: none; }
.chip:hover, .chip[aria-current="true"] { border-color: var(--g-700); background: var(--g-50); color: var(--g-800); }

/* tickets */
.buy { display: grid; gap: 22px; }
@media (min-width: 900px) { .buy { grid-template-columns: 1.5fr 1fr; align-items: start; } .buy-side { position: sticky; top: 84px; } }
.ttype { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; padding: 16px; border: 1.5px solid var(--border); border-radius: 14px; background: #fff; }
.ttype + .ttype { margin-top: 10px; }
.ttype h3 { margin: 0; font-size: 17px; }
.ttype .meta { font-size: 14px; color: var(--muted); }
.ttype .price { font-size: 19px; font-weight: 800; color: var(--g-800); white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #B9C9BE; border-radius: 12px; overflow: hidden; background: #fff; }
.stepper button { width: 44px; height: 44px; border: 0; background: var(--g-50); color: var(--g-800); font-size: 22px; font-weight: 700; cursor: pointer; }
.stepper button:hover { background: var(--g-100); }
.stepper input { width: 56px; min-height: 44px; border: 0; border-radius: 0; text-align: center; font-weight: 800; font-size: 18px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.summary { padding: 20px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.summary .sum { border-top: 1.5px solid var(--border); margin-top: 8px; padding-top: 12px; font-size: 20px; font-weight: 800; }
.rules { margin: 0; padding-left: 20px; color: var(--muted); }
.rules li { margin-bottom: 6px; }
.demo-tag { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--amber-ink); background: var(--warn-bg); border-radius: 6px; padding: 1px 6px; vertical-align: 2px; }
.tickets-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tcard { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.tcard header { background: var(--g-700); color: #fff; padding: 12px 16px; display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.tcard .body { padding: 16px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.tcard .qr-box { width: min(260px, 100%); border: 1px solid var(--border); }
.tcard.off { opacity: .6; }
.status-box { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; font-weight: 700; font-size: 17px; }
.status-box.ok { background: var(--ok-bg); color: var(--ok); }
.status-box.err { background: var(--err-bg); color: var(--err); }
.status-box.warn { background: var(--warn-bg); color: var(--warn); }
.paybox { max-width: 520px; margin: 30px auto; padding: 26px; }
.paybox .amount { font-size: 34px; font-weight: 800; color: var(--g-800); }

/* plants */
.search-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.search-bar input { flex: 1 1 240px; }
.search-bar select { flex: 0 1 220px; }
.plants { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.plant { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.plant:hover { border-color: var(--g-500); color: var(--text); }
.plant .ph { aspect-ratio: 4 / 3; background: var(--g-50); display: grid; place-items: center; color: var(--g-600); overflow: hidden; }
.plant .ph img { width: 100%; height: 100%; object-fit: cover; }
.plant .tx { padding: 12px 14px; }
.plant b { display: block; font-size: 16.5px; }
.plant i { color: var(--muted); }
.pcard { display: grid; gap: 22px; }
@media (min-width: 860px) { .pcard { grid-template-columns: 1fr 1fr; align-items: start; } }
.pcard .gallery { display: grid; gap: 10px; }
.pcard .gallery img { width: 100%; border-radius: 16px; object-fit: cover; aspect-ratio: 4 / 3; background: var(--g-50); }
.pcard .placeholder { aspect-ratio: 4 / 3; border-radius: 16px; background: var(--g-50) url('/img/leaf.svg') center / 30% no-repeat; }
.latin { font-style: italic; color: var(--muted); font-size: 19px; margin-top: -4px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 18px 0; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; }
.prose { max-width: 72ch; }
.prose p { margin-bottom: .9em; }

/* excursions */
.routes { display: grid; gap: 18px; }
@media (min-width: 860px) { .routes { grid-template-columns: repeat(2, 1fr); } }
.route { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.route img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--g-50); }
.route .tx { padding: 16px 18px 18px; display: grid; gap: 8px; }
.route h3 { margin: 0; font-size: 20px; }
.route .meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14.5px; }
.photos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }
.photos figcaption { font-size: 14px; color: var(--muted); padding-top: 4px; }
.slots { display: grid; gap: 8px; }
.slot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; flex-wrap: wrap; }

/* views */
.views { display: grid; gap: 18px; }
@media (min-width: 900px) { .views { grid-template-columns: repeat(2, 1fr); } }
.view { margin: 0; position: relative; background: #0B1A11; border-radius: 18px; overflow: hidden; color: #fff; box-shadow: var(--shadow); }
.view video, .view img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #0B1A11; }
.view .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.view .cap b { font-size: 18px; display: block; }
.view .cap small { color: #D8E6DC; }
.live { display: inline-flex; align-items: center; gap: 6px; position: absolute; top: 12px; left: 12px; background: #B42318; color: #fff; font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.view .fs { background: rgba(0, 0, 0, .45); color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); }
.view:fullscreen { border-radius: 0; display: grid; place-items: center; }
.view:fullscreen video, .view:fullscreen img { height: 100vh; aspect-ratio: auto; object-fit: contain; }

/* feedback */
.fb { max-width: 760px; }
.thanks { text-align: center; padding: 34px 22px; max-width: 620px; margin: 30px auto; }
.thanks .ic-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto 14px; }

.foot { background: var(--g-900); color: #CFE0D4; margin-top: 40px; padding: 34px 0 18px; font-size: 15px; }
.foot a { color: #fff; }
.foot-in { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.foot b { color: #fff; display: block; margin-bottom: 6px; }
.foot p { margin: 0; }
.demo-note { margin-top: 26px; font-size: 13px; color: #A9C2B1; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 8px; } }
