/* Figma Feedback 1, homepage 221:117. Existing geographic map is retained. */
html{scroll-behavior:smooth}
header{background:var(--paper);box-shadow:none;gap:calc(32 * var(--u))}
header .desktop-navigation{position:static;display:flex;align-items:center;gap:calc(32 * var(--u));margin-left:auto;padding:0;min-width:0;max-width:none;background:none;border-radius:0;box-shadow:none;font-size:max(12px,calc(16 * var(--u)));font-weight:500;line-height:1;white-space:nowrap}
.desktop-navigation>a[aria-current]{font-weight:600;text-decoration:underline;text-underline-offset:3px}
.desktop-navigation>a:hover,.header-dropdown summary:hover{text-decoration:underline;text-underline-offset:3px}
.nav-divider{width:1px;height:calc(16 * var(--u));background:#1e466433}
header .header-actions{gap:calc(32 * var(--u))}
.header-dropdown{position:relative;font-size:max(12px,calc(16 * var(--u)));font-weight:500;line-height:1;white-space:nowrap}
.header-dropdown summary{display:flex;align-items:center;gap:calc(8 * var(--u));min-height:calc(44 * var(--u));cursor:pointer;list-style:none}
.header-dropdown summary::-webkit-details-marker{display:none}
.header-dropdown summary>img{width:calc(24 * var(--u));height:calc(24 * var(--u))}
.dropdown-options{position:absolute;top:calc(100% + 8px);right:0;display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:240px;padding:12px;border-radius:12px;background:white;box-shadow:var(--shadow-lg);z-index:800}
.dropdown-options>a,.dropdown-options>button{display:block;text-align:left;padding:12px;border-radius:6px;font-size:14px;font-weight:500;line-height:1.4;white-space:normal}
.dropdown-options>a:hover,.dropdown-options>button:not(:disabled):hover{background:#1e46640d}
.dropdown-options>button:disabled{opacity:.55}
header .languages{width:160px;height:auto;text-transform:none;gap:4px}
header .languages button,header .languages #ro,header .languages #en{width:100%;min-height:44px;font-size:14px;font-weight:500}
summary:focus-visible{outline:3px solid #e1960f;outline-offset:4px;border-radius:4px}
header .menu{display:none}
.welcome-banner{position:relative;height:calc(540 * var(--u));overflow:hidden;background:var(--paper);color:white}
.welcome-panorama{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
.welcome-panorama{-webkit-mask:url('assets/hero-figma-mask.svg') center/100% 100% no-repeat;mask:url('assets/hero-figma-mask.svg') center/100% 100% no-repeat;mask-mode:alpha}
.welcome-content{position:relative;height:100%;display:flex;flex-direction:column;gap:calc(32 * var(--u));padding:calc(80 * var(--u));filter:drop-shadow(0 4px 6px #0000000d) drop-shadow(0 10px 15px #0000001a)}
.welcome-copy{flex:1;display:flex;flex-direction:column;justify-content:center;gap:calc(16 * var(--u));width:calc(724 * var(--u));max-width:100%}
.welcome-copy h1{font-size:calc(80 * var(--u));line-height:1}
.welcome-copy p{font-size:calc(24 * var(--u));line-height:1.5}
.explore-map{display:flex;flex-direction:column;align-items:center;align-self:stretch;gap:calc(16 * var(--u));font-size:max(12px,calc(16 * var(--u)));font-weight:600;line-height:1}
.explore-map-circle{display:grid;place-items:center;width:calc(40 * var(--u));height:calc(40 * var(--u));border-radius:50%;background:white}
.explore-map-circle img{width:calc(20 * var(--u));height:calc(20 * var(--u));transform:rotate(90deg)}
.explore-map:hover .explore-map-circle{background:var(--paper)}
.home-page .hero{height:calc(986 * var(--u))}
.home-page .explorer{top:calc(72 * var(--u))}
.home-page .intro h2{height:calc(124 * var(--u));font-size:calc(56 * var(--u));line-height:1.1}
.support-background{inset:0;width:100%;height:100%;object-fit:cover}
@media(min-width:1101px){.home-page .hero::before{background-position:left bottom;-webkit-mask-image:linear-gradient(to right,#000 68%,transparent 100%),linear-gradient(to bottom,#000 78%,transparent 100%);mask-image:linear-gradient(to right,#000 68%,transparent 100%),linear-gradient(to bottom,#000 78%,transparent 100%);-webkit-mask-composite:source-in;mask-composite:intersect}.home-page .point-area{top:calc(153.402 * var(--u))}.footer-main{display:grid;grid-template-columns:calc(240 * var(--u)) calc(128 * var(--u)) calc(223 * var(--u)) calc(240 * var(--u));justify-content:space-between}}
@media(max-width:1100px){
 header{gap:24px}header .desktop-navigation{display:none}header .header-actions{gap:24px}header .menu{display:inline-flex}
 .header-dropdown{font-size:16px}.header-dropdown summary{min-height:44px;gap:8px}.header-dropdown summary>img{width:24px;height:24px}
 .welcome-banner{height:450px}.welcome-content{padding:56px 24px 64px;gap:24px}.welcome-copy{width:724px;gap:16px}.welcome-copy h1{font-size:64px}.welcome-copy p{font-size:22px}
 .welcome-panorama{width:100%;height:100%;top:0;object-fit:cover;object-position:center}
 .explore-map{gap:16px;font-size:16px}.explore-map-circle{width:40px;height:40px}.explore-map-circle img{width:20px;height:20px}
 .home-page .hero{height:auto}.home-page .explorer{top:auto}.home-page .intro h2{height:auto;font-size:56px;line-height:1.1}
 .support-background{inset:0;width:100%;height:100%;object-fit:cover}
}
@media(max-width:740px){
 header{gap:12px}header .header-actions{gap:12px}.header-dropdown summary{font-size:13px;gap:4px}.header-dropdown summary>img{width:18px;height:18px}
 .welcome-banner{height:420px}.welcome-content{padding:40px 24px 56px;gap:24px}.welcome-copy{gap:16px}.welcome-copy h1{font-size:48px;max-width:320px;line-height:1.05}.welcome-copy p{font-size:16px}.welcome-panorama{height:110%;top:-10%;object-position:42% center}
 .home-page .intro h2{font-size:40px}.language-dropdown .dropdown-options{right:-48px}
}

/* Updated Figma panorama 221:14032, shared by catalog introductions. */
.catalog-panorama img{top:-42.75%}

.about-dropdown .dropdown-options{min-width:0;width:max-content;padding:6px;gap:0;border-radius:10px;left:50%;right:auto;transform:translateX(-50%)}
.about-dropdown .dropdown-options>a{padding:10px 14px;white-space:nowrap;font-size:inherit;line-height:1.4}
/* Invisible bridge keeps the hover target continuous across the visual gap. */
.about-dropdown .dropdown-options::before{content:'';position:absolute;left:0;right:0;top:-10px;height:10px}
.about-dropdown>summary{cursor:default}

/* Centered hero, Figma 311:9887. */
.welcome-banner{height:calc(720 * var(--u))}
.welcome-artwork{position:absolute;inset:0;overflow:hidden;-webkit-mask:url('assets/hero-centered-mask.svg') center/100% 100% no-repeat;mask:url('assets/hero-centered-mask.svg') center/100% 100% no-repeat;mask-mode:alpha}
.welcome-artwork>img{position:absolute;left:-6.25%;top:0;width:112.5%;height:100%;object-fit:cover;object-position:center;-webkit-mask:none;mask:none;pointer-events:none}
.welcome-artwork::after{content:'';position:absolute;inset:0;background:#0003;mix-blend-mode:darken;pointer-events:none}
.welcome-content{align-items:center;padding:calc(80 * var(--u)) 0;gap:0;filter:drop-shadow(0 25px 50px #0004)}
.welcome-copy{align-items:center;justify-content:center;text-align:center;width:100%;max-width:none;padding:0 calc(80 * var(--u));gap:calc(24 * var(--u))}
.welcome-copy h1{font-size:calc(96 * var(--u));line-height:1;width:100%;max-width:none}
.welcome-copy p{font-size:calc(20 * var(--u));font-weight:500;line-height:1.5;width:100%}
.settlement-label{pointer-events:none!important;background:none;border:0}
.settlement-label span{position:absolute;display:block;transform:translate(-50%,-100%) translateY(-3px);white-space:nowrap;font:600 clamp(12px,.95vw,16px)/1.2 Montserrat,sans-serif;color:var(--ink);-webkit-text-stroke:3px var(--paper);paint-order:stroke fill}
.settlement-capital span{font-family:Discover,sans-serif;font-weight:400;font-size:24px;text-transform:uppercase;-webkit-text-stroke:4px var(--paper)}
@media(max-width:740px){.settlement-label span{font-size:11px}.settlement-capital span{font-size:18px}}
@media(max-width:1100px){
 .welcome-banner{height:580px}.welcome-content{padding:64px 0}.welcome-copy{padding:0 40px;gap:24px}.welcome-copy h1{font-size:76px}.welcome-copy p{font-size:20px}
}
@media(max-width:740px){
 .welcome-banner{height:520px}.welcome-content{padding:48px 0}.welcome-copy{padding:0 24px;gap:20px}.welcome-copy h1{font-size:56px}.welcome-copy p{font-size:17px;max-width:360px}.welcome-artwork>img{left:0;width:100%;object-position:42% center}
}

/* One continuous illustration underneath the interactive vector map. */
.home-page .hero{background:#F5F2EB;isolation:isolate}
.home-page #map{background:transparent}
.home-page .hero::before{content:'';display:block;position:absolute;inset:0;width:100%;z-index:0;pointer-events:none;background:url('assets/map-section-background.jpg') center/100% 100% no-repeat;mix-blend-mode:darken;-webkit-mask-image:linear-gradient(to right,#000 18%,rgba(0,0,0,.12) 38%,rgba(0,0,0,.12) 85%,transparent);mask-image:linear-gradient(to right,#000 18%,rgba(0,0,0,.12) 38%,rgba(0,0,0,.12) 85%,transparent);-webkit-mask-composite:source-in;mask-composite:intersect}

.home-page .map-viewport{z-index:1}

/* Figma 319:11898: colored outline, white pin and raised shadow. */
.map-pin{border:4px solid var(--pin-color,#e1960f);box-sizing:content-box;left:calc(10.76955 * var(--u) - 4px);top:calc(10.76955 * var(--u) - 4px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}
.map-pin::before{background:#fff}

/* Fixed 48px marker footprint; scale the complete pin proportionally. */
.geo-marker .map-pin{--u:1px;width:52px;height:52px;left:-6px;top:-6px;transform:rotate(-135deg) scale(.56568542);transform-origin:center}


/* Desktop map occupies one complete viewport. */
@media(min-width:1101px){.home-page .hero{height:100vh;height:100dvh;min-height:0}}

@media(min-width:1101px){.home-page .explorer{top:50%;transform:translateY(-50%)}}

/* Preserve the Figma teardrop and keep the pictogram upright. */
.geo-marker .map-pin{--u:1px;width:48px;height:48px;box-sizing:border-box;left:10px;top:10px;border:3px solid var(--pin-color);border-radius:0 100% 100% 100%;background:#fff;transform:rotate(-135deg);transform-origin:center;box-shadow:0 5px 10px -3px #0004}
.geo-marker .map-pin::before{display:none}
.geo-marker .map-pin img{position:relative;width:38px;height:38px;max-width:38px;object-fit:contain;transform:rotate(135deg)}

.language-dropdown .languages.dropdown-options{min-width:0;width:max-content;height:auto;padding:6px;gap:0;border-radius:10px;left:50%;right:auto;transform:translateX(-50%)}
header .language-dropdown .languages button,header .language-dropdown .languages #ro,header .language-dropdown .languages #en{width:100%;min-height:0;padding:10px 14px;white-space:nowrap;font-size:inherit;line-height:1.4}
.language-dropdown .dropdown-options::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.language-dropdown>summary{cursor:default}

.ticket-details-link{color:var(--ink);font:inherit;text-decoration:underline;text-underline-offset:3px}

.ticket-details-pending{color:var(--ink)!important;text-decoration:underline;text-underline-offset:3px}

/* Shared footer content and exact partner assets from Figma 221:3219. */
.footer-main{height:auto;min-height:calc(266 * var(--u))}
.footer-main>div:nth-child(3){width:calc(300 * var(--u));max-width:100%}
.footer-main>div:nth-child(3)>a,.footer-main>div:nth-child(3)>p{height:auto;min-height:calc(20 * var(--u));line-height:1.5;white-space:normal;align-items:flex-start}
.footer-main>div:nth-child(3)>h3{max-width:calc(300 * var(--u));line-height:1.3}
.footer-main .social .footer-social-link{display:grid;place-items:center;width:calc(48 * var(--u));height:calc(48 * var(--u));margin:0;padding:0;border-radius:50%;flex:none}
.footer-main .social .footer-social-link:first-child{border:calc(1 * var(--u)) solid var(--ink)}
.footer-main .social .footer-social-link:first-child img{width:calc(20.005 * var(--u));height:calc(20 * var(--u))}
.footer-social-link:hover,.footer-social-link:focus-visible{background:#1e466410}
.support-logos{gap:calc(48 * var(--u));height:auto;min-height:calc(64 * var(--u))}
.support-logos .partner-ont{position:relative;width:calc(80.145 * var(--u));height:calc(64 * var(--u));overflow:hidden;flex:none}
.partner-ont img{position:absolute;left:-37.13%;top:-50.26%;width:163.61%;height:204.89%;max-width:none}
.support-logos .partner-government{width:calc(55.268 * var(--u));height:calc(64 * var(--u));flex:none}
.support-logos .partner-eu{width:calc(96 * var(--u));height:calc(64 * var(--u));object-fit:cover;flex:none}
@media(min-width:1101px){.footer-main{grid-template-columns:calc(240 * var(--u)) calc(160 * var(--u)) calc(300 * var(--u)) calc(240 * var(--u))}}
@media(max-width:1100px){.support-logos{gap:24px}.support-logos>span:first-child{flex-basis:100%}.footer-main>div:nth-child(3)>h3{max-width:300px}}

.centre-detail-page .detail-contacts{grid-template-columns:1fr}
.centre-contact-address{font-size:14px;line-height:1.5;margin:0 0 12px;white-space:normal}

/* Contact rows share one type scale and consistent spacing. */
.centre-detail-page .detail-contacts{grid-template-columns:1fr;gap:calc(8 * var(--u));line-height:1.5}
.centre-detail-page .detail-contacts>div{display:contents}
.centre-detail-page .detail-contacts a,.centre-detail-page .centre-contact-address{font:inherit;line-height:1.5;margin:0;padding:calc(8 * var(--u)) 0;border-bottom:1px solid #2f414c66;white-space:normal;overflow-wrap:anywhere}
.menu-about{width:100%}
.menu-about summary{cursor:pointer;display:list-item;font:400 calc(32 * var(--u))/1.2 Discover,sans-serif;color:var(--ink)}
.menu-about>div{display:flex;flex-direction:column;gap:16px;padding:20px 0 0 20px}
.menu-about a{font:400 calc(26 * var(--u))/1.2 Discover,sans-serif;color:var(--ink)}
.menu-links a[aria-current="page"]{color:var(--green)}
@media(max-width:740px){.menu-about summary{font-size:27px}.menu-about a{font-size:24px}}

.menu-sheet{background:var(--paper)}
.menu-body{padding-bottom:0}
@media(max-width:1100px){.menu-body{padding-bottom:0}}

.menu-links{align-items:center;justify-content:center;padding-left:0;text-align:center}
.menu-links>a,.menu-links>button{text-align:center}
@media(max-width:1100px){.menu-links{padding-left:0}}

/* Geographic map and its regional context share the requested paper color. */
.home-page .hero,.home-page #map{background-color:#FAF5EF}
.settlement-label span{color:#fff;-webkit-text-stroke:0;text-shadow:0 1px 2px #18331799}
.settlement-capital span{-webkit-text-stroke:0}
.region-label{pointer-events:none!important;background:none;border:0}
.region-label span{display:block;position:absolute;transform:translate(-50%,-50%);white-space:nowrap;font:600 12px/1.3 Montserrat,sans-serif;color:#64725e;text-shadow:0 1px 1px #FAF5EF}
#map .leaflet-control-attribution{background:#FAF5EFdd;color:#64725e;font-size:9px}
#map .leaflet-control-attribution a{color:#52634e}

/* Keep white place names legible on both the map and its light edge. */
.settlement-label span{font-size:clamp(14px,.95vw,18px);font-weight:600;color:#fff;-webkit-text-stroke:2.5px #294d25;paint-order:stroke fill;text-shadow:none}
.settlement-capital span{font-size:26px;font-weight:400;-webkit-text-stroke:3px #294d25}
.cluster-marker{background:#1E4664;border:3px solid #fff;color:#fff;box-shadow:0 3px 8px #0004;font-size:16px;font-weight:600}
@media(max-width:740px){.settlement-label span{font-size:12px}.settlement-capital span{font-size:21px}}

/* Keep the map section plain, and tie each name to its own geographic dot. */
.home-page .hero::before,.home-page .hero::after{display:none;background:none;content:none}
.home-page .hero,.home-page #map{background:#FAF5EF}
.home-page .map-viewport{mask-image:none;-webkit-mask-image:none}
.settlement-label span{transform:none}
.settlement-label.label-above span{transform:translate(-50%,-100%)}
.settlement-label.label-start span{transform:translate(0,-50%)}
.settlement-label.label-end span{transform:translate(-100%,-50%)}

/* Match the masked hero edge to the map section background. */
.home-page .welcome-banner{background:#FAF5EF}

/* Compact names centered on their white settlement dots. */
.settlement-label span{font-size:13px;font-weight:500;-webkit-text-stroke:2px #294d25}
.settlement-capital span{font-size:22px}
.settlement-label.label-below span{transform:translate(-50%,0)}
@media(max-width:740px){.settlement-label span{font-size:12px}.settlement-capital span{font-size:19px}}

.settlement-capital span{font-weight:400}

/* Separate the explorer panel from the map by a fixed 40px. */
@media(min-width:1101px){.home-page .map-viewport{left:calc(568 * var(--u) + 40px)}}
.map-controls{height:auto}
.map-controls #reset-map{order:3;margin-top:0}
.map-controls #reset-map img{width:24px;height:24px;max-width:none}

/* Fixed checkbox-to-icon spacing, preserving icon-to-text spacing. */
#category-list .category>img{margin-left:calc(16px - 24 * var(--u))}
@media(max-width:740px){#category-list .category>img{margin-left:0}}

/* Keep the reset icon inside its button at scaled desktop widths. */
.map-controls #reset-map{width:40px;height:40px;min-height:40px;padding:8px;flex:none;border-radius:10px;align-self:center}

/* Match the reset control to the existing scaled map buttons. */
.map-controls #reset-map{width:calc(40 * var(--u));height:calc(40 * var(--u));min-height:0;padding:calc(8 * var(--u));border-radius:calc(10 * var(--u));align-self:auto}
.map-controls #reset-map img{width:calc(24 * var(--u));height:calc(24 * var(--u))}
/* Keyboard focus on pins, clusters and landmarks must stay visible (mouse clicks do not show it). */
#map .leaflet-marker-icon:focus{outline:none}
#map .leaflet-marker-icon:focus-visible,#map .geo-marker:focus-visible,#map .cluster-marker:focus-visible,#map .landmark-marker:focus-visible{outline:3px solid #e1960f;outline-offset:3px;border-radius:12px}

/* Original client SVG landmarks, sized independently of map zoom. */
.landmark-marker{background:none;border:0}
.landmark-marker img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 1px #18331766);pointer-events:none}

/* A small map-colored clearance keeps vector strokes from touching symbols. */
.landmark-marker{background:#325a2d;border-radius:4px;box-shadow:0 0 0 3px #325a2d}

/* Clear a small area behind text and dots so boundary strokes remain separate. */
.settlement-label span{background:#325a2d;border-radius:2px;box-shadow:0 0 0 2px #325a2d}
.leaflet-placeDots-pane path{paint-order:stroke fill}

/* Figma image exports: exact proportions, no cover crop or vertical stretching. */
.support-background{inset:auto 0 0;top:auto;bottom:0;width:100%;height:auto;aspect-ratio:1920 / 316;object-fit:contain;object-position:center bottom}
.catalog-panorama{height:auto;aspect-ratio:1088 / 244.8611145;align-self:center}
.catalog-panorama img{position:static;display:block;inset:auto;top:auto;width:100%;height:auto;aspect-ratio:1088 / 244.8611145;object-fit:contain;object-position:center}
@media(max-width:1100px){
 .support{height:auto;padding:24px 0 0;display:flex;flex-direction:column;gap:20px}
 .support-logos{order:1;padding:0 24px}
 .support-background{position:relative;inset:auto;order:2;width:100%;height:auto;flex:none}
 .catalog-panorama{height:auto;aspect-ratio:1088 / 244.8611145}
}
@media(max-width:740px){
 .support-logos{padding:0 16px;gap:20px}
 .catalog-panorama{height:auto;aspect-ratio:1088 / 244.8611145}
 .catalog-panorama img{height:auto;top:auto}
}

/* Fișa pinului de pe harta de acasă: buton de închidere pe telefon/tabletă, fotografie mai mică pe telefon */
.point-close{display:none}
@media(max-width:1100px){.point-close{display:grid;place-items:center;position:absolute;top:24px;right:24px;z-index:2;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.85);border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:28px;line-height:1;cursor:pointer}.point-close:focus-visible{outline:3px solid #e1960f;outline-offset:2px}}
@media(max-width:740px){.home-page .point-photo{height:140px}.home-page .point-card{height:auto}}
