/* New sections (breakfast, location, guests' words, info, footer). Same palette, surfaces and spring as styles.css.
   Everything is scoped to these sections: the walk, the calendar and La casa are untouched. */

/* ---------- photo + words ---------- */
.split { display: grid; gap: 22px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); align-items: stretch; }
  .split.flip { grid-template-columns: minmax(320px, 1fr) minmax(0, 1.35fr); }
  .split.flip .ph { order: 2; }
  .ph { aspect-ratio: auto; min-height: 340px; }
}
.ph { position: relative; width: 100%; margin: 0; aspect-ratio: 3 / 2; border-radius: 34px; overflow: hidden; background: #070605; box-shadow: var(--sh-out), inset 0 0 0 1px rgba(241, 217, 173, .06); }
.ph img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(5, 4, 3, .55)); }
.js .ph.reveal { opacity: 1; transform: none; clip-path: inset(7% 5% 7% 5% round 34px); transition: clip-path 1.5s var(--ease); }
.js .ph.reveal.in { clip-path: inset(0 0 0 0 round 34px); }
.words { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(30px, 4vw, 54px); border-radius: 34px; background: linear-gradient(150deg, #15130f, #0d0c0a); box-shadow: var(--sh-out), inset 0 1px 0 var(--hl); }
.words h2 { font-size: clamp(38px, 4.2vw, 62px); }
.words p:not(.over) { color: rgba(242, 236, 226, .78); font-size: 16px; line-height: 1.75; }
.words .note { padding-top: 16px; border-top: 1px solid rgba(241, 217, 173, .12); color: var(--muted) !important; font-size: 13.5px !important; }
.words .dock { margin-top: 6px; }
.btn svg, .round-ico svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the guests' words: a deck that opens with the scroll ---------- */
.parole { padding-left: 0; padding-right: 0; }
.deck-head { padding: 0 var(--gut); text-align: center; }
.deck-head .sec-title { margin-top: 12px; }
.deck-cards { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 44px; padding: 0 var(--gut); }
.rev-card { --w: min(340px, 100%); position: relative; flex: 0 1 340px; width: var(--w); z-index: 1; }
.rev-card:nth-child(1) { z-index: 3; }
.rev-card:nth-child(2) { z-index: 2; }
.rev-face { --s: 1; --y: 0px; --lift: 0px; --grow: 1; --press: 1; position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 410px; height: 100%; padding: 30px 28px 26px; border-radius: 34px;
  background: linear-gradient(160deg, #1a1712, #0c0b09 72%);
  box-shadow: 0 34px 70px -18px rgba(0, 0, 0, .92), 0 8px 22px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(241, 217, 173, .24), inset 0 1px 0 rgba(255, 240, 215, .1);
  transform: translateY(calc(var(--y) + var(--lift))) scale(calc(var(--s) * var(--grow) * var(--press))); transform-origin: 50% 100%; transition: transform .45s var(--spring), box-shadow .45s ease; -webkit-tap-highlight-color: transparent; }
.rev-face:active { --press: .98; }
.rev-tag { font-size: 10.5px; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.rev-stars { display: flex; gap: 4px; color: var(--gold-hi); }
.rev-stars svg { width: 15px; height: 15px; fill: currentColor; }
.rev-quote { margin: 0; font: 700 clamp(29px, 2.6vw, 35px)/1.14 var(--serif); color: var(--ink); }
.rev-sum { color: rgba(242, 236, 226, .76); font-size: 14.5px; line-height: 1.65; }
.rev-sum b { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rev-who { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(241, 217, 173, .14); }
.rev-name { font: 700 25px/1.1 var(--serif); color: var(--gold-hi); }
.rev-src { margin-top: 5px; font-size: 12px; letter-spacing: .03em; color: var(--muted); }
.rev-src a { text-decoration: underline; text-decoration-color: rgba(241, 217, 173, .35); text-underline-offset: 3px; }
.deck-foot { display: flex; justify-content: center; margin-top: 34px; padding: 0 var(--gut); }

/* the fan: only when extra.js switches it on (wide screens, motion allowed) */
.deck-fan { height: 280vh; }
.deck-fan .deck-stage { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; height: 100svh; padding-top: clamp(76px, 10vh, 104px); overflow: hidden; }
.deck-fan .deck-cards { display: block; flex: 1 1 auto; min-height: 0; margin-top: 18px; padding: 0; }
.deck-fan .rev-card { position: absolute; left: 50%; top: 2%; width: 330px; margin-left: -165px; will-change: transform; }
.deck-fan .rev-face { height: min(62vh, 450px); min-height: 0; }
.deck-fan .deck-foot { flex: none; margin: 0; padding-bottom: 22px; }
/* short laptop screens: the fan keeps everything inside the frame */
@media (max-height: 720px) {
  .deck-fan .deck-stage { padding-top: 66px; }
  .deck-fan .sec-title { margin-top: 6px; font-size: 42px; }
  .deck-fan .deck-cards { margin-top: 10px; }
  .deck-fan .rev-face { height: 58vh; gap: 9px; padding: 20px 24px 18px; }
  .deck-fan .rev-quote { font-size: 25px; }
  .deck-fan .rev-sum { font-size: 13.5px; line-height: 1.5; }
  .deck-fan .rev-who { padding-top: 10px; }
  .deck-fan .deck-foot { padding-bottom: 12px; }
}
@media (hover: hover) and (pointer: fine) {
  .rev-card:hover { z-index: 9; }
  .rev-card:hover .rev-face { --lift: -24px; --grow: 1.05; box-shadow: 0 46px 90px -18px rgba(0, 0, 0, .95), 0 0 46px -14px rgba(241, 217, 173, .28), inset 0 0 0 1px rgba(241, 217, 173, .5), inset 0 1px 0 rgba(255, 240, 215, .14); }
}
@media (max-width: 859px) {
  .deck-cards { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 18px; }
  .rev-card { flex: none; width: 100%; max-width: 420px; will-change: transform; }
  .rev-face { min-height: 0; }
}

/* ---------- info & contacts ---------- */
.info { padding-bottom: clamp(70px, 9vw, 110px); }
.info-grid { display: grid; gap: 22px; margin-top: 40px; }
@media (min-width: 760px) { .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.info-card { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 30px; background: linear-gradient(150deg, #15130f, #0d0c0a); box-shadow: var(--sh-out), inset 0 1px 0 var(--hl); }
.info-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--gold-hi); background: var(--surface); box-shadow: var(--sh-in); }
.info-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.info-card h3 { font-size: 31px; }
.info-card address { font-style: normal; color: rgba(242, 236, 226, .78); font-size: 15px; line-height: 1.7; }
.info-card address strong { display: block; font-weight: 500; color: var(--ink); }
.info-card address + address { padding-top: 12px; border-top: 1px solid rgba(241, 217, 173, .12); }
.info-card .dock { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 6px; }
.codes { display: grid; gap: 12px; margin: 0; }
.codes dt { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.codes dd { margin: 3px 0 0; font-size: 14px; letter-spacing: .05em; color: var(--ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.round-ico { width: 50px; height: 50px; padding: 0; color: var(--gold-hi); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.foot-grid { position: relative; display: grid; gap: 34px; padding: clamp(46px, 6vw, 76px) 0 clamp(34px, 4vw, 50px); }
.foot-grid::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-lo) 18%, var(--gold-hi) 50%, var(--gold-lo) 82%, transparent); opacity: .65; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: 1.25fr 1fr 1.2fr 1fr; } }
.foot-brand { font: 700 clamp(38px, 3.6vw, 52px)/1.05 var(--serif); background: linear-gradient(120deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .1em .08em 0; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(242, 236, 226, .72); }
.foot-col h3 { margin-bottom: 4px; font: 400 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.foot-col a:not(.btn) { transition: color .3s; }
.foot-col a:not(.btn):hover { color: var(--gold-hi); }
.foot-col address { font-style: normal; line-height: 1.7; }
.foot-code { font-size: 12.5px; letter-spacing: .04em; color: var(--muted); overflow-wrap: anywhere; }
.foot-col .dock { display: flex; flex-wrap: wrap; gap: 12px; }

/* motion off: the deck is simply laid out, nothing follows the scroll */
@media (prefers-reduced-motion: reduce) {
  .ph img { position: absolute; top: 0; height: 100%; will-change: auto; }
  .js .ph.reveal { clip-path: none; transition: none; }
  .rev-face { transition: none; }
  .rev-card { will-change: auto; }
}

/* ===================== update v2 ===================== */
html { scroll-padding-top: 84px; }

/* top bar: Contattaci beside Prenota, always readable over the brightest frames */
.nav::before { content: ""; position: absolute; inset: 0 0 -34px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(5, 4, 3, .82), rgba(5, 4, 3, .58) 55%, transparent); transition: opacity .5s; }
.nav.solid::before { opacity: 0; }
.brand { text-shadow: 0 1px 14px rgba(0, 0, 0, .75); }
.nav nav a { color: rgba(242, 236, 226, .94); text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.btn.line { background: rgba(18, 17, 15, .62); color: var(--gold-hi); box-shadow: inset 0 0 0 1px rgba(241, 217, 173, .62), var(--sh-soft); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--gold-hi), var(--sh-out); }
@media (max-width: 1099px) { .nav nav { display: none; } }
@media (max-width: 460px) {
  .nav { gap: 8px; }
  .brand { font-size: 22px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { height: 38px; padding: 0 13px; font-size: 12.5px; letter-spacing: .02em; }
}
@media (max-width: 349px) { .brand { font-size: 19px; } .nav-cta .btn { padding: 0 10px; font-size: 12px; } }

/* words over the walk: darker cards, brighter text */
.chapter { background: linear-gradient(145deg, rgba(14, 12, 10, .9), rgba(8, 7, 6, .84)); }
.chapter p:not(.over) { color: rgba(242, 236, 226, .9); }
.walk-load { color: var(--ink); text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.cal-rule { margin: -4px 0 10px; font-size: 11.5px; line-height: 1.35; color: rgba(242, 236, 226, .72); }
@media (max-height: 640px) { .cal-rule { display: none; } }

/* the opening picture, when there is one */
.hero-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* the two story photos keep their real 3:2 shape on any screen, and drift a little less so less is cut away */
.split { align-items: start; }
.ph img { top: -5%; height: 110%; }
@media (min-width: 900px) {
  .split, .split.flip { align-items: center; }
  .ph { aspect-ratio: 3 / 2; min-height: 0; }
}

/* photos taller than wide are shown whole in the showcase, over a soft copy of themselves */
.screen::before { content: ""; position: absolute; inset: -40px; background: var(--backdrop, none) center / cover; filter: blur(30px) brightness(.5); }
.screen img.tall { object-fit: contain; }

/* five cards in the fan */
.rev-card:nth-child(n) { z-index: 1; }
.rev-card:nth-child(1) { z-index: 5; }
.rev-card:nth-child(2), .rev-card:nth-child(3) { z-index: 4; }
.rev-card:nth-child(4), .rev-card:nth-child(5) { z-index: 3; }
@media (hover: hover) and (pointer: fine) { .rev-card:hover { z-index: 9; } }
@media (max-width: 1279px) { .deck-fan .rev-card { width: 300px; margin-left: -150px; } }

/* informazioni pratiche */
.svc-rules { display: grid; gap: 14px; margin-top: 36px; }
.svc-rules > div { padding: 22px 26px; border-radius: 26px; background: var(--surface); box-shadow: var(--sh-in); }
.svc-k { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.svc-v { margin-top: 8px; font-size: 17px; font-weight: 400; line-height: 1.35; color: var(--ink); }
@media (min-width: 760px) { .svc-rules { grid-template-columns: 1.5fr 1fr 1fr; } }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px; margin-top: 22px; }
.svc-card { --lift: 0px; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 28px; background: linear-gradient(150deg, #15130f, #0d0c0a); box-shadow: var(--sh-soft), inset 0 1px 0 var(--hl); }
.js .svc-card.reveal.in { transition: transform .4s var(--spring), box-shadow .3s ease, opacity 1.2s var(--ease); }
.svc-card h3 { font-size: 28px; }
.svc-card p { font-size: 14.5px; line-height: 1.6; color: rgba(242, 236, 226, .78); }
@media (hover: hover) and (pointer: fine) { .js .svc-card.reveal.in:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--sh-out), inset 0 0 0 1px rgba(241, 217, 173, .22); } }

/* prezzi settimanali */
.price-card { display: grid; gap: 34px; padding: clamp(30px, 5vw, 64px); border-radius: 40px; background: linear-gradient(145deg, #15130f, #0d0c0a); box-shadow: var(--sh-out), inset 0 1px 0 var(--hl); }
@media (min-width: 900px) { .price-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 90px); align-items: center; } }
.price-rule { margin: 20px 0 26px; max-width: 42ch; font-size: 16px; line-height: 1.65; color: rgba(242, 236, 226, .84); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { padding: 0 0 12px; font: 400 10.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: left; }
.price-table thead th:last-child, .price-table td { text-align: right; }
.price-table tbody th { padding: 17px 16px 17px 0; font-size: 15.5px; font-weight: 300; text-align: left; color: var(--ink); }
.price-table td { padding: 17px 0; font-size: 18px; font-weight: 500; white-space: nowrap; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.price-table tbody tr { border-top: 1px solid rgba(241, 217, 173, .13); }
.price-note { margin-top: 18px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* the footer now has five columns */
@media (min-width: 1100px) { .foot-grid { grid-template-columns: 1.2fr 1.05fr 1.15fr .8fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .js .svc-card.reveal.in { transition: none; } }
.nav.solid { background: rgba(10, 9, 8, .9); }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* photo viewer: the picture is always whole, inside the window and above its caption, on any screen */
.lightbox { grid-template-rows: minmax(0, 1fr) auto auto; gap: 14px; }
.lb-fig { display: block; width: 100%; height: 100%; min-height: 0; }
.lb-img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; }
@media (max-height: 760px) {
  .lightbox { padding-top: 22px; gap: 10px; }
  .lb-cap h3 { margin: 4px 0; font-size: 28px; }
  .lb-cap .over { font-size: 10.5px; }
  .lb-text { font-size: 13px; line-height: 1.4; }
  .lb-thumbs button { width: 58px; height: 40px; }
}
@media (max-height: 760px) and (min-width: 760px) { .lb-fig { width: calc(100% - 140px); } }
@media (max-height: 600px) { .lb-text { display: none; } }

/* ===================== update v3 ===================== */
/* top bar: the full name beside the mark, the way home, the language */
.nav { padding-top: calc(11px + env(safe-area-inset-top, 0px)); padding-bottom: 11px; gap: 14px; }
.brand { display: grid; gap: 3px; flex: 0 1 auto; max-width: 226px; line-height: 1; }
.brand-name { font: 500 25px/1 var(--serif); }
.brand-sub { font: 400 10.5px/1.3 var(--sans); letter-spacing: .03em; color: rgba(242, 236, 226, .86); text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.nav nav.nav-links { margin: 0 auto; gap: 24px; }
.nav nav.nav-links a { font-size: 11.5px; letter-spacing: .17em; }
.nav-tools { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.nav nav.nav-links + .nav-tools { margin-left: 0; }
.btn.nav-home { gap: 7px; padding: 0 15px; }
.nav-home svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lang-seg { display: flex; gap: 2px; height: 40px; padding: 4px; border-radius: 999px; background: rgba(18, 17, 15, .62); box-shadow: inset 0 0 0 1px rgba(241, 217, 173, .34); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lang-seg button { min-width: 32px; padding: 0 7px; border: 0; border-radius: 999px; background: none; font: 500 11.5px/1 var(--sans); letter-spacing: .05em; color: rgba(242, 236, 226, .86); transition: background .25s, color .25s, transform .32s var(--spring); -webkit-tap-highlight-color: transparent; }
.lang-seg button:hover { color: var(--gold-hi); transform: scale(1.08); }
.lang-seg button:active { transform: scale(.92); }
.lang-seg button[aria-pressed="true"] { background: linear-gradient(160deg, var(--gold-hi), var(--gold)); color: #1a130a; }
@media (max-width: 1279px) { .nav nav.nav-links { display: none; } }
@media (min-width: 1280px) { .nav nav.nav-links { display: flex; } }
@media (min-width: 1280px) and (max-width: 1459px) { .nav-home span { display: none; } .btn.nav-home { width: 40px; padding: 0; } }

/* phones: two tidy rows, and the full name as a line over the opening of the walk */
@media (max-width: 699px) {
  html { scroll-padding-top: 118px; }
  .nav { flex-wrap: wrap; gap: 8px 8px; }
  .brand-sub { display: none; }
  .nav-tools { order: 3; flex: 1 0 100%; justify-content: space-between; margin: 0; }
  .btn.nav-home { height: 32px; padding: 0 12px; font-size: 12px; }
  .nav-home svg { width: 14px; height: 14px; }
  .lang-seg { height: 32px; padding: 3px; }
  .lang-seg button { min-width: 30px; font-size: 11px; }
  .nav-cta { margin-left: auto; }
  .intro { top: calc(112px + env(safe-area-inset-top, 0px)); justify-items: start; text-align: left; }
  .intro h1.hero-title { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin: 0; padding: 8px 13px 9px; border-radius: 14px; max-width: 100%;
    font: 400 13px/1.4 var(--sans); letter-spacing: .01em; color: var(--ink); background: rgba(8, 7, 6, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}

/* a whisper of shadow on the words near the pictures */
.lb-cap .over, .lb-cap h3, .lb-text, .chapter h2, .chapter p:not(.over), .g-text b, .g-how { text-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 2px 12px rgba(0, 0, 0, .38); }
.brand { max-width: 252px; }
/* long labels in other languages never push a card wider than the screen */
@media (max-width: 759px) { .info-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .info-card .btn { height: auto; min-height: 44px; padding: 10px 18px; white-space: normal; line-height: 1.25; text-align: center; } }

/* ===================== update v4 ===================== */
/* Informazioni in its own page */
.info-page .servizi { padding-top: clamp(120px, 14vw, 170px); }
.info-back { padding-top: 36px; padding-bottom: clamp(60px, 8vw, 100px); }
.info-back .dock { display: flex; flex-wrap: wrap; gap: 12px; }
.nav nav a[aria-current="page"] { color: var(--gold-hi); }
.price-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* two contact cards now: they share the row */
@media (min-width: 1100px) { .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.codes dd a { text-decoration: underline; text-decoration-color: rgba(241, 217, 173, .4); text-underline-offset: 3px; }

/* bureaucratic codes: very last line, quiet but readable */
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0 0 18px; font-size: 11.5px; line-height: 1.5; letter-spacing: .03em; color: var(--muted); }

/* credit: Design [logo] × Eduardo G. Bottazzo, opens the portfolio */
.credit-link { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(241, 217, 173, .35); text-underline-offset: 3px; min-height: 44px; font-size: 12px; transition: color .3s; }
.credit-link img { height: 22px; width: auto; filter: brightness(1.5) saturate(.9); transition: transform .35s var(--spring); }
.credit-link:hover { color: var(--gold-hi); text-decoration-color: currentColor; }
.credit-link:hover img { transform: rotate(-4deg) scale(1.1); }
@media (prefers-reduced-motion: reduce) { .credit-link img { transition: none; } }

/* the walk now opens with 60 more frames from the entrance: the page grows in step, so the scroll speed stays the same */
.hero { height: 883vh; }

/* the viewer's thumbnails scroll when a place has many photos */
.lb-thumbs { max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: none; }
.foot-legal.foot-owner { padding-bottom: 4px; }
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }


/* ===================== update V3 ===================== */
/* language switch: real links to the /en/ and /de/ pages */
.lang-seg a { display: grid; place-items: center; min-width: 32px; padding: 0 7px; border-radius: 999px; font: 500 11.5px/1 var(--sans); letter-spacing: .04em; color: rgba(242, 236, 226, .78); transition: transform .32s var(--spring), color .3s; }
.lang-seg a:hover { color: var(--gold-hi); transform: scale(1.08); }
.lang-seg a:active { transform: scale(.92); }
.lang-seg a[aria-current="page"] { background: linear-gradient(160deg, var(--gold-hi), var(--gold)); color: #1a130a; }
@media (max-width: 699px) { .lang-seg a { min-width: 30px; font-size: 11px; } }

/* "Contattaci": a small panel with WhatsApp and email */
.contact-menu { position: relative; display: inline-flex; }
.contact-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; display: grid; gap: 6px; width: min(286px, calc(100vw - 2 * var(--gut))); padding: 8px; border-radius: 24px; background: linear-gradient(150deg, #1b1915, #100f0c); box-shadow: 0 26px 60px rgba(0, 0, 0, .72), inset 0 0 0 1px rgba(241, 217, 173, .26), inset 0 1px 0 rgba(255, 240, 215, .08); opacity: 0; transform: translateY(-8px) scale(.96); transform-origin: 100% 0; transition: opacity .24s ease, transform .32s var(--spring); }
.contact-pop.open { opacity: 1; transform: none; }
.contact-opt { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 14px 9px 10px; border-radius: 17px; color: var(--ink); transition: background .25s, transform .3s var(--spring); -webkit-tap-highlight-color: transparent; }
.contact-opt:hover, .contact-opt:focus-visible { background: rgba(241, 217, 173, .1); transform: translateX(-2px); }
.contact-opt:active { transform: scale(.97); background: rgba(241, 217, 173, .16); }
.contact-opt svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; color: var(--gold-hi); background: var(--surface); box-shadow: var(--sh-in); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-opt span { display: grid; gap: 3px; min-width: 0; }
.contact-opt b { font: 500 14px/1.15 var(--sans); }
.contact-opt small { font-size: 12.5px; color: rgba(242, 236, 226, .72); overflow-wrap: anywhere; }

/* prices as premium cards */
.tariffs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tariff { display: flex; flex-direction: column; padding: 20px 20px 18px; border-radius: 24px; background: var(--surface); box-shadow: var(--sh-soft), inset 0 0 0 1px rgba(241, 217, 173, .1); transition: transform .4s var(--spring), box-shadow .3s ease; }
.tariff-name { font: 700 25px/1.1 var(--serif); color: var(--ink); }
.tariff-when { margin-top: 5px; font-size: 12.5px; line-height: 1.4; color: rgba(242, 236, 226, .72); }
.tariff-price { margin-top: auto; padding-top: 16px; font-size: 25px; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; color: var(--gold-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tariff-unit { margin-top: 5px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .tariff:hover { transform: translateY(-6px) scale(1.025); box-shadow: var(--sh-out), inset 0 0 0 1px rgba(241, 217, 173, .34); } }
.price-note + .price-note { margin-top: 6px; }
@media (min-width: 900px) { .price-card { align-items: start; } .price-card { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); } }

/* minimum stay on the information page */
.svc-stay { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 15.5px; font-weight: 400; line-height: 1.4; color: var(--ink); }
.svc-stay-note { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .contact-pop, .contact-opt, .tariff { transition: none; } }
