/* Never replace already painted text with a late font. A slow first visit keeps
   the readable fallback; a warm visit uses the preloaded local web font. */
@font-face { font-family: "DM Sans"; src: url("./fonts/dm-sans.woff2") format("woff2"); font-style: normal; font-weight: 100 1000; font-display: optional; }
@font-face { font-family: "Playfair Display"; src: url("./fonts/playfair-display-italic.woff2") format("woff2"); font-style: italic; font-weight: 400 900; font-display: optional; }

:root {
  --blue: #173f76;
  --blue-deep: #0d2c55;
  --orange: #ee6a3d;
  --yellow: #f4c655;
  --cream: #f4f0e6;
  --paper: #fffdf7;
  --ink: #17202a;
  --muted: #66717a;
  --line: rgba(23, 32, 42, 0.16);
  --radius: 22px;
  --shadow: 0 24px 70px rgba(14, 33, 57, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(1.2rem, 4vw, 4.5rem);
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 247, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(16, 34, 58, .06); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; width: max-content; }
.brand-mark { width: 36px; height: 36px; border-radius: 50% 50% 48% 48%; display: grid; place-items: center; background: var(--blue); color: white; font-weight: 700; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 1rem; letter-spacing: -.02em; }
.brand-copy span { margin-top: .28rem; color: var(--orange); font-size: .61rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; }
.desktop-nav { display: flex; align-items: center; gap: 2.2rem; }
.desktop-nav a { text-decoration: none; font-size: .82rem; font-weight: 600; position: relative; }
.desktop-nav a::after { content: ""; position: absolute; height: 2px; background: var(--orange); left: 0; right: 100%; bottom: -.5rem; transition: right .2s; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: .6rem; }
.icon-button, .menu-button { border: 1px solid var(--line); background: transparent; min-height: 42px; border-radius: 99px; cursor: pointer; }
.icon-button { width: 42px; display: grid; place-items: center; }
.icon-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.menu-button { display: none; padding: 0 1rem; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; }
.menu-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.mobile-nav { position: absolute; top: 82px; left: 0; right: 0; padding: 1.2rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; text-decoration: none; padding: .9rem; border-bottom: 1px solid var(--line); font-weight: 600; }

.hero { min-height: calc(100vh - 82px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: 1fr auto; background: var(--cream); overflow: hidden; }
.hero-copy { padding: clamp(4rem, 8vw, 8rem) clamp(1.4rem, 5vw, 6rem) 4rem; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 3; }
.eyebrow { margin: 0 0 1.2rem; color: var(--blue); font-size: .72rem; text-transform: uppercase; letter-spacing: .17em; font-weight: 700; display: flex; align-items: center; gap: .7rem; }
.eyebrow span { display: block; width: 28px; height: 2px; background: var(--orange); }
.eyebrow.light { color: rgba(255,255,255,.75); }
.hero h1, .section h2, .newsletter h2 { margin: 0; letter-spacing: -.065em; line-height: .92; font-size: clamp(4rem, 8vw, 8.6rem); font-weight: 600; color: var(--blue-deep); }
.hero h1 em, .newsletter h2 em { font-family: "Playfair Display", Georgia, serif; color: var(--orange); font-weight: 600; }
.hero-intro { max-width: 520px; margin: 2rem 0 0; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.7; color: #4c5965; }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; padding: .95rem 1.3rem; border-radius: 99px; font-size: .82rem; font-weight: 700; }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(23, 63, 118, .2); }
.button-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.text-button { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: .4rem 0; cursor: pointer; font-size: .82rem; font-weight: 700; }
.text-button span { margin-left: .5rem; }

.city-stage { position: relative; overflow: hidden; background: var(--blue); min-height: 620px; isolation: isolate; }
.city-stage::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 60px 60px; }
.city-stage::before { display: none; }
.landmark-scene { position: absolute; inset: 0; width: 100%; height: 100%; padding: 3.25rem 1rem 4.75rem; object-fit: contain; object-position: center; }
.city-stage { background: linear-gradient(145deg, #173f76, #0d2c55); }
.hero > * { min-width: 0; }
.landmark-key { position: absolute; z-index: 3; bottom: 1.3rem; inset-inline: 1rem; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .8rem; color: #f4f0e6; text-align: center; font-size: .7rem; line-height: 1.5; }
.landmark-key span { display: flex; flex-direction: column; align-items: center; }
.landmark-key small { font-size: .58rem; letter-spacing: .16em; color: #f4c655; margin-bottom: .25rem; }
.sun-disc { width: clamp(240px, 31vw, 480px); aspect-ratio: 1; border-radius: 50%; background: var(--yellow); position: absolute; right: -4%; top: 7%; box-shadow: 0 0 0 38px rgba(244,198,85,.08); }
.cloud { position: absolute; height: 12px; border-radius: 99px; background: rgba(255,255,255,.72); }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; bottom: 0; }
.cloud::before { width: 34px; height: 34px; left: 24px; }.cloud::after { width: 48px; height: 48px; left: 48px; }
.cloud-one { width: 118px; right: 9%; top: 16%; }.cloud-two { width: 86px; left: 7%; top: 25%; transform: scale(.72); }
.building { position: absolute; bottom: 96px; background: #e9e0cd; border-top: 10px solid #2b3750; box-shadow: inset 0 -35px rgba(16,35,56,.08); }
.building-left { width: 29%; height: 48%; left: 0; clip-path: polygon(0 12%, 20% 12%, 20% 4%, 50% 0, 80% 4%, 80% 12%, 100% 12%, 100% 100%, 0 100%); }
.building-right { width: 32%; height: 41%; right: 0; background: #d89468; clip-path: polygon(0 7%, 45% 0, 100% 9%, 100% 100%, 0 100%); }
.window { position: absolute; top: 34%; width: 13%; height: 22%; background: #49627f; border-radius: 40px 40px 2px 2px; border: 4px solid rgba(255,255,255,.3); }
.window.w1 { left: 15%; }.window.w2 { left: 43%; }.window.w3 { left: 71%; }
.cathedral { position: absolute; width: 43%; height: 66%; left: 30%; bottom: 96px; z-index: 2; }
.cathedral-body { position: absolute; inset: 40% 8% 0; background: #d95838; clip-path: polygon(0 14%, 50% 0, 100% 14%, 100% 100%, 0 100%); box-shadow: inset 0 -50px rgba(97,31,24,.15); }
.cathedral-body::before { content: ""; position: absolute; width: 27%; aspect-ratio: .55; left: 36.5%; bottom: 0; background: var(--blue-deep); border-radius: 60px 60px 0 0; box-shadow: -76px 24px 0 -14px #f3c878, 76px 24px 0 -14px #f3c878; }
.spire { position: absolute; bottom: 57%; background: repeating-linear-gradient(135deg,#4e8b79 0 11px,#e4b74e 11px 21px,#c95037 21px 30px); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.spire::after { content: ""; position: absolute; left: 48%; top: 0; width: 3px; height: 35px; background: var(--yellow); transform: translateY(-24px); }
.spire-left { left: 3%; width: 30%; height: 36%; }.spire-center { left: 32%; width: 36%; height: 55%; }.spire-right { right: 3%; width: 30%; height: 36%; }
.tram { position: absolute; left: 10%; right: 7%; height: 96px; bottom: 44px; background: var(--cream); z-index: 5; border: 6px solid var(--orange); border-radius: 18px 18px 8px 8px; box-shadow: 0 16px 0 -10px rgba(13,44,85,.25); }
.tram::before { content: "TM 1"; position: absolute; left: 12px; top: 12px; padding: .18rem .38rem; color: #fff; background: var(--blue); font-size: .58rem; font-weight: 700; }
.tram-line { position: absolute; left: 0; right: 0; top: 58%; height: 6px; background: var(--orange); }
.tram-window { position: absolute; top: 16px; width: 19%; height: 35px; border-radius: 3px; background: var(--blue); opacity: .9; }
.tram-window.tw1 { left: 24%; }.tram-window.tw2 { left: 47%; }.tram-window.tw3 { left: 70%; }
.tram-wheel { position: absolute; width: 25px; height: 25px; border-radius: 50%; bottom: -17px; background: #182535; border: 5px solid #79818a; }
.wheel-one { left: 19%; }.wheel-two { right: 19%; }
.stage-caption { position: absolute; z-index: 3; top: 1.8rem; left: 2rem; color: rgba(255,255,255,.75); font-size: .62rem; letter-spacing: .13em; display: flex; gap: 1.2rem; }
.hero-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; padding: 1.1rem clamp(1.4rem, 5vw, 6rem); color: white; background: var(--orange); }
.hero-note p { margin: 0; font-size: .78rem; letter-spacing: .04em; }
.note-number { opacity: .65; font-size: .68rem; }

.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.ticker-track { min-width: max-content; padding: 1rem 0; display: flex; align-items: center; gap: 2rem; animation: drift 28s linear infinite; font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; }
.ticker-track i { color: var(--orange); font-style: normal; }
@keyframes drift { to { transform: translateX(-22%); } }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.4rem, 6vw, 6.5rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3.2rem; }
.section-heading h2, .agenda h2, .route-intro h2 { font-size: clamp(3rem, 6vw, 6rem); }
.section-lead { max-width: 430px; color: var(--muted); line-height: 1.7; margin: 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.8rem; }
.filter { border: 1px solid var(--line); background: transparent; padding: .68rem 1rem; border-radius: 99px; font-size: .75rem; font-weight: 700; cursor: pointer; }
.filter:hover, .filter.is-active { color: #fff; background: var(--blue); border-color: var(--blue); }
.places-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.place-card { display: grid; grid-template-columns: 45% 55%; min-height: 350px; background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(11,36,67,.06); transition: transform .25s, box-shadow .25s; }
.place-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.place-card[hidden] { display: none; }
.place-art { position: relative; overflow: hidden; min-height: 270px; }
.place-body { padding: 2rem; display: flex; flex-direction: column; }
.card-meta { display: flex; gap: .6rem; flex-wrap: wrap; font-size: .61rem; text-transform: uppercase; letter-spacing: .13em; color: var(--blue); font-weight: 700; }
.card-meta span + span::before { content: "•"; margin-right: .6rem; color: var(--orange); }
.place-body h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.055em; margin: 1.1rem 0 .7rem; color: var(--blue-deep); }
.place-body p { color: var(--muted); line-height: 1.6; font-size: .9rem; margin: 0; }
.save-button { width: max-content; margin-top: auto; padding: .6rem 0 0; border: 0; border-bottom: 1px solid transparent; color: var(--blue); background: none; font-size: .72rem; font-weight: 700; cursor: pointer; }
.save-button:hover { border-color: var(--blue); }.save-button span { margin-right: .35rem; font-size: 1rem; }
.save-button.is-saved span { color: var(--orange); }.save-button.is-saved { color: var(--orange); }
.place-unirii .place-art { background: #efb45c; }
.place-unirii .place-art::before { display: none; }
.place-art-svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch { position: absolute; z-index: 2; width: 16%; height: 38%; bottom: 0; border-radius: 99px 99px 0 0; background: var(--blue-deep); }
.arch-1 { left: 22%; }.arch-2 { left: 42%; }.arch-3 { left: 62%; }
.place-bega .place-art { background: #b9d8d3; }
.river-line { position: absolute; left: -15%; width: 130%; height: 20%; border: 9px solid var(--blue); border-radius: 50%; border-left-color: transparent; border-right-color: transparent; }
.r1 { top: 30%; transform: rotate(-8deg); }.r2 { top: 48%; transform: rotate(6deg); opacity: .7; }.r3 { top: 65%; transform: rotate(-3deg); opacity: .45; }
.bike { position: absolute; top: 22%; left: 36%; color: var(--orange); font-weight: 700; font-size: 1.4rem; transform: rotate(-4deg); }
.place-fabric .place-art { background: #d89068; }
.place-fabric .place-art::before { content: ""; position: absolute; inset: 9% 10% 0; background: #efe2c8; clip-path: polygon(0 11%, 12% 11%, 12% 0, 88% 0, 88% 11%, 100% 11%, 100% 100%, 0 100%); }
.fabric-door { position: absolute; z-index: 2; width: 28%; height: 48%; left: 36%; bottom: 0; border-radius: 60px 60px 0 0; background: var(--blue-deep); }
.fabric-window { position: absolute; z-index: 2; width: 15%; height: 24%; top: 32%; border-radius: 40px 40px 3px 3px; background: #78958f; }
.fw1 { left: 17%; }.fw2 { left: 42%; }.fw3 { left: 68%; }
.place-roses .place-art { background: var(--blue); }
.place-roses .place-art::before { content: ""; position: absolute; inset: 22% 19% 0; border: 14px solid #dce8da; border-bottom: 0; border-radius: 50% 50% 0 0; }
.flower { position: absolute; color: var(--orange); font-size: 2rem; }.f1{left:12%;top:20%}.f2{left:62%;top:15%;font-size:3rem}.f3{left:38%;top:54%}.f4{right:6%;top:65%;font-size:1.5rem}.f5{left:8%;top:72%;font-size:1.2rem;color:var(--yellow)}
.empty-state { padding: 3rem; text-align: center; color: var(--muted); background: var(--cream); border-radius: var(--radius); }

.routes { display: grid; grid-template-columns: .75fr 1fr 1.4fr; gap: clamp(2rem, 5vw, 5rem); background: var(--blue-deep); color: white; align-items: center; }
.route-intro h2 { color: white; }.route-intro p:last-child { color: rgba(255,255,255,.67); line-height: 1.7; margin-top: 1.6rem; }
.route-selector { border-top: 1px solid rgba(255,255,255,.2); }
.route-tab { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); padding: 1.25rem .2rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; text-align: left; align-items: center; background: none; color: rgba(255,255,255,.55); cursor: pointer; }
.route-tab strong, .route-tab small { display: block; }.route-tab strong { color: inherit; margin-bottom: .35rem; }.route-tab small { font-size: .68rem; }.route-tab i { font-style: normal; font-size: 1.2rem; transform: rotate(-30deg); transition: transform .2s; }
.route-tab:hover, .route-tab.is-active { color: white; }.route-tab.is-active i { color: var(--yellow); transform: rotate(0); }.route-index { font-size: .58rem; color: var(--orange); }
.route-map { min-height: 460px; position: relative; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; background: #214b7f; }
.map-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(#fff 1px,transparent 1px),linear-gradient(90deg,#fff 1px,transparent 1px); background-size: 42px 42px; transform: rotate(-8deg) scale(1.2); }
.map-path { position: absolute; inset: 6% 3%; width: 94%; height: 88%; overflow: visible; }.map-path path { fill: none; stroke: var(--yellow); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 11 12; }
.map-stop { position: absolute; z-index: 2; display: flex; align-items: center; gap: .45rem; }
.map-stop span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-deep); background: var(--yellow); font-size: .65rem; font-weight: 700; box-shadow: 0 0 0 6px rgba(244,198,85,.15); }
.map-stop small { padding: .35rem .5rem; border-radius: 4px; background: rgba(13,44,85,.84); font-size: .58rem; }
.stop-a { left: 12%; bottom: 14%; }.stop-b { left: 43%; top: 43%; }.stop-c { right: 9%; top: 17%; }
.map-water { position: absolute; width: 140%; height: 40px; left: -20%; top: 64%; border-top: 12px solid rgba(116,202,216,.48); border-bottom: 5px solid rgba(116,202,216,.25); transform: rotate(-18deg); }

.map-explorer { background: var(--blue-deep); color: #fff; }
.map-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: clamp(2rem, 7vw, 8rem); margin-bottom: 3rem; }
.map-heading h2 { color: #fff; font-size: clamp(3.6rem, 7vw, 7.2rem); }
.map-heading h2 em { font-family: "Playfair Display", Georgia, serif; color: var(--yellow); font-weight: 600; }
.map-heading > p { max-width: 520px; margin: 0 0 .5rem; color: rgba(255,255,255,.7); line-height: 1.75; }
.map-layout { display: grid; grid-template-columns: minmax(280px, .68fr) minmax(0, 1.55fr); min-height: 680px; border: 1px solid rgba(255,255,255,.16); border-radius: 26px; overflow: hidden; background: #102f58; box-shadow: 0 36px 90px rgba(1,12,29,.3); }
.map-panel { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid rgba(255,255,255,.15); background: #102f58; }
.map-modes { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.13); }
.map-mode { min-width: 0; padding: .85rem .9rem; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; color: rgba(255,255,255,.72); background: transparent; text-align: left; cursor: pointer; font-size: .72rem; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.map-mode span { display: block; margin-top: .3rem; color: rgba(255,255,255,.42); font-size: .58rem; font-weight: 500; }
.map-mode:hover, .map-mode.is-active { color: var(--blue-deep); background: var(--yellow); border-color: var(--yellow); }
.map-mode.is-active span, .map-mode:hover span { color: rgba(13,44,85,.65); }
.map-place-list { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.map-place { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); color: white; background: transparent; cursor: pointer; text-align: left; }
.map-place:hover, .map-place.is-active { background: rgba(255,255,255,.08); }
.map-place-number { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-deep); background: var(--cream); font-size: .66rem; font-weight: 700; }
.map-place[data-category="arhitectura"] .map-place-number { background: var(--orange); color: white; }
.map-place[data-category="cultura"] .map-place-number { background: var(--yellow); }
.map-place[data-category="natura"] .map-place-number { background: #85c3a9; }
.map-place strong, .map-place small { display: block; }
.map-place strong { margin-bottom: .25rem; font-size: .78rem; }
.map-place small { color: rgba(255,255,255,.5); font-size: .61rem; text-transform: uppercase; letter-spacing: .08em; }
.map-place > i { color: var(--yellow); font-style: normal; }
.map-source { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; color: rgba(255,255,255,.63); text-decoration: none; border-top: 1px solid rgba(255,255,255,.13); font-size: .65rem; line-height: 1.4; }
.map-source:hover { color: white; }
.map-canvas-wrap { position: relative; min-width: 0; min-height: 680px; background: #dbe4df; }
.city-map { position: absolute; inset: 0; z-index: 1; background: #dbe4df; }
.map-legend { position: absolute; z-index: 500; top: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: 1rem; padding: .65rem .8rem; border-radius: 99px; color: var(--ink); background: rgba(255,253,247,.92); box-shadow: 0 6px 24px rgba(14,33,57,.14); backdrop-filter: blur(10px); font-size: .6rem; white-space: nowrap; }
.map-legend span { display: flex; align-items: center; gap: .38rem; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }.legend-dot.architecture { background: var(--orange); }.legend-dot.culture { background: #d6a92d; }.legend-dot.nature { background: #529476; }
.city-pin { width: 36px; height: 36px; display: grid; place-items: center; border: 3px solid white; border-radius: 50% 50% 50% 8px; color: var(--blue-deep); background: var(--yellow); box-shadow: 0 5px 16px rgba(12,36,65,.3); transform: rotate(-45deg); font-size: .67rem; font-weight: 800; }
.city-pin span { transform: rotate(45deg); }.city-pin.arhitectura { color: white; background: var(--orange); }.city-pin.natura { background: #85c3a9; }
.city-pin.istorie,.legend-dot.history { color:white; background:#833f50; }
.map-history-mode { grid-column:1/-1; }
.map-layout { height:780px; }
.map-place[data-category="istorie"] .map-place-number { background:#833f50; color:white; }
.expanded-map-dialog .map-layout { height:auto; }
.expanded-map-dialog .map-route-story { display:none; }
@media(max-width:700px) { .map-layout { height:auto; } }
.map-walk-label { display:block; padding:12px 16px; color:#f7f1e5; font-size:.75rem; }
.map-walk-label select { display:block; width:100%; max-width:100%; margin-top:8px; padding:10px 8px; border-radius:8px; color:#102f58; background:#fffdf7; font:inherit; }
.map-event-date { color:#f6d3bd!important; }
.map-route-story { background:#fffaf0; color:#102f58; padding:24px 28px; border-radius:0 0 16px 16px; }
.map-route-story h3 { font-size:1.5rem; margin:0 0 12px; }.map-route-story p { max-width:85ch; font-size:.9rem; line-height:1.6; }
.map-route-story summary { cursor:pointer; padding:16px 0 8px; font-weight:700; }
.route-timeline { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; list-style:none; padding:8px 0; }
.route-timeline li { border-top:3px solid #833f50; padding-top:12px; }
.route-timeline button { text-align:left; color:inherit; font:inherit; font-size:.85rem; line-height:1.6; border:0; background:transparent; cursor:pointer; padding:8px 0; }
.route-timeline button:hover { text-decoration:underline; }.route-timeline button:focus-visible { outline:3px solid #ee6a3d; outline-offset:3px; }
.popup-history { border-left:3px solid #833f50; padding-left:10px; }.popup-history strong { color:#833f50; }
.place-popup .popup-address { font-size:.75rem; }.place-popup .popup-advisory { font-size:.75rem; color:#754017; background:#fff1d5; padding:8px; }
@media(max-width:800px) { .route-timeline { grid-template-columns:1fr 1fr; }.map-route-story { padding:20px; } }
@media(max-width:450px) { .route-timeline { grid-template-columns:1fr; } }
.leaflet-div-icon { border: 0 !important; background: transparent !important; }
.leaflet-control-zoom { border: 0 !important; box-shadow: 0 5px 20px rgba(14,33,57,.16) !important; }
.leaflet-control-zoom a { color: var(--blue-deep) !important; background: var(--paper) !important; }
.leaflet-control-attribution { background: rgba(255,255,255,.78) !important; font-size: 9px !important; }
.leaflet-popup-content-wrapper { max-width: 280px; border-radius: 16px !important; color: var(--ink); background: var(--paper) !important; box-shadow: 0 18px 55px rgba(10,31,56,.24) !important; }
.leaflet-popup-content { margin: 0 !important; min-width: 230px; }
.leaflet-popup-tip { background: var(--paper) !important; }
.place-popup { padding: 1.1rem; }
.place-popup .popup-kicker { margin: 0 0 .45rem; color: var(--orange); font-size: .57rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.place-popup h3 { margin: 0 0 .55rem; color: var(--blue-deep); font-size: 1.35rem; letter-spacing: -.035em; }
.place-popup p { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.55; }
.place-popup a { display: inline-flex; gap: .35rem; margin-top: .85rem; color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--blue); font-size: .66rem; font-weight: 700; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); background: var(--cream); }

.agenda { display: grid; grid-template-columns: .45fr 1fr .35fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; background: var(--yellow); }
.agenda-date { display: flex; align-items: center; gap: 1rem; border-right: 1px solid rgba(23,32,42,.2); }
.agenda-date > span { font-size: clamp(4rem, 8vw, 8rem); letter-spacing: -.08em; color: var(--blue); font-weight: 600; line-height: .8; }
.agenda-date div { display: flex; flex-direction: column; }.agenda-date strong { color: var(--orange); text-transform: uppercase; font-size: 1rem; }.agenda-date small { max-width: 90px; margin-top: .5rem; line-height: 1.35; }
.agenda-copy p:not(.eyebrow) { color: #594e36; line-height: 1.7; max-width: 650px; }
.agenda-links { margin-top: 1.7rem; display: flex; gap: 1.4rem; flex-wrap: wrap; }
.agenda-links a { text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: .3rem; font-size: .76rem; font-weight: 700; }.agenda-links span { margin-left: .3rem; }
.agenda-stamp { width: 132px; height: 132px; display: grid; place-items: center; align-content: center; border: 2px solid var(--blue); border-radius: 50%; color: var(--blue); transform: rotate(9deg); box-shadow: inset 0 0 0 7px var(--yellow), inset 0 0 0 9px var(--blue); }
.agenda-stamp span { font-size: 2.5rem; font-weight: 700; line-height: 1; }.agenda-stamp small { font-size: .58rem; text-transform: uppercase; letter-spacing: .2em; }

.section-heading.compact { margin-bottom: 2.4rem; }.utility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.utility-card { min-height: 150px; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.utility-card:hover { color: white; background: var(--blue); transform: translateY(-3px); }.utility-card:hover small { color: rgba(255,255,255,.68); }.utility-card:hover .utility-icon { background: var(--yellow); color: var(--blue); }
.utility-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--blue); font-weight: 700; }
.utility-card strong, .utility-card small { display: block; }.utility-card strong { margin-bottom: .35rem; }.utility-card small { color: var(--muted); line-height: 1.4; }.utility-card i { font-style: normal; }

.newsletter { padding: clamp(4rem, 8vw, 8rem) clamp(1.4rem, 8vw, 9rem); display: grid; grid-template-columns: 1.15fr .85fr; gap: 5rem; align-items: end; color: white; background: var(--orange); }
.newsletter h2 { color: white; font-size: clamp(3.3rem, 7vw, 7rem); }.newsletter h2 em { color: var(--yellow); }
.newsletter-form label { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.input-row { margin-top: 1rem; display: grid; grid-template-columns: 1fr auto; border-bottom: 2px solid rgba(255,255,255,.75); }
.input-row input { min-width: 0; padding: 1rem 0; color: white; background: none; border: 0; outline: 0; font-size: 1.3rem; }.input-row input::placeholder { color: rgba(255,255,255,.5); }
.input-row button { width: 52px; border: 0; color: white; background: none; cursor: pointer; font-size: 1.8rem; }
.form-note { font-size: .67rem; opacity: .68; line-height: 1.5; }
.visit-next{display:grid;gap:16px;max-width:480px}.visit-next p{margin:0;font-size:1.1rem;line-height:1.6}.visit-next a{color:inherit;text-underline-offset:5px;font-weight:700;min-height:44px;display:flex;align-items:center}.visit-next a:focus-visible{outline:3px solid #efb93b;outline-offset:4px}.visit-next small{font-size:.8rem;line-height:1.6;opacity:.85}
.newsletter,.newsletter .eyebrow.light{color:var(--ink)}
.newsletter h2,.newsletter h2 em{color:var(--blue-deep)}
.visit-next small{opacity:1}.visit-next a:focus-visible{outline-color:var(--blue-deep)}
.footer-brand .brand-copy{display:flex}

.site-footer { padding: 3rem clamp(1.4rem, 6vw, 6.5rem); display: grid; grid-template-columns: 1fr 1fr auto; gap: 2.5rem; align-items: start; color: rgba(255,255,255,.68); background: #101a25; font-size: .75rem; }
.footer-brand .brand-mark { background: var(--yellow); color: var(--blue-deep); }.footer-brand .brand-copy strong { color: white; }.site-footer p { margin: 0; line-height: 1.7; }.footer-links { display: flex; gap: 1.2rem; }.footer-links a { color: white; text-decoration: none; }.copyright { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); }

.search-dialog { width: min(700px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: var(--radius); color: var(--ink); background: var(--paper); box-shadow: 0 28px 100px rgba(6,20,40,.32); }
.search-dialog::backdrop { background: rgba(7,22,39,.7); backdrop-filter: blur(5px); }
.search-shell { padding: 1.6rem; }.search-top { display: flex; align-items: center; justify-content: space-between; }.search-top label { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--blue); }
.dialog-close { border: 0; background: none; cursor: pointer; font-size: 1.8rem; }.search-input-wrap { margin-top: 1.3rem; display: flex; align-items: center; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; }
.search-input-wrap svg { width: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; }.search-input-wrap input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 1.1rem; }
.search-results { padding-top: 1rem; }.search-results p { color: var(--muted); font-size: .83rem; }.search-result { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: .85rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; }.search-result strong { color: var(--blue); }.search-result small { color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 80; transform: translate(-50%, 120px); padding: .85rem 1.15rem; color: white; background: var(--blue-deep); border-radius: 99px; box-shadow: var(--shadow); opacity: 0; transition: transform .25s, opacity .25s; font-size: .76rem; }.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr 1fr; }.hero h1 { font-size: clamp(4rem, 9vw, 6.5rem); }.places-grid { grid-template-columns: 1fr; }.place-card { grid-template-columns: 40% 60%; }.routes { grid-template-columns: 1fr 1fr; }.route-map { grid-column: 1 / -1; min-height: 380px; }.map-heading { grid-template-columns: 1fr; gap: 1.4rem; }.map-layout { grid-template-columns: minmax(260px, .6fr) 1.4fr; }.agenda { grid-template-columns: .5fr 1fr; }.agenda-stamp { display: none; }.utility-grid { grid-template-columns: 1fr; }.utility-card { min-height: 110px; }.newsletter { grid-template-columns: 1fr; gap: 3rem; }.site-footer { grid-template-columns: 1fr 1fr; }.footer-links { grid-column: 1 / -1; }
}

@media (max-width: 740px) {
  .landmark-scene { object-fit: contain; }
  .site-header { grid-template-columns: 1fr auto; height: 70px; padding-inline: 1rem; }.desktop-nav { display: none; }.menu-button { display: flex; }.mobile-nav { top: 70px; }.hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; }.hero-copy { padding: 4rem 1.3rem 3rem; }.hero h1 { font-size: clamp(3.7rem, 18vw, 5.8rem); }.hero-intro { font-size: 1rem; }.city-stage { min-height: 0; aspect-ratio: .76; }.hero-note { padding-inline: 1.3rem; }.section { padding: 5rem 1.2rem; }.section-heading { align-items: start; flex-direction: column; gap: 1.5rem; }.section-heading h2, .agenda h2, .route-intro h2 { font-size: 3.4rem; }.place-card { grid-template-columns: 1fr; }.place-art { min-height: 250px; }.place-body { min-height: 285px; }.routes { grid-template-columns: 1fr; }.route-map { grid-column: auto; min-height: 370px; }.map-heading h2 { font-size: 3.9rem; }.map-layout { grid-template-columns: 1fr; }.map-panel { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }.map-place-list { max-height: 330px; }.map-canvas-wrap { min-height: 520px; }.map-legend { top: .75rem; gap: .6rem; }.agenda { grid-template-columns: 1fr; }.agenda-date { border-right: 0; border-bottom: 1px solid rgba(23,32,42,.2); padding-bottom: 2rem; }.agenda-date > span { font-size: 6rem; }.newsletter { padding-inline: 1.2rem; }.site-footer { grid-template-columns: 1fr; }.footer-links { grid-column: auto; flex-wrap: wrap; }.copyright { grid-column: auto; }.ticker-track { animation-duration: 18s; }
}

@media (max-width: 430px) {
  .brand-copy { display: none; }.hero-actions { align-items: flex-start; flex-direction: column; }.place-body { padding: 1.5rem; }.stage-caption { left: 1rem; }.tram { left: 5%; right: 5%; }.agenda-links { flex-direction: column; align-items: flex-start; }.utility-card { grid-template-columns: auto 1fr; }.utility-card > i { display: none; }
}
