/* Tracce alpine: shared IT / EN hero and interactive map. */
.hero { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 28px; min-height: 740px; padding: 48px var(--gutter) 65px; background: var(--ink); overflow: visible; }
.hero-photo { opacity: .3; object-position: 35% center; }
.hero-shade { background: linear-gradient(90deg,rgba(38,80,75,.66),#356660 72%); }
.hero-content { padding: 24px 0; min-width: 0; }
.hero h1 { font-size: clamp(2.2rem,3.4vw,3.25rem); line-height: 1.14; }
.hero-intro { max-width: 550px; }
.hero-actions { gap: 18px; }
.hero-actions .button { padding: 16px 21px; gap: 14px; font-size: .9375rem; }
.hero-bottom { bottom: 20px; }
.alpine-map { position: relative; min-width: 0; align-self: center; color: white; }
.map-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 12px; }
.map-topline p { font-size: .8125rem; color: #F2F4F1; font-weight: 400; }
.map-motion { background: transparent; color: #DCE6E6; font: inherit; font-size: .75rem; padding: 9px 0 9px 10px; border: 0; cursor: pointer; white-space: nowrap; min-height: 44px; }
.map-stage { position: relative; width: 100%; aspect-ratio: 1; border-radius: 16px; isolation: isolate; background: #356660; border: 1px solid #437A72; }
.map-art { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; }
.map-animation { visibility: hidden; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.map-label { position: absolute; transform: translate(-50%,-50%); z-index: 2; pointer-events: none; background: #356660d9; border-radius: 4px; padding: 2px 6px; font-size: clamp(.65rem,1vw,.875rem); font-weight: 500; line-height: 1.4; white-space: nowrap; }
.map-label.landmark { font-size: clamp(.65rem,1.1vw,.9375rem); letter-spacing: .08em; }
.map-pin { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 48px; padding: 4px; display: grid; place-items: center; transform: translate(-50%,-100%); z-index: 3; cursor: pointer; }
.map-pin::after { content: ''; position: absolute; bottom: 1px; width: 6px; height: 6px; background: var(--accent); border: 1px solid var(--ink); border-radius: 50%; }
.map-pin span { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 600; font-size: .875rem; box-shadow: 0 0 0 2px #ffffff80,0 3px 10px #0008; transition: transform .18s; }
.map-pin[data-kind="hotel"] span { border-radius: 6px; background: white; }
.map-pin[data-kind="hotel"]::after { background: white; }
.map-pin:hover span,.map-pin[aria-expanded="true"] span { transform: translateY(-4px) scale(1.12); box-shadow: 0 0 0 3px var(--accent),0 5px 12px #0008; }
.alpine-map :is(a,button):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.map-caption { font-size: .75rem; line-height: 1.5; color: #DCE6E6; margin-top: 12px; }
.map-card { position: absolute; z-index: 8; bottom: 14px; left: 14px; right: 14px; max-width: 370px; max-height: calc(100% - 28px); overflow: auto; padding: 23px; border-radius: 12px; background: white; color: var(--ink); box-shadow: 0 12px 45px #0009; border: 1px solid var(--line); }
.map-card[hidden] { display: none; }
.map-card-type { font-size: .7rem; letter-spacing: .04em; color: #356660; font-weight: 500; padding-right: 25px; }
.map-card h3 { font-size: 1.2rem; padding-right: 20px; margin: 7px 0 9px; line-height: 1.35; }
.map-card address { font-style: normal; font-size: .875rem; line-height: 1.6; }
.map-card-hours { font-size: .75rem; color: var(--muted); margin-top: 9px; }
.map-close { position: absolute; right: 6px; top: 5px; border: 0; background: transparent; cursor: pointer; color: var(--ink); font-size: 25px; width: 44px; height: 44px; }
.map-card-link { display: inline-block; margin-top: 15px; padding: 10px 14px; background: var(--accent); border-radius: 6px; font-size: .875rem; font-weight: 600; }
.alpine-map .map-card :is(a,button):focus-visible { outline-color: var(--ink); }
.location[id] { scroll-margin-top: 130px; }
.location:target { outline: 3px solid #356660; outline-offset: 5px; }
@media(min-width: 1500px) { .hero { gap: 40px; } }
@media(max-width: 1000px) {
 .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 32px; }
 .hero-content { max-width: 700px; padding-bottom: 0; }
 .hero h1 { font-size: clamp(2.2rem,5vw,3.3rem); }
 .alpine-map { width: 100%; max-width: 650px; justify-self: center; }
 .hero-photo { height: 700px; }
 .hero-shade { background: linear-gradient(180deg,#35666088,#356660 680px); }
 .map-label { font-size: .8125rem; }
 .map-label.landmark { font-size: .875rem; }
}
@media(max-width: 480px) {
 .hero { padding-top: 20px; padding-bottom: 58px; }
 .hero h1 { font-size: 2rem; }
 .map-topline { gap: 8px; }
 .map-topline p { font-size: .75rem; }
 .map-motion { font-size: .7rem; }
 .map-label,.map-label.landmark { font-size: .625rem; padding: 2px 4px; letter-spacing: 0; }
 .map-card { left: 8px; right: 8px; bottom: 8px; padding: 16px; max-height: calc(100% - 16px); }
 .map-card h3 { font-size: 1.05rem; }
 .map-pin span { width: 29px; height: 29px; font-size: .75rem; }
 .hero-bottom span:last-child { display: none; }
}
@media(prefers-reduced-motion: reduce) { .map-pin span { transition: none; } }
