@import url("../fonts/fonts.css");

/* ---------- Tokens ---------- */
:root {
  --ink: #0e1a2b;
  --ink-2: #16273d;
  --ink-soft: #46566b;
  --muted: #6d7a8c;
  --paper: #faf7f1;
  --paper-2: #f2ece1;
  --card: #ffffff;
  --line: #e4dccd;
  --brand: #2b8fe0;
  --brand-deep: #1766ae;
  --leaf: #2fc46b;
  --wine: #7b1e3a;
  --clay: #c65d33;
  --gold: #c9a24b;
  --accent: var(--brand);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 26, 43, .05), 0 12px 32px -12px rgba(14, 26, 43, .18);
  --shadow-lg: 0 30px 70px -30px rgba(14, 26, 43, .45);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--leaf); color: #06230f; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
.ic { flex: none; vertical-align: -.18em; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}
.kicker-light { color: #ffd9a8; }
.lead { font-size: 1.14rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; line-height: 1.2; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--leaf), #1fa456); color: #052412; box-shadow: 0 14px 30px -12px rgba(47, 196, 107, .8); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand-deep); }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: .88rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit;
  transition: background .2s, transform .2s;
}
.icon-btn:hover { background: rgba(127, 127, 127, .16); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.link-arrow .ic { transition: transform .25s var(--ease); }
a:hover > .link-arrow .ic, .link-arrow:hover .ic { transform: translateX(4px); }
.link-ghost { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--muted); padding: 6px 10px; border-radius: 999px; }
.link-ghost:hover { background: var(--paper-2); color: var(--ink); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--c, var(--accent));
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  background: var(--card); border: 1.5px solid var(--line); color: var(--ink-soft); transition: all .2s;
}
.pill:hover { border-color: var(--c, var(--ink)); color: var(--ink); }
.pill.is-on { background: var(--c, var(--ink)); border-color: var(--c, var(--ink)); color: #fff; }

/* ---------- Header ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--brand), var(--leaf)); }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: #fff;
  transition: background .35s, box-shadow .35s, height .35s, transform .35s var(--ease);
}
.site-header.is-stuck { background: rgba(14, 26, 43, .86); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); --header-h: 64px; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-row { display: flex; align-items: center; gap: 22px; height: 100%; }
.brand img { height: 30px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  color: rgba(255, 255, 255, .86); transition: color .2s, background .2s;
}
.nav > ul > li > a:hover, .nav > ul > li > a.is-active { color: #fff; background: rgba(255, 255, 255, .13); }
.sub {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 340px; padding: 10px; border-radius: var(--radius);
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transform: translate(-50%, 8px); transition: opacity .25s var(--ease) .18s, transform .25s var(--ease) .18s, visibility 0s linear .43s; z-index: 5;
}
.has-sub::after { content: ""; position: absolute; left: -30px; right: -30px; top: 100%; height: 22px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.sub a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; transition: background .2s; }
.sub a:hover { background: var(--paper); }
.sub-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); flex: none; }
.sub strong { display: block; font-size: .95rem; line-height: 1.3; }
.sub small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.header-tools { display: flex; align-items: center; gap: 4px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: .74rem; font-weight: 800; letter-spacing: .06em; margin-right: 4px; transition: background .2s; }
.lang-switch:hover { background: rgba(255, 255, 255, .2); }
.lang-switch span { padding: 5px 9px; border-radius: 999px; color: rgba(255, 255, 255, .7); }
.lang-switch span.is-on { background: #fff; color: var(--ink); }
.nav-toggle { display: none; }
.nav-foot { display: none; }
.burger { position: relative; display: block; width: 22px; height: 16px; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease), width .35s var(--ease); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 7px; width: 70%; left: auto; }
.burger i:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.search-overlay {
  position: fixed; inset: 0; z-index: 150; background: rgba(14, 26, 43, .94); backdrop-filter: blur(12px);
  display: grid; place-items: start center; padding: 22vh var(--gutter) 0; color: #fff; animation: fade .25s;
}
.search-overlay form { display: flex; align-items: center; gap: 14px; width: min(760px, 100%); border-bottom: 2px solid rgba(255, 255, 255, .3); padding-bottom: 12px; }
.search-overlay input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: 500 clamp(1.3rem, 4vw, 2.2rem) var(--display); }
.search-overlay input::placeholder { color: rgba(255, 255, 255, .45); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 60svh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 16px) 0 0; }
.hero-bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; z-index: -3; will-change: transform; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { scale: 1.16; } to { scale: 1; } }
.hero-shade { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(120% 80% at 15% 40%, rgba(14, 26, 43, .86), rgba(14, 26, 43, .25) 60%),
  linear-gradient(180deg, rgba(14, 26, 43, .7) 0%, rgba(14, 26, 43, .1) 35%, rgba(14, 26, 43, .92) 100%); }
.hero-vine { position: absolute; z-index: -1; width: clamp(120px, 16vw, 230px); color: var(--leaf); opacity: .34; will-change: transform; }
.hero-vine-l { left: -30px; top: 16%; }
.hero-vine-r { right: -20px; top: 34%; transform: scaleX(-1); color: #9fe3bb; opacity: .22; }
.hero-inner { padding-block: 20px 84px; }
.hero-kicker { color: #c8f5d9; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(8px); animation: rise .9s var(--ease) both; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(47, 196, 107, .7); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(47, 196, 107, 0); } }
.hero-title { max-width: 16ch; margin-bottom: 18px; font-size: clamp(2.2rem, 5vw, 4rem); }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .w > span { display: inline-block; transform: translateY(110%); animation: wordUp .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes wordUp { to { transform: none; } }
.hero-title .w:nth-last-child(-n+2) > span { font-style: italic; color: #bff0d2; }
.hero-text { max-width: 56ch; font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .86); animation: rise 1s .5s var(--ease) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: rise 1s .65s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.hero-tiles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: -48px; color: #fff; }
.hero-tile {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 16px 18px;
  border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg);
  transition: transform .35s var(--ease), background .3s, border-color .3s; animation: rise .9s calc(.8s + var(--d)) var(--ease) both; overflow: hidden;
}
.hero-tile::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.hero-tile:hover { transform: translateY(-6px); background: var(--ink); border-color: rgba(255, 255, 255, .3); }
.hero-tile:hover::after { transform: none; }
.hero-tile-ic { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--c); color: #fff; }
.hero-tile-name { font-weight: 700; font-size: .96rem; line-height: 1.25; }
.hero-tile-n { font-size: .8rem; color: rgba(255, 255, 255, .7); }
.hero-scroll { position: absolute; right: var(--gutter); top: 50%; width: 26px; height: 44px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Inner hero ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(50px, 9vw, 110px)) 0 clamp(46px, 7vw, 86px); background: var(--ink); }
.page-hero-bg { position: absolute; inset: -20% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(14, 26, 43, .94) 0%, rgba(14, 26, 43, .7) 55%, color-mix(in srgb, var(--accent) 45%, transparent) 130%),
  linear-gradient(0deg, rgba(14, 26, 43, .7), transparent 60%); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.7rem); max-width: 22ch; animation: rise .8s var(--ease) both; }
.page-hero .kicker { color: #d7f7e3; animation: rise .8s var(--ease) both; }
.page-hero-text { max-width: 62ch; color: rgba(255, 255, 255, .82); font-size: 1.1rem; margin: 0; animation: rise .8s .12s var(--ease) both; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: rgba(255, 255, 255, .9); }
.page-hero-404 { min-height: 80svh; display: grid; align-items: center; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 120px) 0; position: relative; }
.section-tint { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 50px); }
.section-head p:last-child { color: var(--ink-soft); margin: 0; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.section-head-row h2 { margin: 0; }
.sub-title { font-size: 1.6rem; margin: clamp(40px, 6vw, 70px) 0 20px; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* About + stats */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.about-copy .btn { margin-top: 12px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s, opacity .9s var(--ease) var(--d, 0ms); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat > .ic { color: var(--brand); margin-bottom: 14px; }
.stat strong { display: block; font: 600 clamp(1.9rem, 3.4vw, 2.7rem)/1.05 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat strong small { font: 700 .95rem var(--font); color: var(--muted); letter-spacing: 0; }
.stat > span { color: var(--muted); font-size: .92rem; font-weight: 600; }
.about-stats .stat:nth-child(2) { transform: translateY(26px); }
.about-stats .stat:nth-child(2).is-in { transform: translateY(26px); }
.about-stats .stat:nth-child(4), .about-stats .stat:nth-child(4).is-in { transform: translateY(26px); }
.about-stats .stat:nth-child(even):hover { transform: translateY(20px); }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px 24px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s, opacity .9s var(--ease) var(--d, 0ms);
  transform-style: preserve-3d;
}
.cat-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--c); opacity: .08; transition: transform .6s var(--ease), opacity .4s; }
.cat-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { transform: scale(4.4); opacity: .1; }
.cat-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--c); color: #fff; margin-bottom: 20px; box-shadow: 0 14px 26px -14px var(--c); }
.cat-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.cat-card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 22px; }
.cat-meta { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.cat-meta strong { color: var(--c); font-size: 1.15rem; font-family: var(--display); }
.cat-meta .ic { margin-left: auto; color: var(--c); transition: transform .3s var(--ease); }
.cat-card:hover .cat-meta .ic { transform: translateX(6px); }

/* Featured */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.feature { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; display: block; background: var(--ink); }
.feature-lg { grid-column: span 2; grid-row: span 2; }
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover img { transform: scale(1.08); }
.feature-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 26, 43, .92), rgba(14, 26, 43, 0) 62%); }
.feature-body { position: absolute; inset: auto 0 0 0; padding: 20px; display: grid; gap: 8px; justify-items: start; }
.feature-body strong { font: 600 1.2rem/1.2 var(--display); }
.feature-lg .feature-body strong { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.feature-text { font-size: .95rem; color: rgba(255, 255, 255, .8); max-width: 46ch; }

/* ---------- Map ---------- */
.map { width: 100%; height: 520px; border-radius: var(--radius); overflow: hidden; background: #dfe7ea; z-index: 0; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-lg { height: min(74vh, 720px); }
.map-sm { height: 260px; margin: 18px 0 14px; box-shadow: none; }
.map-shell { display: grid; gap: 16px; }
.map-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.map-hint { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin: 10px 4px 0; }
.leaflet-container { font-family: var(--font); }
.pin { position: relative; width: 34px; height: 44px; filter: drop-shadow(0 6px 6px rgba(14, 26, 43, .35)); transition: transform .25s var(--ease); transform-origin: 50% 100%; }
.pin:hover, .pin.is-active { transform: scale(1.22); z-index: 5; }
.pin svg.pin-shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin-img { width: 38px; height: 42px; filter: drop-shadow(0 4px 5px rgba(14, 26, 43, .5)); }
.pin-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pin .ic { position: absolute; left: 50%; top: 9px; transform: translateX(-50%); color: #fff; }
.marker-cluster { background: none; }
.cluster { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c, var(--ink)); color: #fff; font-weight: 800; font-size: .92rem; box-shadow: 0 0 0 6px color-mix(in srgb, var(--c, var(--ink)) 28%, transparent), 0 8px 18px rgba(14, 26, 43, .35); }
.leaflet-popup-content-wrapper { border-radius: 16px; padding: 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.leaflet-popup-content { margin: 0; width: 270px !important; }
.pop img { width: 100%; height: 150px; object-fit: cover; }
.pop-body { padding: 14px 16px 16px; }
.pop-body small { display: block; color: var(--muted); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.pop-body strong { display: block; font: 600 1.08rem/1.25 var(--display); color: var(--ink); }
.pop-body em { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.pop-actions { display: flex; gap: 8px; margin-top: 12px; }
.pop-actions a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 10px; border-radius: 999px; font-weight: 700; font-size: .84rem; background: var(--ink); color: #fff !important; }
.pop-actions a + a { background: var(--paper-2); color: var(--ink) !important; }
.leaflet-container a.leaflet-popup-close-button { top: 8px; right: 8px; width: 28px; height: 28px; line-height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 20px; }
.leaflet-control-layers, .leaflet-bar { border: 0 !important; box-shadow: var(--shadow) !important; border-radius: 12px !important; overflow: hidden; }

/* Modern dropdown */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 10px; min-width: 220px; max-width: 280px; padding: 10px 42px 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; color: var(--ink); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .2s, box-shadow .2s, background .2s; position: relative; }
.dd-btn::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease), margin .25s; }
.dd-btn[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); background: #fff; }
.dd-btn[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
.dd-btn.is-set { background: var(--accent); border-color: var(--accent); color: #fff; }
.dd-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; width: min(320px, 86vw); padding: 10px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: ddIn .22s var(--ease); }
@keyframes ddIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.dd-search { width: 100%; padding: 11px 14px; border: 0; border-radius: var(--radius-sm); background: var(--paper); font: inherit; color: var(--ink); outline: 0; margin-bottom: 8px; }
.dd-search:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.dd-list { max-height: 320px; overflow-y: auto; display: grid; gap: 2px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; overscroll-behavior: contain; }
.dd-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .95rem; line-height: 1.3; outline: 0; transition: background .15s; }
.dd-list li:hover, .dd-list li:focus { background: var(--paper); }
.dd-list li em { font-style: normal; font-size: .76rem; font-weight: 800; min-width: 28px; text-align: center; padding: 3px 8px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.dd-list li[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.dd-list li[aria-selected="true"] em { background: var(--accent); color: #fff; }

/* ---------- Bands (parallax) ---------- */
.band { position: relative; color: #fff; padding: clamp(70px, 11vw, 150px) 0; overflow: hidden; isolation: isolate; background: var(--ink); }
.band-bg { position: absolute; inset: -40% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.band-liberty { background: #4a0d11; }
.band-liberty .band-bg { background-image: radial-gradient(60% 80% at 80% 30%, rgba(255, 190, 120, .22), transparent 70%), repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 26px); }
.band-liberty::after { background: linear-gradient(110deg, #2a0609 5%, rgba(120, 18, 24, .86) 60%, rgba(164, 22, 26, .6)); }
.band-dark::after { background: linear-gradient(110deg, rgba(14, 26, 43, .96), rgba(14, 26, 43, .82)); }
.band-inner { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: center; }
.band p { color: rgba(255, 255, 255, .84); max-width: 60ch; }
.band .btn { margin-top: 14px; }
.band-figure { text-align: center; }
.band-figure strong { display: block; font: 600 clamp(5rem, 13vw, 10rem)/.9 var(--display); letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #ffb9a0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band-figure span { color: rgba(255, 255, 255, .8); font-weight: 600; }

/* Wine scroller */
.section-wine { overflow: hidden; }
.section-wine .section-head { margin-bottom: 26px; }
.scroller { display: flex; gap: 16px; overflow-x: auto; padding: 6px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 26px; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; }
.scroller::-webkit-scrollbar { display: none; }
.scroller.is-drag { cursor: grabbing; scroll-snap-type: none; }
.wine-card { position: relative; flex: 0 0 clamp(230px, 26vw, 320px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; color: #fff; background: var(--wine); user-select: none; }
.wine-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.wine-card:hover img { transform: scale(1.07); }
.wine-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(60, 8, 24, .92), transparent 55%); }
.wine-card span { position: absolute; inset: auto 18px 18px; z-index: 1; display: flex; align-items: center; gap: 8px; font: 600 1.15rem/1.2 var(--display); }

/* Link cards */
.section-links { padding-top: 0; }
.contact .links-grid { margin-top: clamp(30px, 5vw, 56px); }
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.links-grid-2 { grid-template-columns: repeat(2, 1fr); margin-top: clamp(30px, 5vw, 56px); }
.link-card { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, opacity .9s var(--ease) var(--d, 0ms); }
.link-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.link-card > .ic { color: var(--brand); margin-bottom: 16px; }
.link-card p { color: var(--ink-soft); font-size: .96rem; }
.link-card .link-arrow { margin-top: auto; }
.link-card-map { background: linear-gradient(140deg, var(--ink), var(--brand-deep)); color: #fff; border-color: transparent; }
.link-card-map p { color: rgba(255, 255, 255, .78); }
.link-card-map > .ic, .link-card-map .link-arrow { color: #9ff0c0; }

/* ---------- Category page ---------- */
.section-list { padding-top: clamp(30px, 4vw, 50px); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; }
.field-search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--muted); }
.field-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; padding: 10px 0; color: var(--ink); }
.field-select select { appearance: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 40px 10px 18px; font: inherit; font-weight: 600; color: var(--ink); max-width: 260px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%230e1a2b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.toolbar-count { margin: 0 14px 0 auto; color: var(--muted); font-size: .92rem; white-space: nowrap; }
.toolbar-count strong { color: var(--accent); font: 600 1.2rem var(--display); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 26px; align-items: start; }
.split-map { position: sticky; top: calc(var(--header-h) + 84px); order: 2; }
.split-map .map { height: calc(100svh - var(--header-h) - 150px); min-height: 420px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 901px) {
  .split-list { max-height: calc(100svh - var(--header-h) - 104px); min-height: 420px; overflow-y: auto; padding: 6px 10px 20px 6px; margin: -6px -10px 0 -6px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; align-content: start; }
  .split-list, .split-map { position: sticky; top: calc(var(--header-h) + 84px); }
}
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s, opacity .9s var(--ease); }
.card:hover, .card.is-active { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--paper)); }
.chip-cat { position: absolute; left: 12px; top: 12px; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 14px; flex: 1; }
.card-loc { display: flex; align-items: center; gap: 5px; margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.card h3 { font-size: 1.12rem; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.card h3 a:hover { color: var(--accent); }
.card-en { margin: 0; font-size: .84rem; color: var(--muted); font-style: italic; line-height: 1.4; }
.card-text { margin: 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; font-size: .9rem; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* Accordion */
.accordion { display: grid; gap: 12px; }
.acc-body > * { max-width: 100ch; }
.acc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, border-color .3s, opacity .9s var(--ease), transform .9s var(--ease); }
.acc[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.acc summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); flex: none; }
.acc-title { font: 600 1.12rem/1.3 var(--display); flex: 1; }
.acc-ref { font-size: .76rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); background: var(--paper-2); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.acc-plus { position: relative; width: 18px; height: 18px; flex: none; }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.acc-plus::after { transform: rotate(90deg); }
.acc[open] .acc-plus::after { transform: rotate(0); }
.acc-body { padding: 0 20px 22px 76px; }

/* Tourism hub */
.tour-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tour-card { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: calc(var(--radius) + 6px); overflow: hidden; color: #fff; background: var(--ink); }
.tour-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tour-card:hover img { transform: scale(1.08); }
.tour-shade { position: absolute; inset: 0; background: linear-gradient(20deg, color-mix(in srgb, var(--c) 82%, #000) 0%, rgba(14, 26, 43, .15) 70%); opacity: .92; }
.tour-body { position: absolute; inset: auto 0 0; padding: clamp(20px, 3vw, 34px); display: grid; gap: 6px; justify-items: start; }
.tour-body .cat-ic { background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); box-shadow: none; margin-bottom: 8px; }
.tour-body strong { font: 600 clamp(1.5rem, 3vw, 2.2rem)/1.1 var(--display); }
.tour-body em { font-style: normal; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(30px, 5vw, 50px); }

/* ---------- Place page ---------- */
.place { padding-top: clamp(34px, 5vw, 60px); }
.place-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(26px, 4vw, 54px); align-items: start; }
.place-side { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 30px; }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--paper-2); cursor: zoom-in; }
.gallery-item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: var(--radius); }
.gallery-one .gallery-item:first-child { aspect-ratio: auto; max-height: 640px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-one img { object-fit: contain; max-height: 640px; background: var(--ink); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14, 26, 43, .62); color: #fff; font: 600 1.6rem var(--display); }
.prose { font-size: 1.08rem; color: #1d2b3f; }
.prose p { margin-bottom: 1.15em; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.15em; list-style: revert; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font-family: var(--display); font-size: 1.2rem; }
.en-block { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 4px 20px; }
.en-block summary { cursor: pointer; padding: 14px 0; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.en-block .prose { font-size: 1rem; padding-bottom: 10px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.info-card h2 { font-size: 1.35rem; margin-bottom: 14px; }
.info-card dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 16px; margin: 0; font-size: .94rem; }
.info-card dt { color: var(--muted); font-weight: 600; }
.info-card dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.info-card dd a { color: var(--accent); }
.related { margin-top: clamp(50px, 8vw, 90px); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 14, 24, .95); display: grid; place-items: center; animation: fade .25s; }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; color: #fff; background: rgba(255, 255, 255, .12); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 14px; top: 50%; margin-top: -22px; }
.lightbox .lb-next { right: 14px; top: 50%; margin-top: -22px; }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* ---------- Profile ---------- */
.profile-intro { padding-top: 0; }
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: -46px; position: relative; z-index: 2; }
.stat-card strong { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.profile-lead { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: center; margin-top: clamp(50px, 7vw, 90px); }
.mission { margin: 0; padding: clamp(26px, 4vw, 42px); border-radius: calc(var(--radius) + 6px); color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--ink), var(--brand-deep)); box-shadow: var(--shadow-lg); }
.mission::before { content: "“"; position: absolute; right: 14px; top: -40px; font: 600 13rem/1 var(--display); color: rgba(255, 255, 255, .09); }
.mission .kicker { color: #9ff0c0; }
.mission p { font: 500 clamp(1.15rem, 1.9vw, 1.45rem)/1.45 var(--display); margin: 0; }
.profile-data { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
.data-stack { display: grid; gap: 20px; }
.data-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.data-card h2 { font-size: 1.45rem; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.data-card h2 .ic { color: var(--brand); }
.data-card h3 { font: 800 .78rem var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 28px 0 14px; }
.bars { display: grid; gap: 16px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.bar-label { grid-column: 1 / -1; display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; }
.bar { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.bars-alt .bar { grid-column: 1 / -1; }
.bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--leaf)); transition: width 1.4s var(--ease) .2s; }
.bars-alt .bar span { background: linear-gradient(90deg, var(--wine), var(--clay)); }
.bar-pct { font-size: .82rem; font-weight: 700; color: var(--muted); min-width: 52px; text-align: right; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini { padding: 16px; border-radius: var(--radius-sm); background: var(--paper); display: grid; gap: 2px; }
.mini .ic { color: var(--clay); margin-bottom: 6px; }
.mini strong { font: 600 1.4rem var(--display); }
.mini span { font-size: .84rem; color: var(--muted); line-height: 1.35; }
.dist { display: grid; gap: 10px; }
.dist li { display: flex; align-items: baseline; gap: 10px; font-weight: 600; }
.dist i { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.dist strong { font-family: var(--display); font-size: 1.1rem; color: var(--brand-deep); }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.topic { display: flex; gap: 18px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s, opacity .9s var(--ease) var(--d, 0ms); }
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.topic-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand-deep); flex: none; }
.topic h3 { font-size: 1.4rem; margin-bottom: 4px; }
.topic-fact { font-weight: 800; color: var(--clay); font-size: .9rem; margin-bottom: 8px; }
.topic p { color: var(--ink-soft); font-size: .98rem; }
.topic p:last-child { margin-bottom: 0; }
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: d; }
.dir-grid li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); font-weight: 600; font-size: .96rem; line-height: 1.35; }
.dir-grid span { font: 600 1.3rem var(--display); color: #9ff0c0; }

.topic-list { display: grid; gap: 16px; }
.topic-list .topic p { max-width: 86ch; margin-bottom: .8em; }
.plans { margin-top: 26px; padding: 26px; border-radius: var(--radius); background: var(--paper-2); }
.plans h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 14px; }
.plans ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; counter-reset: pl; }
.plans li { counter-increment: pl; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--card); font-weight: 600; }
.plans li::before { content: counter(pl); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-deep); color: #fff; font: 600 .95rem var(--display); flex: none; }
.finance { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: start; }
.budget-head, .budget li { display: grid; grid-template-columns: minmax(150px, 1.1fr) 2fr minmax(110px, .7fr); gap: 14px; align-items: center; }
.budget-head { font: 800 .72rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.budget-head span:last-child, .budget-own { text-align: right; }
.budget li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.budget li:last-child { border-bottom: 0; padding-bottom: 0; }
.budget-label { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.budget-bar { display: grid; gap: 6px; }
.budget-bar strong { font: 600 1.05rem var(--display); font-variant-numeric: tabular-nums; }
.budget-own { font-weight: 700; color: var(--brand-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.big-num { display: grid; gap: 4px; }
.big-num .ic { color: var(--brand); margin-bottom: 8px; }
.big-num strong { font: 600 clamp(2.2rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -.02em; }
.big-num span { color: var(--muted); font-weight: 600; }
.org-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: clamp(30px, 5vw, 54px); }
.org { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.org .ic { color: #9ff0c0; margin-bottom: 12px; }
.org h3 { font-size: 1.3rem; margin-bottom: 6px; }
.org p { font-size: .93rem; margin-bottom: 10px; color: rgba(255, 255, 255, .78); overflow-wrap: anywhere; }
.org strong { font-weight: 700; color: #fff; line-height: 1.5; display: block; }
.band-sub { font-size: 1.5rem; margin-bottom: 18px; }
.unit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.unit { display: flex; gap: 16px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.unit h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 4px; }
.unit p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.unit-tel { display: flex; align-items: center; gap: 7px; margin-top: 6px !important; font-weight: 700; color: var(--brand-deep) !important; }
.source { margin: 28px 0 0; font-size: .86rem; color: var(--muted); }
.note { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--paper-2); color: var(--ink-soft); font-size: .92rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, opacity .9s var(--ease) var(--d, 0ms); }
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-card-hl { grid-column: 1 / -1; background: linear-gradient(140deg, var(--ink), var(--brand-deep)); color: #fff; border-color: transparent; }
.contact-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand-deep); margin-bottom: 12px; }
.contact-card-hl .contact-ic { background: rgba(255, 255, 255, .14); color: #9ff0c0; }
.contact-label { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card-hl .contact-label, .contact-card-hl small { color: rgba(255, 255, 255, .7); }
.contact-card strong { font: 600 1.25rem/1.3 var(--display); overflow-wrap: anywhere; }
.contact-card-hl strong { font-size: clamp(2rem, 4vw, 2.8rem); }
.contact-email { font-size: 1.02rem !important; }
.contact-cards > .contact-card:nth-child(4) { grid-column: 1 / -1; }
.contact-card small { color: var(--muted); font-size: .86rem; }
.contact-map .map { height: 100%; min-height: 420px; }
.phone-row { display: flex; flex-wrap: wrap; gap: 12px; }
.phone-chip { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); transition: all .3s, opacity .9s var(--ease); }
.phone-chip:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.phone-chip .ic { color: var(--clay); }
.phone-chip span { font-size: .84rem; color: var(--muted); line-height: 1.3; }
.phone-chip strong { display: block; color: var(--ink); font-size: 1.05rem; }

/* Tourist map zoomer */
.zoomer { position: relative; height: min(76vh, 760px); border-radius: var(--radius); overflow: hidden; background: #e9e3d6; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: grab; touch-action: none; }
.zoomer.is-drag { cursor: grabbing; }
.zoomer img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; will-change: transform; }
.zoomer-tools { position: absolute; right: 14px; top: 14px; display: grid; gap: 6px; }
.zoomer-tools .icon-btn { background: #fff; box-shadow: var(--shadow); font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.search-page { display: flex; gap: 12px; margin-bottom: 34px; }
.search-page .field-search { background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .74); padding: clamp(60px, 8vw, 96px) 0 0; overflow: hidden; }
.footer-vines { position: absolute; inset: 0; opacity: .06; pointer-events: none; background: radial-gradient(circle at 12% 20%, var(--leaf) 0 120px, transparent 121px), radial-gradient(circle at 90% 85%, var(--brand) 0 200px, transparent 201px); filter: blur(60px); opacity: .22; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: clamp(26px, 4vw, 56px); }
.site-footer h2 { font: 800 .78rem var(--font); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #9ff0c0; }
.footer-about img { height: 32px; width: auto; margin-bottom: 18px; }
.footer-about p { max-width: 38ch; font-size: .96rem; }
.footer-social { display: flex; gap: 14px; font-weight: 700; }
.site-footer address { line-height: 1.9; font-size: .96rem; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: clamp(40px, 6vw, 70px); padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.heart { color: #ff4d6d; display: inline-block; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.2); } }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .2); animation: rise .4s var(--ease); }
.to-top .ic { transform: rotate(-90deg); }
.to-top:hover { background: var(--brand-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-grid; }
  .nav { position: fixed; inset: 0; z-index: -1; margin: 0; display: flex; flex-direction: column; padding: calc(var(--header-h) + 14px) var(--gutter) 26px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
    background:
      radial-gradient(70% 45% at 100% 0%, rgba(43, 143, 224, .28), transparent 70%),
      radial-gradient(70% 45% at 0% 100%, rgba(47, 196, 107, .2), transparent 70%),
      var(--ink); }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; counter-reset: nav; }
  .nav > ul > li { counter-increment: nav; border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav.is-open > ul > li { opacity: 1; transform: none; }
  .nav.is-open > ul > li:nth-child(1) { transition-delay: .06s; }
  .nav.is-open > ul > li:nth-child(2) { transition-delay: .1s; }
  .nav.is-open > ul > li:nth-child(3) { transition-delay: .14s; }
  .nav.is-open > ul > li:nth-child(4) { transition-delay: .18s; }
  .nav.is-open > ul > li:nth-child(5) { transition-delay: .22s; }
  .nav.is-open > ul > li:nth-child(6) { transition-delay: .26s; }
  .nav.is-open > ul > li:nth-child(n+7) { transition-delay: .3s; }
  .nav > ul > li > a { display: flex; align-items: baseline; gap: 14px; justify-content: flex-start; padding: 13px 2px; border-radius: 0; font: 600 1.22rem/1.2 var(--display); color: #fff; background: none !important; }
  .nav > ul > li > a::before { content: counter(nav, decimal-leading-zero); font: 800 .66rem var(--font); letter-spacing: .12em; color: rgba(255, 255, 255, .4); min-width: 20px; }
  .nav > ul > li > a::after { content: ""; margin-left: auto; align-self: center; width: 7px; height: 7px; border-top: 2px solid rgba(255, 255, 255, .35); border-right: 2px solid rgba(255, 255, 255, .35); transform: rotate(45deg); transition: transform .25s var(--ease), border-color .25s; }
  .nav > ul > li > a:active::after { transform: translateX(4px) rotate(45deg); }
  .nav > ul > li > a.is-active { color: #8ff0b7; }
  .nav > ul > li > a.is-active::before { color: #8ff0b7; }
  .nav > ul > li > a.is-active::after { border-color: #8ff0b7; }
  .nav > ul > li > a > svg { display: none; }
  .sub { position: static; width: auto; opacity: 1; visibility: visible; transform: none; background: none; color: #fff; box-shadow: none; padding: 0; margin: 0 0 14px 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-radius: 0; transition: none; }
  .sub::before { display: none; }
  .has-sub::after { display: none; }
  /* the desktop hover rule must not move the tiles inside the mobile menu */
  .has-sub:hover .sub, .has-sub:focus-within .sub { transform: none; }
  .sub a { flex-direction: row; align-items: center; gap: 10px; height: 100%; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
  .sub a:hover, .sub a:active { background: rgba(255, 255, 255, .13); }
  .sub strong { font-size: .82rem; line-height: 1.25; }
  .sub small { display: none; }
  .sub-ic { width: 32px; height: 32px; border-radius: 10px; background: var(--c); color: #fff; box-shadow: 0 10px 20px -10px var(--c); }
  .nav-foot { display: grid; gap: 12px; margin-top: auto; padding-top: 26px; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease) .32s, transform .5s var(--ease) .32s; }
  .nav.is-open .nav-foot { opacity: 1; transform: none; }
  .nav-call { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 16px; background: linear-gradient(135deg, var(--leaf), #1fa456); color: #052412; }
  .nav-call .ic { flex: none; }
  .nav-call small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
  .nav-call strong { display: block; font: 600 1.15rem/1.15 var(--display); }
  .nav-mail { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .86rem; overflow-wrap: anywhere; }
  .nav-foot p { margin: 0; color: rgba(255, 255, 255, .5); font-size: .8rem; }
  .header-tools { margin-left: auto; }
  .site-header.nav-open { background: var(--ink); transform: none; }
  .hero-tiles { grid-template-columns: repeat(3, 1fr); }
  .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-scroll { display: none; }
}
@media (max-width: 900px) {
  .about-grid, .band-inner, .profile-lead, .profile-data, .contact-grid, .place-grid, .finance { grid-template-columns: 1fr; }
  .org-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-map { position: relative; top: 0; order: 0; }
  .split-map .map { height: 56svh; min-height: 340px; }
  .place-side { position: static; }
  .cat-grid, .links-grid { grid-template-columns: repeat(2, 1fr); }
  .band-figure { text-align: left; }
  .contact-map .map { min-height: 360px; height: 360px; }
  .toolbar { border-radius: var(--radius); position: static; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--header-h) + 20px); }
  .hero-tiles { display: flex; overflow-x: auto; margin-inline: 0; padding: 0 var(--gutter) 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hero-tiles::-webkit-scrollbar { display: none; }
  .hero-tile { flex: 0 0 72%; scroll-snap-align: start; }
  .hero-vine { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cat-grid, .links-grid, .links-grid-2, .tour-grid, .topic-grid, .dir-grid, .contact-cards, .cards, .cards-grid, .mini-grid { grid-template-columns: 1fr; }
  .about-stats .stat:nth-child(even), .about-stats .stat:nth-child(even).is-in { transform: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .stat-row { grid-template-columns: 1fr 1fr; margin-top: -30px; }
  .stat-row .stat:last-child { grid-column: 1 / -1; }
  .stat { padding: 20px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .acc-body { padding-left: 20px; }
  .plans ol, .unit-grid { grid-template-columns: 1fr; }
  .budget-head { display: none; }
  .budget li { grid-template-columns: 1fr auto; }
  .budget-label { grid-column: 1 / -1; }
  .dd, .dd-btn { width: 100%; max-width: none; }
  .dd-panel { left: 0; right: 0; width: auto; }
  .field-select { width: 100%; }
  .acc-ref { display: none; }
  .tour-card { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .topic { flex-direction: column; }
  .map-lg { height: 64svh; }
  .map-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .map-filters .pill { flex: none; }
  .search-page { flex-direction: column; }
  .toolbar-count { margin-left: 14px; }
  .field-select, .field-select select { width: 100%; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .w > span { transform: none; }
}
@media print {
  .site-header, .site-footer, .to-top, .map, .hero-tiles, .scroll-progress { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}
