:root {
  --ink: #171817;
  --ink-soft: #323431;
  --paper: #f5f3ee;
  --white: #fff;
  --mist: #dfe9e7;
  --sea: #1c6971;
  --sun: #c65435;
  --olive: #6b7252;
  --line: rgba(23, 24, 23, 0.18);
  --muted: #686b67;
  --shadow: 0 18px 60px rgba(18, 20, 18, 0.16);
  --title: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #65c6d0;
  outline-offset: 4px;
}

h1,
h2,
h3 {
  font-family: var(--title);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  max-width: 850px;
  font-size: 4.3rem;
}

h3 {
  font-size: 2rem;
}

p {
  max-width: 720px;
}

section[id] {
  scroll-margin-top: 110px;
}

.container {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 4px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus {
  transform: none;
}

.page-progress {
  position: fixed;
  z-index: 1400;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--sun);
  will-change: transform;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.eyebrow,
.hero-kicker {
  display: block;
  margin-bottom: 24px;
  color: var(--sun);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  color: var(--ink-soft);
  font-family: var(--title);
  font-size: 1.48rem;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--sun);
}

.btn-primary:hover {
  background: #a83f25;
}

.btn-secondary,
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-secondary:hover,
.btn-outline:hover {
  color: var(--white);
  background: var(--ink);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.64);
  color: var(--white);
  background: rgba(0, 0, 0, 0.08);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.btn-light {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.btn-light:hover {
  color: var(--white);
  background: transparent;
}

/* Navigation */
.topbar {
  position: fixed;
  z-index: 900;
  top: 20px;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 20px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  background: rgba(250, 249, 246, 0.9);
  box-shadow: 0 12px 44px rgba(16, 20, 18, 0.14);
  backdrop-filter: blur(18px);
  transition: top 220ms ease, width 220ms ease, min-height 220ms ease, box-shadow 220ms ease;
}

.topbar.is-scrolled {
  top: 8px;
  width: min(1120px, calc(100% - 28px));
  min-height: 62px;
  box-shadow: 0 10px 34px rgba(16, 20, 18, 0.18);
}

.brand-mini img {
  width: 146px;
  height: 45px;
  object-fit: contain;
  object-position: left center;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-link {
  padding: 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.text-link:hover {
  color: var(--sun);
}

.burger,
.close {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
}

.burger {
  gap: 4px;
  align-content: center;
}

.burger span {
  width: 19px;
  height: 1px;
  background: var(--ink);
}

.close {
  font-family: Arial, sans-serif;
  font-size: 1.75rem;
}

.overlay {
  position: fixed;
  z-index: 980;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  background: rgba(7, 10, 9, 0.52);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.overlay.open {
  visibility: visible;
  opacity: 1;
}

.drawer {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  display: flex;
  width: min(440px, 100%);
  height: 100%;
  flex-direction: column;
  padding: 28px;
  transform: translateX(102%);
  color: var(--white);
  background: var(--ink);
  transition: transform 280ms ease;
}

.drawer.open {
  transform: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.drawer-head img {
  width: 165px;
  filter: brightness(0) invert(1);
}

.drawer .close {
  border-color: rgba(255, 255, 255, 0.28);
}

.drawer nav {
  display: grid;
  gap: 4px;
  margin-top: 32px;
}

.drawer nav a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--title);
  font-size: 2rem;
}

.drawer nav a:hover {
  color: #f08a68;
}

.drawer-note {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.drawer-legal,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.drawer-legal a,
.drawer-legal button,
.footer-legal a,
.footer-legal button {
  padding: 0;
  border: 0;
  cursor: pointer;
  color: inherit;
  background: none;
  font-size: 0.74rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 92svh;
  align-items: flex-end;
  overflow: hidden;
  padding: 160px 0 48px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 15, 14, 0.86) 0%, rgba(8, 15, 14, 0.58) 48%, rgba(8, 15, 14, 0.14) 82%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48)),
    url("../img/hero-locanda.jpg") center 54% / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 30%;
  bottom: 0;
  width: 1px;
  height: 100%;
  content: "";
  background: rgba(255, 255, 255, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
}

.hero-kicker {
  margin-bottom: 16px;
  color: #f2b29c;
}

.hero h1 {
  font-size: 6.4rem;
  line-height: 0.9;
}

.hero-statement {
  margin-top: 28px;
  font-family: var(--title);
  font-size: 3.15rem;
  line-height: 1.05;
}

.hero-copy {
  max-width: 610px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
}






.hero .actions {
  margin-top: 32px;
}

.hero-index {
  position: absolute;
  z-index: 2;
  right: 42px;
  bottom: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-index i {
  width: 54px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

/* Family story */
.story-section {
  padding: 145px 0 155px;
  background: var(--paper);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px 92px;
  align-items: start;
}

.story-heading {
  position: sticky;
  top: 130px;
}

.story-copy {
  padding-top: 48px;
}

.story-copy > p + p {
  margin-top: 28px;
  color: var(--muted);
}

.story-copy blockquote {
  margin: 42px 0 32px;
  padding: 28px 0 28px 26px;
  border-left: 3px solid var(--sun);
  color: var(--ink);
  font-family: var(--title);
  font-size: 1.65rem;
  line-height: 1.45;
}

.story-copy blockquote cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--sea);
  font-size: 0.84rem;
  font-weight: 800;
}

.editorial-link:hover {
  color: var(--sun);
}

.story-photo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 430px) 1fr;
  gap: 28px;
  align-items: end;
  margin-top: 45px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.story-photo button {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 21 / 9;
  border: 0;
  border-radius: 3px;
  cursor: zoom-in;
  background: var(--mist);
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.story-photo button:hover img {
  transform: scale(1.025);
}

.story-photo figcaption {
  max-width: 560px;
  padding-bottom: 6px;
  color: var(--muted);
  font-family: var(--title);
  font-size: 1.25rem;
}

/* The stay */
.experience-section {
  padding: 145px 0 0;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.experience-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 120px;
}

.experience-section .eyebrow {
  color: #f08a68;
}

.experience-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.experience-intro h2 {
  max-width: 560px;
  font-size: 4rem;
}

.experience-intro .lead {
  max-width: 560px;
  margin: 32px 0;
  color: rgba(255, 255, 255, 0.72);
}

.experience-details {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.experience-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding: 42px 0 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.experience-number {
  color: #f08a68;
  font-size: 0.76rem;
  font-weight: 800;
}

.experience-item p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.66);
}

.photo-ribbon {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.75fr;
  gap: 1px;
  margin-top: 120px;
  background: rgba(255, 255, 255, 0.12);
}

.photo-ribbon button {
  position: relative;
  overflow: hidden;
  height: 270px;
  border: 0;
  cursor: zoom-in;
  background: #262825;
}

.photo-ribbon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(0.78);
  transition: opacity 260ms ease, transform 600ms ease, filter 260ms ease;
}

.photo-ribbon button:hover img {
  opacity: 1;
  filter: none;
  transform: scale(1.03);
}

.photo-ribbon span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 5px 9px;
  border-radius: 2px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Territory */
.territory-section {
  position: relative;
  display: flex;
  min-height: 760px;
  align-items: flex-end;
  overflow: hidden;
  padding: 120px 0 90px;
  color: var(--white);
  background: #1d3f43;
}

.territory-media,
.territory-shade {
  position: absolute;
  inset: 0;
}

.territory-media {
  background: url("../img/territorio-locanda.jpg") center 52% / cover no-repeat;
  transform: scale(1.01);
}

.territory-shade {
  background:
    linear-gradient(90deg, rgba(9, 19, 18, 0.82) 0%, rgba(9, 19, 18, 0.5) 50%, rgba(9, 19, 18, 0.12) 80%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.42));
}

.territory-content {
  position: relative;
  z-index: 2;
}

.territory-content .eyebrow {
  color: #f2b29c;
}

.territory-content h2 {
  max-width: 760px;
  font-size: 5rem;
}

.territory-content > p {
  max-width: 630px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.territory-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.territory-points span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Contact */
.contact-section {
  padding: 145px 0;
  background: var(--mist);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 110px;
  align-items: end;
}

.contact-intro h2 {
  max-width: 900px;
}

.contact-intro .lead {
  max-width: 670px;
  margin-top: 30px;
}

.contact-intro .actions {
  margin-top: 36px;
}

.contact-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-facts {
  border-top: 1px solid var(--ink);
}

.contact-address {
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}

.contact-address span {
  display: block;
  margin-bottom: 10px;
  color: var(--sun);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-address strong {
  font-family: var(--title);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.45;
}

.contact-facts > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.83rem;
  font-weight: 800;
}

.contact-facts > a:hover {
  color: var(--sun);
}

/* Footer */
footer {
  padding: 46px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner img {
  width: 175px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer-meta {
  text-align: right;
}

.footer-legal {
  justify-content: flex-end;
}

/* Floating WhatsApp */
.wa {
  position: fixed;
  z-index: 820;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #1f8b56;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, background-color 180ms ease;
}

.wa:hover {
  transform: translateY(-3px);
  background: #187746;
}

.wa svg {
  width: 25px;
  fill: currentColor;
}

/* Dialogs */
dialog {
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(7, 9, 8, 0.78);
  backdrop-filter: blur(5px);
}

.lightbox-dialog {
  width: min(1080px, calc(100% - 40px));
  max-height: 90svh;
  margin: auto;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #0d0e0d;
  box-shadow: var(--shadow);
}

.lightbox-dialog img {
  width: 100%;
  max-height: 88svh;
  object-fit: contain;
}

.dialog-close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  background: var(--white);
  font-size: 1.55rem;
}

.lightbox-dialog > .dialog-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
}

.cookie-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: 86svh;
  margin: auto;
  padding: 28px;
  overflow: auto;
  border: 0;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.dialog-head h2 {
  font-size: 2rem;
}

.cookie-dialog > p {
  color: var(--muted);
}

.consent-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.consent-row > div {
  display: grid;
  gap: 3px;
}

.consent-row strong {
  font-size: 0.95rem;
}

.consent-row span:not(.consent-status) {
  color: var(--muted);
  font-size: 0.8rem;
}

.consent-status {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.consent-status.is-active {
  border-color: #1f6b54;
  color: #1f6b54;
  background: #edf6f1;
}

.consent-note,
.consent-date {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.consent-note a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.cookie-banner {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  font-family: var(--title);
  font-size: 1.2rem;
}

.cookie-banner p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.83rem;
}

.cookie-banner .cookie-actions {
  flex: 0 0 auto;
  margin: 0;
}

/* Legal pages */
.legal-page {
  color: var(--ink);
  background: var(--paper);
}

.legal-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, 0.95);
  backdrop-filter: blur(14px);
}

.legal-header img {
  width: 122px;
  height: auto;
}

.legal-back {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.legal-back:hover {
  color: var(--ink);
}

.legal-main {
  padding: clamp(72px, 10vw, 138px) 0 100px;
}

.legal-shell {
  width: min(100% - 40px, 900px);
  margin-inline: auto;
}

.legal-eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-intro h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.92;
}

.legal-updated {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-summary {
  margin: 44px 0 64px;
  padding: 26px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 64px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-toc a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-section {
  scroll-margin-top: 110px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.legal-section h3 {
  margin: 28px 0 10px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 900;
}

.legal-section p,
.legal-section li {
  color: #51534f;
  line-height: 1.75;
}

.legal-section p + p {
  margin-top: 14px;
}

.legal-section ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0 20px;
}

.legal-section a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section button[data-cookie-settings] {
  padding: 0;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  background: none;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section code {
  color: var(--ink);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.legal-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.legal-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.8rem;
}

.legal-table th,
.legal-table td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--ink);
  background: #efede5;
}

.legal-table td {
  color: var(--muted);
}

.legal-footer {
  padding: 34px clamp(20px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.legal-footer-inner {
  display: flex;
  width: min(100%, 900px);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-footer a,
.legal-footer button {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font-size: 0.76rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Motion */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-ready [data-reveal].show {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  h2,
  .territory-content h2 {
    font-size: 3.7rem;
  }

  .hero h1 {
    font-size: 5rem;
  }

  .hero-statement {
    font-size: 2.65rem;
  }

  .story-grid,
  .experience-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .story-heading,
  .experience-intro {
    position: static;
  }

  .story-copy {
    max-width: 760px;
    padding-top: 0;
  }

  .experience-intro .lead {
    max-width: 720px;
  }

  .contact-facts {
    max-width: 680px;
  }
}

@media (max-width: 740px) {
  .container,
  .hero-content,
  .footer-inner {
    width: min(100% - 36px, 1240px);
  }

  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
    padding: 7px 8px 7px 14px;
  }

  .brand-mini img {
    width: 122px;
    height: 40px;
  }

  .topbar .btn {
    min-height: 44px;
    padding: 10px 13px;
  }

  .burger {
    width: 44px;
    height: 44px;
  }

  .hide-mobile {
    display: none;
  }

  .drawer {
    padding: 20px;
  }

  .drawer nav a {
    font-size: 1.65rem;
  }

  .hero {
    min-height: 88svh;
    padding: 118px 0 34px;
    background-position: 55% center;
  }

  .hero::after,
  .hero-index {
    display: none;
  }

  .hero h1 {
    font-size: 3.65rem;
  }

  .hero-statement {
    margin-top: 22px;
    font-size: 2.2rem;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 0.93rem;
  }

  .hero .actions {
    align-items: stretch;
  }

  .hero .btn {
    flex: 1 1 210px;
  }





  .story-section,
  .contact-section {
    padding: 92px 0;
  }

  .experience-section {
    padding-top: 92px;
  }

  h2,
  .experience-intro h2,
  .territory-content h2 {
    font-size: 2.7rem;
  }

  h3 {
    font-size: 1.7rem;
  }

  .lead {
    font-size: 1.25rem;
  }

  .story-copy blockquote {
    font-size: 1.4rem;
  }

  .story-photo {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .story-photo button {
    aspect-ratio: 4 / 3;
  }

  .experience-item {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .photo-ribbon {
    grid-template-columns: 1fr 1fr;
    margin-top: 74px;
  }

  .photo-ribbon button {
    height: 230px;
  }

  .photo-ribbon button:first-child {
    grid-column: 1 / -1;
    height: 280px;
  }

  .territory-section {
    min-height: 650px;
    padding: 92px 0 56px;
  }

  .territory-media {
    background-position: 48% center;
  }

  .territory-shade {
    background: linear-gradient(90deg, rgba(9, 19, 18, 0.78), rgba(9, 19, 18, 0.32));
  }

  .contact-intro .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-intro .btn {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .wa {
    right: 14px;
    bottom: 14px;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .cookie-banner .cookie-actions .btn {
    width: 100%;
  }

  .consent-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .legal-header {
    min-height: 68px;
  }

  .legal-header img {
    width: 104px;
  }

  .legal-main {
    padding-top: 58px;
  }

  .legal-summary,
  .legal-toc {
    margin-bottom: 46px;
  }

  .legal-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .brand-mini img {
    width: 100px;
  }

  .topbar .btn {
    font-size: 0.76rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-statement {
    font-size: 1.95rem;
  }


  h2,
  .experience-intro h2,
  .territory-content h2 {
    font-size: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}


/* === Final release refinements === */
:root {
  --shell: rgba(245, 243, 238, 0.92);
}

.brand-mini img {
  width: clamp(150px, 18vw, 230px);
  height: 52px;
}

.topbar.is-scrolled .brand-mini img {
  height: 46px;
}

.hero {
  min-height: 96svh;
  background:
    linear-gradient(90deg, rgba(8, 15, 14, 0.88) 0%, rgba(8, 15, 14, 0.62) 44%, rgba(8, 15, 14, 0.18) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.54)),
    url("../img/hero-locanda.jpg") center center / cover no-repeat;
}

.hero h1 { text-shadow: 0 18px 52px rgba(0,0,0,.28); }
.hero-copy strong { color: #fff; }


.story-photo figcaption strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
}

.room-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  list-style: none;
}

.room-services li {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
}

.amenities-section {
  padding: 112px 0;
  background: linear-gradient(180deg, var(--ink), #20231f 52%, var(--paper) 52%);
}

.amenities-panel {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(250, 249, 246, 0.96);
  box-shadow: var(--shadow);
}

.amenities-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 30px;
}

.amenities-head h2 { font-size: clamp(2.5rem, 4.4vw, 4.5rem); }
.amenities-head p { color: var(--muted); }

.amenities-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.amenity-card {
  display: flex;
  min-height: 265px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.amenity-card h3 {
  margin-bottom: 16px;
  font-family: var(--body);
  font-size: .95rem;
  font-weight: 850;
  text-transform: uppercase;
  color: var(--sun);
}

.amenity-card ul {
  display: grid;
  gap: 9px;
  list-style: none;
  color: var(--ink-soft);
  font-size: .9rem;
}

.amenity-card li {
  position: relative;
  padding-left: 17px;
}

.amenity-card li::before {
  position: absolute;
  left: 0;
  top: .63em;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--sea);
}

.amenities-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}

.restaurant-section {
  padding: 140px 0;
  background: var(--paper);
}

.restaurant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.restaurant-copy .lead { margin: 24px 0; }

.restaurant-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 30px;
  list-style: none;
}

.restaurant-list li {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.58);
  font-size: .85rem;
  font-weight: 700;
}

.restaurant-media {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 12px;
  align-items: end;
}

.restaurant-media button {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  cursor: zoom-in;
  background: var(--mist);
  box-shadow: var(--shadow);
}

.restaurant-media button:first-child { aspect-ratio: 4 / 5; }
.restaurant-media button:last-child { aspect-ratio: 1 / 1.2; margin-bottom: 44px; }
.restaurant-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.restaurant-media button:hover img { transform: scale(1.025); }

.quiet-section {
  padding: 130px 0;
  color: var(--white);
  background: var(--ink);
}

.quiet-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.quiet-section .eyebrow { color: #f08a68; }
.quiet-section .lead { color: rgba(255,255,255,.75); margin-top: 26px; }

.nearby-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 7px;
  background: rgba(255,255,255,.055);
}

.nearby-card h3 {
  margin-bottom: 20px;
}

.nearby-card ul {
  display: grid;
  gap: 13px;
  list-style: none;
}

.nearby-card li {
  color: rgba(255,255,255,.72);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.nearby-card small {
  display: block;
  margin-top: 22px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

.territory-points span { background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }

.contact-section { background: linear-gradient(180deg, var(--mist), #eef1ec); }

@media (max-width: 1050px) {
  .amenities-head,
  .restaurant-grid,
  .quiet-grid { grid-template-columns: 1fr; }
  .amenities-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 740px) {
  .brand-mini img { width: 136px; height: 44px; }
  .topbar .btn { font-size: .7rem; }
  .hero {
    min-height: 91svh;
    background-position: 58% center;
  }
  .hero-copy strong { display: block; }
  .room-services { grid-template-columns: 1fr; }
  .amenities-section { padding: 74px 0; }
  .amenities-panel { padding: 26px 18px; }
  .amenities-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 0 12px;
    -webkit-overflow-scrolling: touch;
  }
  .amenity-card {
    min-width: min(82vw, 330px);
    min-height: 300px;
    scroll-snap-align: start;
  }
  .amenities-note { align-items: stretch; flex-direction: column; }
  .restaurant-section,
  .quiet-section { padding: 92px 0; }
  .restaurant-media { grid-template-columns: 1fr; }
  .restaurant-media button:last-child { margin-bottom: 0; }
  .restaurant-list { grid-template-columns: 1fr; }
  .nearby-card { padding: 24px; }
}

@media (max-width: 390px) {
  .brand-mini img { width: 112px; }
  .amenity-card { min-width: 86vw; }
}


/* ------------------------------------------------------------
   Rifinitura design editoriale - header, hero e pulizia info
   ------------------------------------------------------------ */
:root {
  --glass: rgba(245, 243, 238, 0.82);
  --glass-line: rgba(255, 255, 255, 0.62);
}

.topbar {
  top: 18px;
  min-height: 76px;
  padding: 11px 12px 11px 18px;
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(245,243,238,.72));
  border: 1px solid rgba(23, 24, 23, 0.12);
  box-shadow: 0 24px 70px rgba(12, 15, 13, 0.12);
  backdrop-filter: blur(22px) saturate(1.15);
}

.topbar::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,84,53,.42), transparent);
  pointer-events: none;
}

.topbar.is-scrolled {
  top: 8px;
  min-height: 66px;
  background: rgba(245, 243, 238, 0.92);
}

.brand-mini {
  position: relative;
  padding-left: 2px;
}

.brand-mini img {
  width: 172px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.top-actions {
  gap: 10px;
}

.text-link {
  position: relative;
  color: rgba(23, 24, 23, 0.74);
  font-size: 0.74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--sun);
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: scaleX(1);
}

.topbar .btn-primary {
  min-height: 46px;
  padding-inline: 18px;
  border: 1px solid rgba(198,84,53,.18);
  background: linear-gradient(135deg, var(--ink), #2b2d29);
  box-shadow: none;
}

.topbar .btn-primary:hover {
  background: var(--sun);
}

.burger {
  background: rgba(255,255,255,.34);
  border-color: rgba(23,24,23,.16);
}

.hero {
  min-height: 94svh;
  padding-bottom: clamp(54px, 8vh, 86px);
  background:
    linear-gradient(90deg, rgba(7, 12, 11, 0.88) 0%, rgba(7, 12, 11, 0.58) 46%, rgba(7, 12, 11, 0.12) 82%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.46)),
    url("../img/hero-locanda.jpg") center 52% / cover no-repeat;
}

.hero-content {
  max-width: 760px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: #f3c2ad;
  letter-spacing: .1em;
}

.hero-kicker::before {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.hero h1 {
  letter-spacing: -.045em;
  text-shadow: 0 16px 60px rgba(0,0,0,.28);
}

.hero-statement {
  max-width: 720px;
}

.hero-copy {
  max-width: 635px;
  padding-left: 20px;
  border-left: 2px solid rgba(242, 178, 156, 0.72);
}

.hero-copy strong {
  color: var(--white);
  font-weight: 800;
}

.hero-index {
  right: clamp(20px, 4vw, 54px);
  bottom: clamp(28px, 6vh, 74px);
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(7, 12, 11, 0.22);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.78);
}

.hero-index i {
  width: 34px;
}

.story-section,
.contact-section {
  background-image:
    radial-gradient(circle at 12% 0%, rgba(198,84,53,.055), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(28,105,113,.07), transparent 38%);
}

.amenities-panel,
.nearby-card,
.contact-facts {
  box-shadow: 0 28px 90px rgba(18,20,18,.08);
}

.amenity-card {
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.58));
}

.quiet-section {
  background:
    linear-gradient(180deg, rgba(245,243,238,.98), rgba(239,231,217,.92)),
    radial-gradient(circle at 15% 20%, rgba(28,105,113,.1), transparent 30%);
}

.territory-content h2 {
  max-width: 820px;
}

@media (max-width: 740px) {
  .topbar {
    top: 10px;
    min-height: 64px;
    padding: 8px 8px 8px 12px;
  }
  .topbar::before { display: none; }
  .brand-mini img {
    width: 134px;
    height: 43px;
  }
  .topbar .btn-primary {
    min-height: 42px;
    padding-inline: 12px;
    font-size: .72rem;
  }
  .hero {
    padding-bottom: 68px;
    background-position: 56% center;
  }
  .hero-content {
    width: min(100% - 36px, 760px);
  }
  .hero-copy {
    padding-left: 14px;
  }
  .hero-index {
    left: 18px;
    right: auto;
    bottom: 18px;
    font-size: .64rem;
  }
}

@media (max-width: 390px) {
  .brand-mini img { width: 112px; }
  .topbar .btn-primary { font-size: .66rem; padding-inline: 10px; }
}

/* ------------------------------------------------------------
   Correzione richiesta: header come versione precedente,
   lingua IT/EN/DE, coordinate mantenute e sezioni senza sovrapposizioni.
   ------------------------------------------------------------ */
.topbar {
  top: 20px;
  width: min(1180px, calc(100% - 40px));
  min-height: 70px;
  padding: 10px 12px 10px 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(250, 249, 246, 0.9);
  box-shadow: 0 12px 44px rgba(16, 20, 18, 0.14);
  backdrop-filter: blur(18px);
}
.topbar::before { display: none; }
.topbar.is-scrolled {
  top: 8px;
  width: min(1120px, calc(100% - 28px));
  min-height: 62px;
  background: rgba(250, 249, 246, 0.94);
  box-shadow: 0 10px 34px rgba(16, 20, 18, 0.18);
}
.brand-mini { padding-left: 0; }
.brand-mini img,
.topbar.is-scrolled .brand-mini img {
  width: 146px;
  height: 45px;
  object-fit: contain;
  object-position: left center;
}
.top-actions { gap: 12px; }
.text-link {
  padding: 12px;
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}
.text-link::after { display: none; }
.topbar .btn-primary {
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid transparent;
  background: var(--sun);
  box-shadow: none;
}
.topbar .btn-primary:hover { background: #a83f25; }
.burger { background: transparent; border-color: var(--line); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(23, 24, 23, 0.14);
  border-radius: 4px;
  background: rgba(255,255,255,.44);
}
.lang-switch button {
  display: grid;
  min-width: 31px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .04em;
}
.lang-switch button.is-active {
  color: var(--white);
  background: var(--ink);
}
.lang-switch-drawer {
  width: max-content;
  margin-top: 24px;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
}
.lang-switch-drawer button { color: rgba(255,255,255,.65); }
.lang-switch-drawer button.is-active { color: var(--ink); background: var(--white); }

/* Le sezioni narrative non restano più sticky: evita testi sovrapposti alle fotografie durante lo scroll. */
.story-heading,
.experience-intro {
  position: relative;
  top: auto;
}
.restaurant-grid,
.quiet-grid,
.story-grid,
.experience-grid {
  isolation: isolate;
}
.restaurant-copy,
.quiet-grid > div,
.story-copy,
.experience-intro,
.experience-details {
  min-width: 0;
  position: relative;
  z-index: 2;
}
.restaurant-media,
.story-photo,
.photo-ribbon {
  position: relative;
  z-index: 1;
}
.restaurant-media button,
.story-photo button,
.photo-ribbon button {
  max-width: 100%;
}

@media (max-width: 900px) {
  .lang-switch-header { display: none; }
  .topbar .btn-primary { min-height: 44px; padding: 10px 14px; }
}

@media (max-width: 740px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
    padding: 7px 8px 7px 14px;
  }
  .brand-mini img,
  .topbar.is-scrolled .brand-mini img {
    width: 122px;
    height: 40px;
  }
  .topbar .btn-primary {
    min-height: 44px;
    padding: 10px 13px;
    font-size: 0.7rem;
  }
  .hero-index {
    left: 18px;
    right: auto;
    bottom: 18px;
    font-size: .64rem;
  }
  .restaurant-grid,
  .quiet-grid,
  .story-grid,
  .experience-grid {
    gap: 52px;
  }
}

@media (max-width: 390px) {
  .brand-mini img,
  .topbar.is-scrolled .brand-mini img { width: 104px; }
  .topbar .btn-primary { font-size: .64rem; padding-inline: 9px; }
}


/* ------------------------------------------------------------
   V2 refinements: logo storico in navbar, drawer premium, nuove foto camere
   ------------------------------------------------------------ */
.brand-mini img.logo-storico,
.topbar.is-scrolled .brand-mini img.logo-storico {
  width: clamp(180px, 20vw, 246px);
  height: 52px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.topbar {
  overflow: visible;
}

.drawer {
  width: min(520px, 100%);
  padding: clamp(24px, 4vw, 42px);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(245,243,238,.98), rgba(235,226,211,.98)),
    radial-gradient(circle at 16% 12%, rgba(198,84,53,.13), transparent 34%),
    radial-gradient(circle at 88% 86%, rgba(28,105,113,.16), transparent 36%);
  box-shadow: -28px 0 80px rgba(7, 10, 9, 0.22);
}

.drawer::before {
  content: "";
  position: absolute;
  inset: 16px;
  pointer-events: none;
  border: 1px solid rgba(23,24,23,.09);
}

.drawer-head {
  position: relative;
  z-index: 1;
  gap: 18px;
  padding: 16px 16px 24px;
  margin: -6px -6px 18px;
  border: 1px solid rgba(23,24,23,.10);
  background: rgba(255,255,255,.48);
}

.drawer-head img.logo-storico {
  width: min(255px, 66vw);
  height: auto;
  filter: none;
  mix-blend-mode: multiply;
}

.drawer .close {
  border-color: rgba(23,24,23,.16);
  color: var(--ink);
  background: rgba(255,255,255,.52);
}

.drawer nav {
  position: relative;
  z-index: 1;
  gap: 0;
  margin-top: 14px;
  counter-reset: menu;
}

.drawer nav a {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  min-height: 58px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23,24,23,.12);
  color: var(--ink);
  font-family: var(--title);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  transition: color 180ms ease, padding-left 180ms ease;
}

.drawer nav a::before {
  counter-increment: menu;
  content: "0" counter(menu);
  color: var(--sun);
  font-family: var(--body);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
}

.drawer nav a:hover {
  color: var(--sea);
  padding-left: 6px;
}

.drawer-coordinates {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(23,24,23,.12);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.drawer-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 3px;
  color: var(--white);
  background: var(--ink);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.drawer-cta:hover {
  background: var(--sun);
}

.drawer-note {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  font-size: .94rem;
}

.drawer-legal {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.lang-switch-drawer {
  position: relative;
  z-index: 1;
  border-color: rgba(23,24,23,.14);
  background: rgba(255,255,255,.5);
}
.lang-switch-drawer button { color: var(--muted); }
.lang-switch-drawer button.is-active { color: var(--white); background: var(--ink); }

.story-photo button {
  aspect-ratio: 16 / 9;
}

.photo-ribbon {
  grid-template-columns: 1.05fr .92fr .92fr .82fr;
}

.photo-ribbon button {
  height: 315px;
}

.photo-ribbon button:first-child {
  height: 315px;
}

.photo-ribbon img {
  opacity: .86;
  filter: saturate(.9) contrast(1.02);
}

.photo-ribbon span {
  left: 18px;
  right: auto;
  background: rgba(245,243,238,.9);
}

.experience-section {
  background:
    radial-gradient(circle at 14% 10%, rgba(198,84,53,.10), transparent 30%),
    linear-gradient(180deg, #171817, #1e211d);
}

@media (max-width: 900px) {
  .brand-mini img.logo-storico,
  .topbar.is-scrolled .brand-mini img.logo-storico {
    width: 168px;
    height: 46px;
  }
}

@media (max-width: 740px) {
  .brand-mini img.logo-storico,
  .topbar.is-scrolled .brand-mini img.logo-storico {
    width: 136px;
    height: 40px;
  }
  .drawer {
    padding: 20px;
  }
  .drawer::before {
    inset: 10px;
  }
  .drawer-head {
    padding: 12px 12px 18px;
    margin: 0 0 16px;
  }
  .drawer-head img.logo-storico {
    width: 204px;
  }
  .drawer nav a {
    min-height: 52px;
    grid-template-columns: 36px 1fr;
    font-size: 1.55rem;
  }
  .photo-ribbon {
    display: flex;
    gap: 1px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .photo-ribbon button,
  .photo-ribbon button:first-child {
    flex: 0 0 min(78vw, 340px);
    height: 280px;
    scroll-snap-align: start;
  }
}

@media (max-width: 390px) {
  .brand-mini img.logo-storico,
  .topbar.is-scrolled .brand-mini img.logo-storico {
    width: 120px;
  }
}


/* ------------------------------------------------------------
   FINAL QA — testi, contrasti, colori e stabilità visuale
   ------------------------------------------------------------ */
:root {
  --ink: #141512;
  --ink-soft: #2f332e;
  --paper: #f6f1e8;
  --white: #ffffff;
  --mist: #e7ece7;
  --sea: #0f5e68;
  --sun: #b94d32;
  --olive: #69704f;
  --line: rgba(20, 21, 18, 0.18);
  --muted: #5f625d;
  --shadow: 0 20px 70px rgba(18, 20, 18, 0.14);
}

body {
  color: var(--ink);
  background: var(--paper);
}

.btn-primary {
  background: var(--sun);
  color: var(--white);
}

.btn-primary:hover,
.topbar .btn-primary:hover,
.drawer-cta:hover {
  background: #963a24;
}

.topbar {
  border-color: rgba(20, 21, 18, 0.12);
  background: rgba(250, 247, 240, 0.94);
  box-shadow: 0 14px 46px rgba(18, 20, 18, 0.14);
}

.text-link,
.lang-switch button,
.burger span {
  color: var(--ink);
}

.lang-switch {
  background: rgba(255,255,255,.72);
}

.lang-switch button {
  color: #4f534c;
}

.lang-switch button.is-active {
  color: var(--white);
  background: var(--ink);
}

.hero {
  background:
    linear-gradient(90deg, rgba(5, 10, 9, 0.88) 0%, rgba(5, 10, 9, 0.64) 46%, rgba(5, 10, 9, 0.22) 78%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.50)),
    url("../img/hero-locanda.jpg") center 52% / cover no-repeat;
}

.hero-kicker,
.hero-copy,
.hero-index {
  text-shadow: 0 8px 28px rgba(0,0,0,.35);
}

.hero-copy {
  color: rgba(255,255,255,.90);
  border-left-color: rgba(244, 199, 180, 0.86);
}

.hero-index {
  color: rgba(255,255,255,.88);
  background: rgba(5, 10, 9, 0.34);
  border-color: rgba(255,255,255,.30);
}

.drawer {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(185, 77, 50, .12), transparent 34%),
    radial-gradient(circle at 90% 86%, rgba(15, 94, 104, .14), transparent 36%),
    linear-gradient(135deg, #f8f3ea, #ebe1d2);
}

.drawer nav a,
.drawer .close,
.drawer-note,
.drawer-legal,
.drawer-coordinates {
  color: var(--ink);
}

.drawer-note,
.drawer-legal,
.drawer-coordinates {
  color: var(--muted);
}

.drawer-cta {
  background: var(--ink);
  color: var(--white);
}

.experience-section {
  background:
    radial-gradient(circle at 12% 4%, rgba(185,77,50,.11), transparent 30%),
    linear-gradient(180deg, #141512, #1d201b);
}

.experience-item p,
.experience-intro .lead {
  color: rgba(255,255,255,.76);
}

.room-services li {
  color: rgba(255,255,255,.86);
  border-color: rgba(255,255,255,.24);
}

.photo-ribbon img {
  opacity: 1;
  filter: saturate(.98) contrast(1.03);
}

.photo-ribbon span {
  color: var(--ink);
  background: rgba(250,247,240,.94);
}

.amenities-section {
  background: linear-gradient(180deg, #171817 0%, #171817 38%, var(--paper) 38%, var(--paper) 100%);
}

.amenities-panel {
  background: rgba(250,247,240,.98);
  border-color: rgba(20,21,18,.12);
}

.amenity-card {
  background: #fffdf7;
  border-color: rgba(20,21,18,.14);
}

.amenity-card h3 {
  color: var(--sun);
}

.amenity-card ul {
  color: var(--ink-soft);
}

.restaurant-section {
  background:
    radial-gradient(circle at 88% 10%, rgba(15,94,104,.075), transparent 36%),
    var(--paper);
}

.restaurant-list li {
  color: var(--ink-soft);
  background: rgba(255,255,255,.72);
}

.quiet-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 14%, rgba(15,94,104,.12), transparent 32%),
    radial-gradient(circle at 82% 16%, rgba(185,77,50,.08), transparent 30%),
    linear-gradient(180deg, #f6f1e8, #eee3d2);
}

.quiet-section .eyebrow {
  color: var(--sun);
}

.quiet-section .lead {
  color: var(--ink-soft);
}

.quiet-section .territory-points span {
  color: var(--ink);
  background: rgba(255,255,255,.62);
  border-color: rgba(20,21,18,.18);
  backdrop-filter: none;
}

.nearby-card {
  color: var(--ink);
  background: rgba(255,255,255,.68);
  border-color: rgba(20,21,18,.14);
}

.nearby-card h3 {
  color: var(--ink);
}

.nearby-card li {
  color: var(--ink-soft);
  border-bottom-color: rgba(20,21,18,.13);
}

.nearby-card small {
  color: var(--muted);
}

.territory-section .territory-points span,
.territory-section .eyebrow,
.territory-section p,
.territory-section h2 {
  text-shadow: 0 8px 28px rgba(0,0,0,.32);
}

.territory-section .territory-points span {
  color: rgba(255,255,255,.94);
  background: rgba(8,15,14,.26);
  border-color: rgba(255,255,255,.36);
}

.contact-section {
  background: linear-gradient(180deg, #e9eee9, #f6f1e8);
}

.contact-facts,
.contact-card,
.cookie-banner,
.cookie-dialog {
  background: rgba(255,255,255,.94);
}

footer {
  background: #111310;
}

.cookie-banner p,
.cookie-dialog p,
.consent-row span:not(.consent-status) {
  color: var(--muted);
}

@media (max-width: 900px) {
  .lang-switch-header { display: none; }
}

@media (max-width: 740px) {
  .topbar {
    gap: 8px;
  }
  .brand-mini img.logo-storico,
  .topbar.is-scrolled .brand-mini img.logo-storico {
    width: 132px;
    height: 40px;
  }
  .topbar .btn-primary {
    font-size: .68rem;
    padding-inline: 10px;
  }
  .burger {
    width: 44px;
    height: 44px;
  }
  .hero-copy {
    background: rgba(5,10,9,.18);
    padding: 14px 0 14px 14px;
  }
  .amenities-scroll,
  .photo-ribbon {
    scrollbar-width: thin;
  }
  .cookie-banner {
    color: var(--ink);
  }
}

@media (max-width: 390px) {
  .brand-mini img.logo-storico,
  .topbar.is-scrolled .brand-mini img.logo-storico {
    width: 116px;
  }
  .topbar .btn-primary {
    font-size: .61rem;
    letter-spacing: 0;
    padding-inline: 8px;
  }
}


/* ============================================================
   RELEASE COMPLETA — header premium + rifinitura sezioni
   ============================================================ */

/* Header: più ricercato, luminoso e leggibile sopra la hero */
.topbar {
  isolation: isolate;
  overflow: hidden;
  min-height: 76px;
  padding: 10px 14px 10px 22px;
  border: 1px solid rgba(20, 21, 18, 0.105);
  border-bottom-color: rgba(20, 21, 18, 0.15);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.88), transparent 42%),
    radial-gradient(circle at 92% 12%, rgba(185,77,50,.115), transparent 34%),
    linear-gradient(135deg, rgba(250,247,240,.92) 0%, rgba(255,252,246,.84) 48%, rgba(237,226,209,.92) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(126%);
  backdrop-filter: blur(22px) saturate(126%);
  box-shadow:
    0 18px 62px rgba(15, 18, 16, 0.14),
    0 3px 10px rgba(15, 18, 16, 0.045),
    inset 0 1px 0 rgba(255,255,255,.72);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15,94,104,.13) 0%, transparent 28%, transparent 70%, rgba(185,77,50,.10) 100%),
    repeating-linear-gradient(90deg, rgba(20,21,18,.018) 0 1px, transparent 1px 12px);
  opacity: .78;
}

.topbar::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,94,104,.32), rgba(185,77,50,.25), transparent);
}

.topbar > * {
  position: relative;
  z-index: 1;
}

.topbar.is-scrolled {
  top: 10px;
  min-height: 68px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 10% -10%, rgba(255,255,255,.90), transparent 38%),
    linear-gradient(135deg, rgba(250,247,240,.96) 0%, rgba(255,252,246,.92) 50%, rgba(239,229,213,.96) 100%);
  box-shadow:
    0 16px 52px rgba(15, 18, 16, 0.15),
    inset 0 1px 0 rgba(255,255,255,.75);
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 4px 0;
}

.brand-mini img.logo-storico,
.topbar.is-scrolled .brand-mini img.logo-storico {
  width: clamp(190px, 20vw, 248px);
  height: 54px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  filter: contrast(1.04) saturate(.98);
}

.top-actions {
  gap: 12px;
}

.text-link.hide-mobile {
  position: relative;
  color: var(--ink);
  font-weight: 850;
}

.text-link.hide-mobile::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 7px;
  left: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(15,94,104,.34), rgba(185,77,50,.38));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.text-link.hide-mobile:hover::after {
  transform: scaleX(1);
}

.lang-switch {
  border: 1px solid rgba(20,21,18,.09);
  background: rgba(255,255,255,.60);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58);
}

.lang-switch button.is-active {
  background: #141512;
}

.topbar .btn-primary {
  min-height: 46px;
  border: 1px solid rgba(150,58,36,.18);
  box-shadow: 0 10px 24px rgba(185,77,50,.20);
}

.burger {
  background: rgba(255,255,255,.42);
  border-color: rgba(20,21,18,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58);
}

/* Hero: testo più leggibile e più editoriale */
.hero {
  min-height: 94svh;
  background:
    linear-gradient(90deg, rgba(5,10,9,.91) 0%, rgba(5,10,9,.68) 42%, rgba(5,10,9,.25) 74%, rgba(5,10,9,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.52)),
    url("../img/hero-locanda.jpg") center 50% / cover no-repeat;
}

.hero-content {
  max-width: 860px;
}

.hero-kicker {
  width: fit-content;
  padding: 7px 11px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(5,10,9,.22);
  color: #f3bdab;
  backdrop-filter: blur(8px);
}

.hero h1 {
  letter-spacing: -.035em;
}

.hero-statement {
  max-width: 760px;
}

.hero-copy {
  max-width: 670px;
  padding: 18px 0 18px 18px;
  border-left: 2px solid rgba(243,189,171,.78);
  background: linear-gradient(90deg, rgba(5,10,9,.21), transparent);
}

.hero-index {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(5,10,9,.30);
  backdrop-filter: blur(10px);
}

/* Story: più aria, foto più integrata */
.story-section {
  position: relative;
  background:
    radial-gradient(circle at 12% 8%, rgba(15,94,104,.07), transparent 30%),
    linear-gradient(180deg, #f6f1e8, #f9f5ed);
}

.story-grid {
  gap: 70px 96px;
}

.story-copy {
  padding-top: 26px;
}

.story-copy blockquote {
  background: rgba(255,255,255,.42);
  padding: 26px 26px 26px 28px;
  border-radius: 0 14px 14px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.story-photo {
  margin-top: 56px;
  padding: 28px;
  border: 1px solid rgba(20,21,18,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.42);
  box-shadow: 0 18px 54px rgba(18,20,18,.08);
}

.story-photo button {
  border-radius: 18px;
}

/* Camere/locanda: dark section più profonda ma leggibile */
.experience-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(185,77,50,.16), transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(15,94,104,.16), transparent 28%),
    linear-gradient(180deg, #141512 0%, #1b1f1b 100%);
}

.experience-grid {
  gap: clamp(64px, 8vw, 120px);
}

.experience-item {
  border-bottom-color: rgba(255,255,255,.18);
}

.experience-item h3 {
  color: rgba(255,255,255,.96);
}

.room-services {
  margin-top: 20px;
}

.room-services li {
  background: rgba(255,255,255,.065);
}

.photo-ribbon {
  padding: 1px;
  background: rgba(255,255,255,.10);
}

.photo-ribbon button {
  border-radius: 0;
}

.photo-ribbon span {
  border: 1px solid rgba(20,21,18,.08);
  box-shadow: 0 8px 20px rgba(0,0,0,.13);
}

/* Servizi: riquadro più raffinato e meno pesante */
.amenities-section {
  padding: 0 0 120px;
  background:
    linear-gradient(180deg, #1b1f1b 0%, #1b1f1b 26%, #f6f1e8 26%, #f6f1e8 100%);
}

.amenities-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(15,94,104,.08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(185,77,50,.075), transparent 28%),
    rgba(255,253,247,.98);
  box-shadow: 0 24px 72px rgba(18,20,18,.13);
}

.amenities-panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  pointer-events: none;
  border: 1px solid rgba(20,21,18,.07);
  border-radius: 22px;
}

.amenities-head,
.amenities-scroll,
.amenities-panel .actions,
.amenities-panel > * {
  position: relative;
  z-index: 1;
}

.amenity-card {
  border-radius: 20px;
  background:
    linear-gradient(180deg, #fffdf8, #fbf7ee);
  box-shadow: 0 12px 32px rgba(18,20,18,.06);
}

.amenity-card h3 {
  color: #a9432b;
  letter-spacing: -.01em;
}

/* Ristorante: più caldo e convincente */
.restaurant-section {
  background:
    radial-gradient(circle at 78% 8%, rgba(185,77,50,.09), transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(15,94,104,.075), transparent 34%),
    linear-gradient(180deg, #f6f1e8, #f9f4eb);
}

.restaurant-grid {
  align-items: center;
}

.restaurant-copy {
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(20,21,18,.10);
  border-radius: 26px;
  background: rgba(255,255,255,.40);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58);
}

.restaurant-media {
  gap: 14px;
}

.restaurant-media button {
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(18,20,18,.12);
}

.restaurant-list li {
  border: 1px solid rgba(20,21,18,.10);
}

/* Fuori dal mondo / dintorni */
.quiet-section {
  background:
    radial-gradient(circle at 20% 18%, rgba(15,94,104,.12), transparent 32%),
    radial-gradient(circle at 84% 20%, rgba(185,77,50,.09), transparent 30%),
    linear-gradient(180deg, #efe4d3, #f6f1e8);
}

.quiet-grid {
  align-items: start;
}

.quiet-section .lead {
  max-width: 760px;
}

.nearby-card {
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(18,20,18,.08);
}

/* Territorio: contrasto più controllato */
.territory-section {
  background: #17292d;
}

.territory-shade {
  background:
    linear-gradient(90deg, rgba(6, 14, 13, 0.86) 0%, rgba(6, 14, 13, 0.56) 52%, rgba(6, 14, 13, 0.22) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45));
}

.territory-content {
  max-width: 880px;
}

.territory-content h2 {
  letter-spacing: -.035em;
}

/* Contatti: chiusura più solida */
.contact-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(15,94,104,.08), transparent 32%),
    linear-gradient(180deg, #e7ece7, #f6f1e8);
}

.contact-facts {
  padding: 28px;
  border: 1px solid rgba(20,21,18,.12);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(18,20,18,.08);
}

/* Drawer: allineato al nuovo header */
.drawer {
  background:
    radial-gradient(circle at 10% 6%, rgba(255,255,255,.72), transparent 30%),
    radial-gradient(circle at 92% 86%, rgba(15,94,104,.14), transparent 34%),
    linear-gradient(135deg, #faf4ea, #e9ddcb);
}

.drawer-head {
  border-radius: 20px;
  background: rgba(255,255,255,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
}

.drawer nav a {
  border-bottom-color: rgba(20,21,18,.10);
}

.drawer nav a::before {
  color: #a9432b;
}

/* Mobile refinements */
@media (max-width: 900px) {
  .story-photo,
  .restaurant-copy,
  .contact-facts {
    border-radius: 20px;
  }
}

@media (max-width: 740px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 64px;
    padding: 8px 8px 8px 12px;
    border-radius: 15px;
    background:
      radial-gradient(circle at 8% -20%, rgba(255,255,255,.86), transparent 42%),
      linear-gradient(135deg, rgba(250,247,240,.95) 0%, rgba(255,252,246,.91) 52%, rgba(239,229,213,.95) 100%);
    -webkit-backdrop-filter: blur(16px) saturate(118%);
    backdrop-filter: blur(16px) saturate(118%);
  }

  .brand-mini img.logo-storico,
  .topbar.is-scrolled .brand-mini img.logo-storico {
    width: 132px;
    height: 39px;
  }

  .topbar .btn-primary {
    min-height: 42px;
    padding: 9px 10px;
    font-size: .67rem;
    box-shadow: none;
  }

  .burger {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: 120px;
    background:
      linear-gradient(90deg, rgba(5,10,9,.86) 0%, rgba(5,10,9,.56) 56%, rgba(5,10,9,.22) 100%),
      linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.50)),
      url("../img/hero-locanda.jpg") 58% center / cover no-repeat;
  }

  .hero-copy {
    padding: 14px 0 14px 14px;
    background: rgba(5,10,9,.22);
  }

  .story-section,
  .contact-section {
    padding: 86px 0;
  }

  .story-photo {
    padding: 14px;
  }

  .amenities-section {
    padding-bottom: 82px;
  }

  .amenities-panel {
    border-radius: 22px;
  }

  .restaurant-copy {
    padding: 22px;
  }

  .contact-facts {
    padding: 20px;
  }

  .cookie-banner {
    border-radius: 18px;
  }
}

@media (max-width: 390px) {
  .brand-mini img.logo-storico,
  .topbar.is-scrolled .brand-mini img.logo-storico {
    width: 116px;
    height: 36px;
  }

  .topbar .btn-primary {
    font-size: .61rem;
    padding-inline: 8px;
  }
}


/* ===== Sezione famiglia: riquadro unico con insegna storica + famiglia ===== */
.story-photo-duo {
  padding: 18px;
}

.story-photo-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.story-photo-duo .story-photo-pane {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 280px;
  border: 0;
  border-radius: 18px;
  cursor: zoom-in;
  background: var(--mist);
  box-shadow: 0 18px 40px rgba(18, 20, 18, 0.10);
}

.story-photo-duo .story-photo-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-photo-duo figcaption {
  padding-top: 14px;
}

@media (max-width: 740px) {
  .story-photo-duo {
    padding: 14px;
  }

  .story-photo-duo-grid {
    grid-template-columns: 1fr;
  }

  .story-photo-duo .story-photo-pane {
    min-height: 220px;
  }
}


/* ===== Sezione famiglia: foto sotto il titolo, senza riquadro contenitore ===== */
.story-heading {
  display: flex;
  flex-direction: column;
}

.story-heading-photos {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 14px;
  width: min(100%, 620px);
  margin-top: 34px;
}

.story-heading-photo {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  border: 0;
  border-radius: 18px;
  cursor: zoom-in;
  background: transparent;
  box-shadow: 0 18px 42px rgba(18, 20, 18, 0.12);
}

.story-heading-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}

.story-heading-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, filter 220ms ease;
}

.story-heading-photo:hover img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}

.story-heading-photo-sign {
  aspect-ratio: 4 / 5;
}

.story-heading-photo-family {
  aspect-ratio: 4 / 5;
  margin-top: 42px;
}

.story-heading-caption {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--title);
  font-size: 1.16rem;
  line-height: 1.5;
}

.story-heading-caption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 400;
}

/* rimuove definitivamente la resa a riquadro della variante precedente, se presente */
.story-photo-duo,
.story-photo-duo-grid,
.story-photo-duo .story-photo-pane {
  all: unset;
}

@media (max-width: 980px) {
  .story-heading {
    position: static;
  }

  .story-heading-photos {
    width: 100%;
    max-width: 680px;
  }
}

@media (max-width: 740px) {
  .story-heading-photos {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .story-heading-photo {
    border-radius: 14px;
  }

  .story-heading-photo-family {
    margin-top: 24px;
  }

  .story-heading-caption {
    font-size: 1.02rem;
  }
}

@media (max-width: 520px) {
  .story-heading-photos {
    grid-template-columns: 1fr;
  }

  .story-heading-photo-sign,
  .story-heading-photo-family {
    aspect-ratio: 16 / 11;
    margin-top: 0;
  }
}


/* ===== Refinement: static support photos, consistent color, transparent vintage logo ===== */
.brand-mini img.logo-storico,
.topbar.is-scrolled .brand-mini img.logo-storico,
.drawer-head img.logo-storico {
  background: transparent !important;
  mix-blend-mode: normal;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.10));
}

.brand-mini img.logo-storico,
.topbar.is-scrolled .brand-mini img.logo-storico {
  height: 54px;
  width: auto;
}

.drawer-head img.logo-storico {
  height: 64px;
  width: auto;
}

/* disable zoom / image-like interaction */
.story-heading-photo,
.photo-ribbon-static figure,
.restaurant-media-static figure {
  cursor: default !important;
}
.story-heading-photo img,
.photo-ribbon-static img,
.restaurant-media-static img {
  transition: none !important;
}
.story-heading-photo:hover img,
.photo-ribbon-static figure:hover img,
.restaurant-media-static figure:hover img {
  transform: none !important;
  filter: none !important;
}

/* family images under heading: quieter, more functional */
.story-heading-photos {
  align-items: start;
  max-width: 620px;
}
.story-heading-photo {
  overflow: hidden;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(18, 20, 18, 0.10);
}
.story-heading-photo::after {
  content: none !important;
}
.story-heading-photo-sign { aspect-ratio: 4 / 5; }
.story-heading-photo-family { aspect-ratio: 4 / 5; margin-top: 34px; }
.story-heading-caption { display: none !important; }

/* static ribbon: supportive images, no text, no buttons */
.photo-ribbon-static {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.photo-ribbon-static figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(18,20,18,.10);
  background: rgba(255,255,255,.72);
}
.photo-ribbon-static img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.photo-ribbon button span, .photo-ribbon-static span {
  display: none !important;
}

/* restaurant images refined and static */
.restaurant-media-static figure {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(18,20,18,.10);
}
.restaurant-media-static img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* lightbox retained in markup but visually non-promoted */
button[data-lightbox] {
  cursor: default;
}

@media (max-width: 1180px) {
  .photo-ribbon-static {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .photo-ribbon-static {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .story-heading-photo-family {
    margin-top: 18px;
  }
}
@media (max-width: 560px) {
  .photo-ribbon-static {
    grid-template-columns: 1fr;
  }
  .photo-ribbon-static img,
  .story-heading-photo-sign,
  .story-heading-photo-family {
    aspect-ratio: 16 / 11;
  }
  .story-heading-photos {
    grid-template-columns: 1fr;
  }
  .story-heading-photo-family {
    margin-top: 0;
  }
}


/* ===== FIX finale: logo navbar corretto + foto famiglia più compatte ===== */
.brand-mini img.logo-storico,
.topbar.is-scrolled .brand-mini img.logo-storico {
  width: auto !important;
  height: clamp(38px, 4.4vw, 50px) !important;
  max-width: min(235px, 42vw) !important;
  object-fit: contain !important;
  object-position: left center !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.08)) !important;
}

.drawer-head img.logo-storico {
  width: min(260px, 72vw) !important;
  height: auto !important;
  max-height: 92px !important;
  object-fit: contain !important;
  object-position: center center !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.10)) !important;
}

/* Riduce il peso visivo delle due immagini sotto al titolo famiglia */
.story-heading-photos {
  width: min(100%, 460px) !important;
  max-width: 460px !important;
  gap: 11px !important;
  margin-top: 22px !important;
}

.story-heading-photo {
  border-radius: 14px !important;
  box-shadow: 0 10px 24px rgba(18, 20, 18, 0.09) !important;
}

.story-heading-photo-sign,
.story-heading-photo-family {
  aspect-ratio: 4 / 4.6 !important;
}

.story-heading-photo-family {
  margin-top: 18px !important;
}

/* Le foto restano elementi di contorno: no zoom, no testo, no effetto gallery aggressivo */
.story-heading-photo,
.photo-ribbon-static figure,
.restaurant-media-static figure {
  cursor: default !important;
}

.story-heading-photo img,
.photo-ribbon-static img,
.restaurant-media-static img {
  transition: none !important;
}

.story-heading-photo:hover img,
.photo-ribbon-static figure:hover img,
.restaurant-media-static figure:hover img {
  transform: none !important;
  filter: none !important;
}

@media (max-width: 740px) {
  .brand-mini img.logo-storico,
  .topbar.is-scrolled .brand-mini img.logo-storico {
    height: 36px !important;
    max-width: 145px !important;
  }

  .drawer-head img.logo-storico {
    width: min(230px, 72vw) !important;
    max-height: 78px !important;
  }

  .story-heading-photos {
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    margin-top: 18px !important;
  }

  .story-heading-photo-family {
    margin-top: 12px !important;
  }
}

@media (max-width: 520px) {
  .story-heading-photos {
    grid-template-columns: 1fr 1fr !important;
    max-width: 100% !important;
  }

  .story-heading-photo-sign,
  .story-heading-photo-family {
    aspect-ratio: 1 / 1.08 !important;
  }
}


/* ===== Google Maps privacy-friendly section ===== */
.map-container {
  margin-top: clamp(34px, 5vw, 64px);
}

.map-panel {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(20, 21, 18, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 10%, rgba(15, 94, 104, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 52px rgba(18, 20, 18, 0.09);
}

.map-copy {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8px, 2vw, 20px);
}

.map-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
}

.map-copy p {
  margin-bottom: 24px;
  color: var(--ink-soft);
}

.map-frame {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(20, 21, 18, 0.76), rgba(15, 94, 104, 0.68)),
    url("../img/territorio-locanda.jpg") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 220ms ease;
}

.map-frame.is-loaded iframe {
  opacity: 1;
}

.map-consent {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  border: 0;
  cursor: pointer;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 17, 15, 0.50), rgba(10, 17, 15, 0.34));
  text-align: center;
}

.map-consent span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-consent small {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .map-panel {
    grid-template-columns: 1fr;
  }

  .map-copy {
    min-height: auto;
  }

  .map-frame {
    min-height: 300px;
  }
}

@media (max-width: 520px) {
  .map-panel {
    padding: 12px;
    border-radius: 22px;
  }

  .map-frame {
    min-height: 260px;
    border-radius: 18px;
  }
}


/* ===== Footer finale ordinato e responsive ===== */
.site-footer {
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 12% 0%, rgba(185, 77, 50, 0.10), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(15, 94, 104, 0.16), transparent 34%),
    linear-gradient(180deg, #141512 0%, #0f110f 100%);
}

.site-footer .footer-inner {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(160px, 0.75fr));
  gap: clamp(28px, 4vw, 62px);
  align-items: start;
  padding: clamp(54px, 7vw, 86px) 0 clamp(34px, 5vw, 54px);
}

.footer-brand img {
  width: min(230px, 70vw);
  margin: 0 0 18px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--title);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.45;
}

.footer-coordinates {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-column strong {
  margin-bottom: 7px;
  color: #f2b29c;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column button {
  width: fit-content;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-column a:hover,
.footer-column button:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-contact a {
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.52);
}

.footer-bottom small {
  max-width: 360px;
  font-size: 0.72rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .site-footer .footer-inner,
  .footer-bottom {
    width: min(100% - 40px, 1240px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 50px;
  }

  .footer-column a,
  .footer-column button {
    min-height: 30px;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
    padding-bottom: 24px;
  }
}


/* ===== Final delivery polish: map, text rhythm and footer spacing ===== */
.map-panel {
  overflow: hidden;
}

.map-copy h3 {
  max-width: 520px;
  letter-spacing: -0.025em;
}

.map-copy p {
  max-width: 560px;
}

.map-frame {
  min-height: clamp(280px, 34vw, 430px);
}

.map-consent {
  transition: background 180ms ease;
}

.map-consent:hover {
  background:
    linear-gradient(135deg, rgba(10, 17, 15, 0.58), rgba(10, 17, 15, 0.40));
}

.map-consent span {
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.contact-section .map-container {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 0;
}

.footer-grid {
  border-bottom: 0;
}

.footer-brand p {
  margin-top: 0;
}

.footer-column a,
.footer-column button {
  text-underline-offset: 4px;
}

@media (max-width: 640px) {
  .map-copy h3 {
    font-size: 2rem;
  }

  .map-copy p {
    font-size: .95rem;
  }

  .map-consent small {
    font-size: .78rem;
  }

  .footer-brand img {
    width: min(205px, 72vw);
  }
}


/* ===== Footer credit logo ===== */
.footer-credit {
  display: flex;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 0 34px;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}

.footer-credit span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-credit img {
  width: min(154px, 42vw);
  height: auto;
  display: block;
  opacity: 0.78;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.28));
}

@media (max-width: 640px) {
  .footer-credit {
    width: min(100% - 40px, 1240px);
    flex-direction: column;
    gap: 8px;
    padding-bottom: 28px;
  }

  .footer-credit img {
    width: min(138px, 48vw);
  }
}


/* ===== Step 1 ridistribuzione foto: galleria ridotta a 3 immagini ===== */
.photo-ribbon-three {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}

.photo-ribbon-three figure {
  min-height: clamp(260px, 28vw, 430px);
}

.photo-ribbon-three img {
  aspect-ratio: 4 / 5 !important;
}

@media (max-width: 820px) {
  .photo-ribbon-three {
    max-width: min(100% - 40px, 1120px);
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .photo-ribbon-three figure {
    min-height: auto;
  }

  .photo-ribbon-three img {
    aspect-ratio: 16 / 10 !important;
  }
}

@media (max-width: 430px) {
  .photo-ribbon-three {
    max-width: min(100% - 28px, 1120px);
    gap: 10px !important;
  }
}


/* ===== Step 2 ridistribuzione foto: ristorante con una sola immagine ===== */
.restaurant-media-single {
  display: block !important;
}

.restaurant-media-single figure {
  max-width: 100% !important;
  min-height: clamp(360px, 40vw, 560px) !important;
  margin: 0 !important;
  transform: none !important;
  opacity: 1 !important;
}

.restaurant-media-single img {
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 40vw, 560px);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

@media (max-width: 900px) {
  .restaurant-media-single figure,
  .restaurant-media-single img {
    min-height: 320px !important;
  }

  .restaurant-media-single img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .restaurant-media-single figure,
  .restaurant-media-single img {
    min-height: 260px !important;
  }

  .restaurant-media-single img {
    aspect-ratio: 16 / 11;
  }
}


/* ===== Step 3: accenti arancio nei testi, senza appesantire ===== */
:root {
  --accent-orange-soft: #d56a3d;
  --accent-orange-deep: #b84f31;
}

/* Hero: valorizza solo la frase chiave già in grassetto */
.hero-copy strong {
  color: #f0a27f;
  text-shadow: 0 8px 26px rgba(185, 77, 50, 0.22);
}

/* Eyebrow più caldo e coerente col logo */
.eyebrow {
  color: var(--accent-orange-deep);
}

/* Su fondi scuri l'arancio resta più luminoso */
.hero .eyebrow,
.experience-section .eyebrow,
.territory-section .eyebrow,
.site-footer .eyebrow {
  color: #f2b39d;
}

/* Piccoli accenti editoriali nei testi importanti */
.story-copy .lead::first-letter,
.restaurant-copy .lead::first-letter,
.contact-intro .lead::first-letter {
  color: var(--accent-orange-deep);
}

/* Numerazione e dettagli: richiamo arancio discreto */
.experience-number {
  color: #f0a27f;
}

.room-services li::before,
.restaurant-list li::before,
.nearby-card li::before {
  background: var(--accent-orange-soft);
}

/* Card servizi: titolo leggermente più caldo */
.amenity-card h3 {
  color: var(--accent-orange-deep);
}

/* Link editoriali e legali: micro-accento */
.editorial-link,
.footer-column a:hover,
.footer-column button:hover {
  color: #f2b39d;
}

/* CTA outline su passaggio mouse: un tocco arancio, non dominante */
.btn-outline:hover {
  border-color: rgba(184, 79, 49, 0.42);
  color: var(--accent-orange-deep);
}

/* Footer credit più integrato */
.footer-credit span {
  color: rgba(242, 179, 157, 0.72);
}

@media (max-width: 640px) {
  .story-copy .lead::first-letter,
  .restaurant-copy .lead::first-letter,
  .contact-intro .lead::first-letter {
    color: inherit;
  }

  .hero-copy strong {
    color: #f2b39d;
  }
}


/* ============================================================
   STEP 4 — Rifiniture grafiche premium
   Dettagli editoriali, profondità visiva e micro-interazioni leggere
   ============================================================ */

/* Grana/texture sottilissima per evitare superfici piatte */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.9) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(20,21,18,.65) 0 1px, transparent 1px);
  background-size: 38px 38px, 52px 52px;
  mix-blend-mode: overlay;
}

/* Linea di navigazione più fine e più editoriale */
.progress {
  height: 3px;
  background: linear-gradient(90deg, #0f5e68, #d56a3d, #f2b39d);
  box-shadow: 0 0 18px rgba(213, 106, 61, .22);
}

/* Header: dettaglio luminoso più premium */
.topbar {
  position: fixed;
}

.topbar::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,94,104,.36), rgba(213,106,61,.34), transparent);
}

/* Hero: vignetta più cinematografica + profondità al claim */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 9, .72));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  text-wrap: balance;
  filter: drop-shadow(0 18px 42px rgba(0,0,0,.22));
}

.hero-statement {
  text-wrap: balance;
}

.hero .actions .btn {
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
}

/* Titoli: sottolineatura editoriale minimale */
.story-heading h2,
.experience-intro h2,
.amenities-head h2,
.restaurant-copy h2,
.quiet-section h2,
.territory-content h2,
.contact-intro h2 {
  position: relative;
}

.story-heading h2::after,
.experience-intro h2::after,
.amenities-head h2::after,
.restaurant-copy h2::after,
.quiet-section h2::after,
.contact-intro h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 2px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(213,106,61,.95), rgba(15,94,104,.55), transparent);
}

.experience-intro h2::after,
.territory-content h2::after {
  background: linear-gradient(90deg, rgba(242,179,157,.95), rgba(255,255,255,.35), transparent);
}

/* Sezioni chiare: leggere forme ambientali */
.story-section,
.amenities-section,
.restaurant-section,
.quiet-section,
.contact-section {
  position: relative;
  overflow: hidden;
}

.story-section::before,
.restaurant-section::before,
.quiet-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  width: clamp(220px, 32vw, 440px);
  height: clamp(220px, 32vw, 440px);
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(213,106,61,.10), transparent 66%);
  filter: blur(2px);
}

.story-section::before {
  right: -160px;
  top: 14%;
}

.restaurant-section::before {
  left: -180px;
  bottom: 5%;
}

.quiet-section::before {
  right: -180px;
  bottom: 10%;
  background: radial-gradient(circle, rgba(15,94,104,.12), transparent 66%);
}

.contact-section::before {
  left: -180px;
  top: 15%;
  background: radial-gradient(circle, rgba(15,94,104,.10), transparent 66%);
}

/* Sezione famiglia: immagini più integrate e non "appoggiate" */
.story-heading-photos {
  position: relative;
}

.story-heading-photos::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  z-index: -1;
  border: 1px solid rgba(213,106,61,.20);
  border-radius: 18px;
  background: rgba(255,255,255,.18);
}

.story-heading-photo {
  outline: 1px solid rgba(255,255,255,.42);
  outline-offset: -1px;
}

/* Citazione: più curata */
.story-copy blockquote {
  position: relative;
}

.story-copy blockquote::before {
  content: "“";
  position: absolute;
  top: -22px;
  left: 18px;
  color: rgba(213,106,61,.22);
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
}

/* Blocchi esperienza: separatori più raffinati */
.experience-item {
  position: relative;
  padding-top: 4px;
}

.experience-number {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242,179,157,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  font-size: .78rem;
}

/* Foto a tre: più pulite, tutte con una piccola cornice */
.photo-ribbon-three figure,
.restaurant-media-single figure,
.map-frame {
  position: relative;
  overflow: hidden;
}

.photo-ribbon-three figure::after,
.restaurant-media-single figure::after,
.map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(20,21,18,.08);
}

/* Card servizi: effetto carta premium */
.amenities-panel {
  border: 1px solid rgba(20,21,18,.10);
}

.amenity-card {
  position: relative;
  overflow: hidden;
}

.amenity-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(213,106,61,.85), rgba(15,94,104,.45), transparent);
}

.amenity-card ul li {
  border-bottom: 1px solid rgba(20,21,18,.055);
  padding-bottom: 7px;
}

.amenity-card ul li:last-child {
  border-bottom: 0;
}

/* Ristorante: immagine singola più scenografica */
.restaurant-media-single {
  position: relative;
}

.restaurant-media-single::before {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  z-index: 0;
  width: 54%;
  height: 54%;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(213,106,61,.18), rgba(15,94,104,.10));
}

.restaurant-media-single figure {
  position: relative;
  z-index: 1;
}

/* Dintorni: card più curata */
.nearby-card {
  position: relative;
  overflow: hidden;
}

.nearby-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #d56a3d, rgba(15,94,104,.55));
}

/* Territorio: pill più leggibili */
.territory-points span {
  border-color: rgba(213,106,61,.22);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

/* Contatti e mappa: migliore chiusura pagina */
.contact-facts,
.map-panel {
  position: relative;
}

.contact-facts::before,
.map-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 20px;
}

.contact-facts > *,
.map-panel > * {
  position: relative;
  z-index: 1;
}

/* Pulsanti: micro-interazione più premium */
.btn {
  will-change: transform;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Focus accessibile ma elegante */
a:focus-visible,
button:focus-visible,
.lang-switch button:focus-visible {
  outline: 2px solid rgba(213,106,61,.86);
  outline-offset: 4px;
}

/* Footer: linea finale più sofisticata */
.footer-credit {
  position: relative;
}

.footer-credit::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: min(260px, 60vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(242,179,157,.32), transparent);
}

/* Responsive: riduci decori su mobile */
@media (max-width: 740px) {
  body::before {
    opacity: .025;
  }

  .story-section::before,
  .restaurant-section::before,
  .quiet-section::before,
  .contact-section::before {
    opacity: .55;
  }

  .story-heading h2::after,
  .experience-intro h2::after,
  .amenities-head h2::after,
  .restaurant-copy h2::after,
  .quiet-section h2::after,
  .contact-intro h2::after {
    width: 54px;
    margin-top: 16px;
  }

  .story-heading-photos::before,
  .restaurant-media-single::before,
  .contact-facts::before,
  .map-panel::before {
    display: none;
  }

  .btn:hover {
    transform: none;
  }

  .experience-number {
    min-width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .topbar,
  .hero h1 {
    transition: none !important;
  }

  .btn:hover {
    transform: none !important;
  }
}


/* ===== Step 5 — Copy marketing e sezione di posizionamento ===== */
.fit-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 118px) 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(213,106,61,.10), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(15,94,104,.10), transparent 30%),
    linear-gradient(180deg, #f8f2e8 0%, #f3eadc 100%);
}

.fit-section::before {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(20,21,18,.06);
  border-radius: 30px;
}

.fit-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.25fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.fit-copy h2 {
  max-width: 720px;
  margin-top: 12px;
  font-size: clamp(2.25rem, 5vw, 5.4rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.fit-copy p {
  max-width: 620px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.72;
}

.fit-cards {
  display: grid;
  gap: 14px;
}

.fit-cards article {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(20,21,18,.10);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.74), rgba(255,255,255,.46));
  box-shadow: 0 16px 42px rgba(18,20,18,.07);
}

.fit-cards article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(213,106,61,.84), rgba(15,94,104,.40), transparent);
}

.fit-cards span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(213,106,61,.22);
  border-radius: 999px;
  color: var(--accent-orange-deep);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.fit-cards h3 {
  margin-bottom: 8px;
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
}

.fit-cards p {
  color: var(--muted);
  line-height: 1.65;
}

/* Migliora leggibilità dei testi lunghi */
.lead,
.story-copy p,
.restaurant-copy p,
.quiet-section p,
.contact-intro p {
  text-wrap: pretty;
}

.hero-copy,
.fit-copy p,
.amenities-head p,
.restaurant-copy p,
.nearby-card small {
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .fit-layout {
    grid-template-columns: 1fr;
  }

  .fit-copy h2 {
    max-width: 780px;
  }

  .fit-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fit-section {
    padding: 68px 0;
  }

  .fit-section::before {
    display: none;
  }

  .fit-copy h2 {
    font-size: clamp(2.1rem, 12vw, 3.25rem);
  }

  .fit-cards article {
    border-radius: 18px;
  }
}


/* ============================================================
   CONSEGNA CLIENTE — Fix definitivo mappa + mobile
   ============================================================ */

/* Mappa: più stabile, leggibile e corretta su desktop/mobile */
.map-container {
  margin-top: clamp(30px, 5vw, 62px);
}

.map-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(18px, 3.2vw, 42px);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(213,106,61,.10), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(15,94,104,.11), transparent 34%),
    rgba(255, 255, 255, .76);
}

.map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
  padding: clamp(8px, 2vw, 20px);
}

.map-copy h3 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.map-copy p {
  max-width: 560px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.map-address {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 22px !important;
  padding: 8px 11px;
  border: 1px solid rgba(20, 21, 18, .10);
  border-radius: 999px;
  color: var(--muted) !important;
  background: rgba(255,255,255,.46);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.map-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(10, 17, 15, .66), rgba(15, 94, 104, .58)),
    url("../img/territorio-locanda.jpg") center / cover no-repeat;
  box-shadow:
    0 20px 56px rgba(18,20,18,.14),
    inset 0 0 0 1px rgba(255,255,255,.18);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  opacity: 0;
  background: #e8e2d6;
  transition: opacity 260ms ease;
}

.map-frame.is-loaded iframe {
  opacity: 1;
}

.map-consent {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 28px;
  border: 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(10, 17, 15, .62), rgba(10, 17, 15, .34));
  text-align: center;
}

.map-consent span {
  justify-self: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.map-consent small {
  max-width: 390px;
  margin: 0 auto;
  color: rgba(255,255,255,.86);
  font-size: .82rem;
  line-height: 1.45;
}

.map-frame.is-loaded .map-consent {
  display: none;
}

/* Mobile finale: mappa e sezioni senza overflow */
html,
body {
  overflow-x: clip;
}

@media (max-width: 900px) {
  .map-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 24px;
  }

  .map-copy {
    min-height: auto;
    padding: 12px 8px 4px;
  }

  .map-copy h3 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .map-frame {
    min-height: 340px;
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .map-container {
    margin-top: 28px;
  }

  .map-panel {
    width: calc(100% + 4px);
    margin-left: -2px;
    padding: 12px;
    border-radius: 20px;
  }

  .map-copy {
    padding: 8px 6px 0;
  }

  .map-copy h3 {
    margin-bottom: 12px;
    font-size: clamp(1.9rem, 11vw, 2.55rem);
  }

  .map-copy p {
    font-size: .94rem;
  }

  .map-address {
    width: 100%;
    justify-content: center;
    border-radius: 16px;
    text-align: center;
    line-height: 1.35;
  }

  .map-frame {
    min-height: 300px;
    border-radius: 18px;
  }

  .map-consent {
    padding: 22px 16px;
  }

  .map-consent span {
    width: 100%;
    max-width: 240px;
    padding-inline: 18px;
  }

  .map-consent small {
    max-width: 270px;
    font-size: .76rem;
  }
}

@media (max-width: 380px) {
  .map-frame {
    min-height: 270px;
  }

  .map-copy h3 {
    font-size: 2rem;
  }
}

/* Spaziature finali mobile */
@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1240px);
  }

  .fit-cards article,
  .amenity-card,
  .nearby-card,
  .contact-facts {
    border-radius: 18px;
  }

  .photo-ribbon-three img {
    aspect-ratio: 16 / 10 !important;
  }

  .restaurant-media-single img {
    aspect-ratio: 16 / 10 !important;
  }

  .footer-grid {
    gap: 24px;
  }
}


/* ===== Pacchetto consegna finale cliente: micro-fix sicurezza mobile ===== */
@media (max-width: 640px) {
  .footer-credit img {
    max-width: 150px;
  }

  .map-frame iframe {
    width: 100%;
    height: 100%;
  }
}

img {
  max-width: 100%;
}


/* ===== Lingue anche su mobile ===== */
/* Il selettore lingua resta visibile anche nell'header mobile, ma diventa compatto. */
@media (max-width: 900px) {
  .lang-switch-header {
    display: inline-flex !important;
  }

  .top-actions {
    gap: 8px;
  }

  .lang-switch-header {
    padding: 3px;
    gap: 2px;
    border-radius: 999px;
    background: rgba(255,255,255,.58);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
  }

  .lang-switch-header button {
    min-width: 28px;
    height: 30px;
    border-radius: 999px;
    font-size: .62rem;
    letter-spacing: .03em;
  }
}

@media (max-width: 740px) {
  .topbar {
    grid-template-columns: auto 1fr;
  }

  .top-actions {
    justify-content: flex-end;
    gap: 7px;
  }

  .brand-mini img.logo-storico,
  .topbar.is-scrolled .brand-mini img.logo-storico {
    width: 116px !important;
    height: 36px !important;
  }

  .lang-switch-header button {
    min-width: 25px;
    height: 28px;
    font-size: .58rem;
  }

  .topbar .btn-primary {
    max-width: 82px;
    min-height: 40px;
    padding: 8px 9px !important;
    white-space: normal;
    text-align: center;
    line-height: 1.05;
    font-size: .58rem !important;
    letter-spacing: .015em;
  }

  .burger {
    width: 40px !important;
    height: 40px !important;
  }
}

@media (max-width: 390px) {
  .brand-mini img.logo-storico,
  .topbar.is-scrolled .brand-mini img.logo-storico {
    width: 104px !important;
  }

  .topbar {
    padding-left: 10px !important;
    padding-right: 7px !important;
  }

  .top-actions {
    gap: 5px;
  }

  .lang-switch-header {
    padding: 2px;
  }

  .lang-switch-header button {
    min-width: 23px;
    height: 27px;
    font-size: .55rem;
  }

  .topbar .btn-primary {
    max-width: 66px;
    padding-inline: 6px !important;
    font-size: .52rem !important;
  }
}

/* Nel burger menu il selettore viene mostrato subito in alto, non in fondo. */
.drawer-lang-block {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 28px;
  padding: 12px 14px;
  border: 1px solid rgba(20,21,18,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58);
}

.drawer-lang-label {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.drawer-lang-block .lang-switch-drawer {
  margin: 0;
}

.drawer-lang-block .lang-switch button {
  min-width: 36px;
  height: 34px;
}

@media (max-width: 520px) {
  .drawer-lang-block {
    margin: 12px 0 22px;
    padding: 10px 12px;
  }
}


/* ===== Servizi più compatti per consegna finale ===== */
.amenities-section {
  padding: clamp(72px, 8vw, 92px) 0 !important;
}

.amenities-section > .container {
  width: min(1120px, calc(100% - 80px));
}

.amenities-panel {
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(22px, 3vw, 34px) !important;
  border-radius: 24px !important;
}

.amenities-panel::before {
  inset: 10px !important;
  border-radius: 18px !important;
}

.amenities-head {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr) !important;
  gap: clamp(18px, 3vw, 42px) !important;
  margin-bottom: 22px !important;
}

.amenities-head h2 {
  font-size: clamp(2rem, 3.1vw, 3.35rem) !important;
}

.amenities-head p {
  max-width: 580px;
  font-size: .94rem;
  line-height: 1.55;
}

.amenities-scroll {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.amenity-card {
  min-height: 0 !important;
  padding: 16px 17px !important;
  border-radius: 15px !important;
}

.amenity-card::before {
  height: 2px !important;
}

.amenity-card h3 {
  margin-bottom: 10px !important;
  font-size: .76rem !important;
  line-height: 1.25;
  letter-spacing: .06em;
}

.amenity-card ul {
  gap: 5px !important;
  font-size: .78rem !important;
  line-height: 1.38;
}

.amenity-card li {
  padding-left: 13px !important;
}

.amenity-card li::before {
  top: .58em !important;
  width: 4px !important;
  height: 4px !important;
}

.amenity-card ul li {
  padding-bottom: 4px !important;
}

.amenities-note {
  margin-top: 18px !important;
  padding-top: 16px !important;
  gap: 16px !important;
}

.amenities-note span {
  max-width: 660px;
  font-size: .82rem;
  line-height: 1.5;
}

.amenities-note .btn {
  min-height: 42px;
  padding: 10px 14px;
  font-size: .68rem;
}

@media (max-width: 980px) {
  .amenities-section > .container {
    width: min(100% - 44px, 1120px);
  }

  .amenities-head {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .amenities-scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .amenities-section {
    padding: 62px 0 !important;
  }

  .amenities-section > .container {
    width: min(100% - 28px, 1120px);
  }

  .amenities-panel {
    padding: 18px 14px !important;
    border-radius: 20px !important;
  }

  .amenities-head h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem) !important;
  }

  .amenities-head p {
    font-size: .9rem;
  }

  .amenities-scroll {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .amenity-card {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
    padding: 15px 16px !important;
  }

  .amenity-card ul {
    font-size: .77rem !important;
  }

  .amenities-note {
    display: grid;
    margin-top: 14px !important;
  }

  .amenities-note .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .amenity-card {
    flex-basis: 82vw;
  }

  .amenity-card h3 {
    font-size: .72rem !important;
  }

  .amenity-card ul {
    font-size: .74rem !important;
  }
}


/* ===== Footer finale pubblicazione: vecchio logo + nuova identità ===== */
.site-footer-final {
  padding-top: 0;
}

.footer-grid-final {
  grid-template-columns: minmax(360px, 1.6fr) minmax(190px, .7fr) minmax(170px, .62fr) !important;
  gap: clamp(30px, 5vw, 72px) !important;
  align-items: center !important;
  padding-top: clamp(46px, 6vw, 72px) !important;
  padding-bottom: clamp(24px, 4vw, 34px) !important;
}

.footer-brand-identity {
  min-width: 0;
}

.footer-logo-transition {
  display: grid;
  grid-template-columns: minmax(155px, 210px) auto minmax(190px, 260px);
  gap: clamp(12px, 2vw, 22px);
  align-items: center;
  max-width: 620px;
}

.footer-old-logo {
  width: 100%;
  height: auto;
  max-height: 96px;
  object-fit: contain;
  opacity: .68;
  filter: brightness(0) invert(1) drop-shadow(0 12px 24px rgba(0,0,0,.24));
}

.footer-logo-arrow {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242,179,157,.22);
  border-radius: 999px;
  color: rgba(242,179,157,.82);
  background: rgba(255,255,255,.045);
  font-family: var(--body);
  font-size: 1rem;
}

.footer-new-logo {
  display: grid;
  gap: 4px;
  color: rgba(255,255,255,.92);
}

.footer-new-wordmark {
  display: block;
  font-family: var(--title);
  font-size: clamp(2.1rem, 4.2vw, 3.55rem);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.07em;
  white-space: nowrap;
}

.footer-new-wordmark > span {
  color: #f2b39d;
}

.footer-new-logo small {
  color: rgba(255,255,255,.58);
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.footer-bottom-final {
  justify-content: center !important;
  padding: 18px 0 18px !important;
}

.footer-bottom-final small {
  max-width: none !important;
  color: rgba(255,255,255,.48);
}

.footer-grid-final .footer-column {
  gap: 8px;
}

.footer-grid-final .footer-column strong {
  margin-bottom: 4px;
}

.footer-grid-final .footer-column a,
.footer-grid-final .footer-column button {
  font-size: .82rem;
}

/* Rimuove visivamente residui non più necessari se ereditati da stili precedenti */
.footer-brand p,
.footer-coordinates,
.footer-bottom-final small[data-i18n="footer.meta"],
.footer-bottom-final small[data-i18n="footer.privacyNote"] {
  display: none !important;
}

@media (max-width: 980px) {
  .footer-grid-final {
    grid-template-columns: 1fr 1fr !important;
    align-items: start !important;
  }

  .footer-brand-identity {
    grid-column: 1 / -1;
  }

  .footer-logo-transition {
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .footer-grid-final {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    padding-top: 46px !important;
  }

  .footer-logo-transition {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
    max-width: 100%;
    text-align: center;
  }

  .footer-old-logo {
    max-width: 220px;
    max-height: 78px;
  }

  .footer-logo-arrow {
    transform: rotate(90deg);
  }

  .footer-new-wordmark {
    font-size: clamp(2.15rem, 13vw, 3rem);
  }

  .footer-new-logo small {
    font-size: .58rem;
    letter-spacing: .18em;
  }

  .footer-grid-final .footer-column {
    align-items: center;
    text-align: center;
  }

  .footer-grid-final .footer-column a,
  .footer-grid-final .footer-column button {
    width: auto;
    text-align: center;
  }
}


/* ===== FOOTER FIX DEFINITIVO: loghi caricati correttamente e footer pulito ===== */
.footer-clean {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(213,106,61,.12), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(15,94,104,.15), transparent 36%),
    linear-gradient(180deg, #141512 0%, #0d0f0d 100%);
}

.footer-main-clean {
  display: grid;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  grid-template-columns: minmax(460px, 1.35fr) minmax(320px, .85fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  padding: clamp(50px, 7vw, 82px) 0 28px;
}

.footer-logo-journey {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 44px minmax(220px, 310px);
  gap: clamp(12px, 2.2vw, 22px);
  align-items: center;
}

.footer-logo-card {
  position: relative;
  overflow: hidden;
  min-height: 138px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 22px 20px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.footer-logo-card-old {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,239,228,.92));
}

.footer-logo-card-new {
  background:
    radial-gradient(circle at 20% 0%, rgba(213,106,61,.18), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
}

.footer-logo-label {
  position: absolute;
  top: 10px;
  left: 12px;
  color: rgba(20,21,18,.50);
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-logo-card-new .footer-logo-label {
  color: rgba(242,179,157,.72);
}

.footer-logo-card-old img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 78px;
  object-fit: contain;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.footer-logo-arrow {
  width: 44px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242,179,157,.22);
  border-radius: 999px;
  color: rgba(242,179,157,.88);
  background: rgba(255,255,255,.055);
  font-size: 1.05rem;
}

.footer-new-wordmark {
  display: block;
  color: rgba(255,255,255,.94);
  font-family: var(--title);
  font-size: clamp(2.45rem, 4.2vw, 3.65rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.07em;
  white-space: nowrap;
}

.footer-new-wordmark > span {
  color: #f2b39d;
}

.footer-logo-card-new small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.56);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .20em;
  text-transform: uppercase;
  text-align: center;
}

.footer-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.footer-side .footer-column {
  gap: 8px;
}

.footer-side .footer-column strong {
  margin-bottom: 4px;
  color: #f2b39d;
}

.footer-side .footer-column a,
.footer-side .footer-column button {
  width: fit-content;
  font-size: .82rem;
  line-height: 1.45;
}

.footer-bottom-clean {
  display: flex;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 30px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-bottom-clean > small {
  color: rgba(255,255,255,.46);
  font-size: .72rem;
}

.footer-bottom-clean .footer-credit {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 10px;
}

.footer-bottom-clean .footer-credit::before {
  display: none !important;
}

.footer-bottom-clean .footer-credit span {
  color: rgba(242,179,157,.62);
  font-size: .62rem;
}

.footer-bottom-clean .footer-credit img {
  width: 116px !important;
  max-width: 116px !important;
  opacity: .72;
  filter: drop-shadow(0 7px 18px rgba(0,0,0,.30));
}

/* Neutralizza vecchie regole del footer precedente */
.footer-grid-final,
.footer-brand-identity,
.footer-logo-transition,
.footer-old-logo {
  all: unset;
}

@media (max-width: 1020px) {
  .footer-main-clean {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-logo-journey {
    max-width: 660px;
  }
}

@media (max-width: 720px) {
  .footer-main-clean,
  .footer-bottom-clean {
    width: min(100% - 36px, 1240px);
  }

  .footer-logo-journey {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }

  .footer-logo-arrow {
    transform: rotate(90deg);
  }

  .footer-logo-card {
    width: min(100%, 330px);
    min-height: 116px;
  }

  .footer-logo-card-old img {
    max-width: 210px;
    max-height: 68px;
  }

  .footer-new-wordmark {
    font-size: clamp(2.3rem, 13vw, 3.15rem);
  }

  .footer-side {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    text-align: center;
  }

  .footer-side .footer-column {
    align-items: center;
  }

  .footer-side .footer-column a,
  .footer-side .footer-column button {
    width: auto;
    text-align: center;
  }

  .footer-bottom-clean {
    display: grid;
    justify-items: center;
    text-align: center;
    padding-bottom: 26px;
  }

  .footer-bottom-clean .footer-credit {
    flex-direction: column;
    gap: 7px;
  }

  .footer-bottom-clean .footer-credit img {
    width: 108px !important;
    max-width: 108px !important;
  }
}


/* ===== Fix logo Cloud corretto + F maiuscola nuova identità ===== */
.footer-new-wordmark {
  text-transform: none !important;
}

.footer-new-capital {
  text-transform: uppercase;
}

.footer-new-o,
.footer-new-wordmark > span.footer-new-o {
  color: #f2b39d;
}

.footer-bottom-clean .footer-credit img,
.footer-credit img {
  width: min(150px, 38vw) !important;
  max-width: 150px !important;
  height: auto !important;
  opacity: .92 !important;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.34)) !important;
}

@media (max-width: 720px) {
  .footer-bottom-clean .footer-credit img,
  .footer-credit img {
    width: min(132px, 44vw) !important;
    max-width: 132px !important;
  }
}


/* ===== Footer clean logos only ===== */
.footer-logo-card-minimal {
  min-height: 124px;
  padding: 18px 18px;
}

.footer-logo-card-minimal img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-logo-card-minimal.footer-logo-card-old img {
  max-width: 220px;
  max-height: 82px;
}

.footer-logo-new-image {
  max-width: 240px;
  max-height: 88px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.16));
}

.footer-logo-card-old .footer-logo-label,
.footer-logo-card-new .footer-logo-label,
.footer-logo-card-new small {
  display: none !important;
}

@media (max-width: 720px) {
  .footer-logo-card-minimal {
    width: min(100%, 340px);
    min-height: 108px;
  }
  .footer-logo-card-minimal.footer-logo-card-old img {
    max-width: 200px;
    max-height: 72px;
  }
  .footer-logo-new-image {
    max-width: 220px;
    max-height: 78px;
  }
}


/* ===== Fix finale: footer senza freccia + lingue a fine menu burger mobile ===== */

/* Footer: vecchio e nuovo logo affiancati senza freccia. */
.footer-logo-arrow {
  display: none !important;
}

.footer-logo-journey {
  grid-template-columns: minmax(180px, 260px) minmax(220px, 310px) !important;
  gap: clamp(14px, 3vw, 30px) !important;
  justify-content: start;
}

.footer-logo-card-minimal {
  min-height: 124px;
}

@media (max-width: 720px) {
  .footer-logo-journey {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }
}

/* Mobile: il selettore lingua non occupa più spazio nell'header, ma resta in fondo al menu burger. */
@media (max-width: 900px) {
  .lang-switch-header {
    display: none !important;
  }

  .top-actions {
    gap: 8px;
  }
}

.drawer-lang-block {
  order: 99;
  margin: 28px 0 0 !important;
  padding: 13px 14px !important;
  border-top: 1px solid rgba(20,21,18,.08);
}

.drawer-lang-block .lang-switch-drawer {
  margin-left: auto;
}

@media (max-width: 520px) {
  .drawer-lang-block {
    margin-top: 24px !important;
  }
}


/* ===== Mobile fix: foto ristorante più curata ===== */
.restaurant-media-single picture {
  display: block;
  height: 100%;
}

.restaurant-media-single figure,
.restaurant-media-single picture,
.restaurant-media-single img {
  border-radius: 24px;
}

@media (max-width: 740px) {
  .restaurant-grid {
    gap: 26px;
  }

  .restaurant-media-single {
    max-width: 460px;
    margin: 0 auto;
  }

  .restaurant-media-single::before {
    right: -10px;
    bottom: -10px;
    width: 42%;
    height: 42%;
    border-radius: 18px;
  }

  .restaurant-media-single figure,
  .restaurant-media-single img {
    min-height: auto !important;
  }

  .restaurant-media-single img {
    aspect-ratio: 6 / 5 !important;
    object-position: 38% center;
  }
}

@media (max-width: 520px) {
  .restaurant-media-single {
    max-width: 100%;
  }

  .restaurant-media-single::before {
    display: none;
  }

  .restaurant-media-single figure {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(18,20,18,.12);
  }

  .restaurant-media-single img {
    aspect-ratio: 1 / 1 !important;
    object-position: 34% center;
  }
}

@media (max-width: 390px) {
  .restaurant-media-single img {
    aspect-ratio: 10 / 11 !important;
    object-position: 33% center;
  }
}


/* ===== Fix finale: footer privacy/cookie funzionanti + burger mobile sicuro ===== */

/* Footer: area policy con target cliccabili, chiari e sopra ogni decorazione. */
.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.footer-main-clean,
.footer-bottom-clean,
.footer-side,
.footer-column,
.footer-policy-actions {
  position: relative;
  z-index: 2;
}

.footer-policy-actions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.footer-policy-btn {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 999px !important;
  color: rgba(255,255,255,.82) !important;
  background: rgba(255,255,255,.055) !important;
  cursor: pointer;
  font-size: .72rem !important;
  font-weight: 850;
  letter-spacing: .045em;
  line-height: 1.1 !important;
  text-align: center !important;
  text-decoration: none !important;
  pointer-events: auto !important;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.footer-policy-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(242,179,157,.38) !important;
  color: #fff !important;
  background: rgba(242,179,157,.105) !important;
}

.footer-policy-btn-preferences {
  color: #121512 !important;
  background: rgba(242,179,157,.90) !important;
  border-color: rgba(242,179,157,.62) !important;
}

.footer-policy-btn-preferences:hover {
  color: #121512 !important;
  background: rgba(255,205,187,.96) !important;
}

/* Burger mobile: lingua in basso, menu scrollabile e senza sovrapposizioni. */
.drawer {
  height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: max(24px, calc(18px + env(safe-area-inset-bottom))) !important;
}

.drawer nav,
.drawer-coordinates,
.drawer-cta,
.drawer-note,
.drawer-legal,
.drawer-lang-block {
  flex-shrink: 0;
}

.drawer-note {
  margin-top: 18px !important;
}

.drawer-legal {
  margin-top: auto !important;
  padding-top: 22px;
}

.drawer-lang-block {
  order: 99;
  flex-shrink: 0;
  margin: 14px 0 0 !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.07) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.drawer-lang-label {
  color: rgba(255,255,255,.62) !important;
}

.drawer-lang-block .lang-switch-drawer {
  margin: 0 0 0 auto !important;
}

.drawer-lang-block .lang-switch button {
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.06);
}

.drawer-lang-block .lang-switch button.is-active,
.drawer-lang-block .lang-switch button[aria-pressed="true"] {
  color: #141512;
  background: rgba(242,179,157,.94);
}

/* Header mobile: il selettore lingue resta solo nel burger. */
@media (max-width: 900px) {
  .lang-switch-header {
    display: none !important;
  }
}

@media (max-width: 740px) {
  .drawer {
    width: 100%;
    padding: 20px 22px max(20px, calc(16px + env(safe-area-inset-bottom))) !important;
  }

  .drawer-head {
    padding-bottom: 18px !important;
  }

  .drawer-head img {
    width: min(152px, 46vw) !important;
  }

  .drawer nav {
    gap: 2px !important;
    margin-top: 18px !important;
  }

  .drawer nav a {
    padding: 9px 0 !important;
    font-size: clamp(1.28rem, 7vw, 1.72rem) !important;
    line-height: 1.02;
  }

  .drawer-coordinates {
    margin-top: 16px;
  }

  .drawer-cta {
    margin-top: 14px;
    min-height: 44px;
  }

  .drawer-note {
    margin-top: 14px !important;
    font-size: .82rem !important;
    line-height: 1.5;
  }

  .drawer-legal {
    gap: 10px !important;
    justify-content: center;
  }

  .drawer-lang-block {
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .drawer {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .drawer nav a {
    font-size: clamp(1.18rem, 7.1vw, 1.5rem) !important;
  }

  .drawer-lang-block {
    padding: 10px 11px !important;
  }

  .drawer-lang-block .lang-switch button {
    min-width: 31px !important;
    height: 31px !important;
    font-size: .58rem;
  }
}

@media (max-height: 700px) and (max-width: 740px) {
  .drawer-head {
    padding-bottom: 12px !important;
  }

  .drawer nav {
    margin-top: 12px !important;
  }

  .drawer nav a {
    padding: 7px 0 !important;
    font-size: clamp(1.06rem, 5.7vh, 1.38rem) !important;
  }

  .drawer-coordinates,
  .drawer-note {
    display: none !important;
  }

  .drawer-cta {
    margin-top: 12px;
  }

  .drawer-legal {
    padding-top: 14px;
  }

  .drawer-lang-block {
    margin-top: 10px !important;
  }
}


/* ===== Footer policy links click fix definitivo ===== */
.footer-policy-actions,
.footer-policy-actions * {
  pointer-events: auto !important;
}

.footer-policy-actions {
  position: relative;
  z-index: 20;
}

.footer-policy-link {
  position: relative;
  z-index: 21;
  cursor: pointer !important;
}

.footer-policy-link::after {
  content: "↗";
  margin-left: 7px;
  font-size: .72em;
  opacity: .72;
}

.footer-policy-btn {
  user-select: none;
  -webkit-tap-highlight-color: rgba(242,179,157,.20);
}

.footer-policy-btn:focus-visible {
  outline: 2px solid rgba(242,179,157,.90);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .footer-policy-actions {
    width: min(100%, 280px);
    margin-left: auto;
    margin-right: auto;
  }
}


/* ===== Fix contrasto parte bassa menu burger mobile ===== */
.drawer {
  color: var(--ink) !important;
}

.drawer-note,
.drawer-legal,
.drawer-lang-block {
  position: relative;
  z-index: 2;
}

/* Nota finale: più leggibile e meno "persa" sul fondo */
.drawer-note {
  margin-top: 18px !important;
  padding: 14px 15px !important;
  border: 1px solid rgba(20,21,18,.09);
  border-radius: 16px;
  color: rgba(20,21,18,.68) !important;
  background: rgba(255,255,255,.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58);
}

/* Link privacy/cookie nel burger: diventano piccoli pill chiari e cliccabili */
.drawer-legal {
  display: flex !important;
  justify-content: center;
  gap: 8px !important;
  margin-top: auto !important;
  padding-top: 18px !important;
  color: var(--ink) !important;
}

.drawer-legal a,
.drawer-legal button {
  min-height: 32px;
  padding: 8px 10px !important;
  border: 1px solid rgba(20,21,18,.11) !important;
  border-radius: 999px;
  color: rgba(20,21,18,.72) !important;
  background: rgba(255,255,255,.52) !important;
  font-size: .66rem !important;
  font-weight: 850;
  letter-spacing: .045em;
  text-decoration: none !important;
  white-space: nowrap;
}

.drawer-legal a:hover,
.drawer-legal button:hover {
  color: var(--ink) !important;
  border-color: rgba(185,77,50,.28) !important;
  background: rgba(242,179,157,.32) !important;
}

/* Lingua in fondo: contrasto scuro su sfondo chiaro, senza sovrapposizioni */
.drawer-lang-block {
  order: 99;
  margin: 14px 0 0 !important;
  padding: 12px 13px !important;
  border: 1px solid rgba(20,21,18,.12) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.48)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    0 10px 26px rgba(20,21,18,.06) !important;
}

.drawer-lang-label {
  color: rgba(20,21,18,.58) !important;
}

.drawer-lang-block .lang-switch-drawer {
  border-color: rgba(20,21,18,.13) !important;
  background: rgba(20,21,18,.055) !important;
}

.drawer-lang-block .lang-switch button,
.drawer-lang-block .lang-switch-drawer button {
  color: rgba(20,21,18,.62) !important;
  background: transparent !important;
}

.drawer-lang-block .lang-switch button.is-active,
.drawer-lang-block .lang-switch button[aria-pressed="true"],
.drawer-lang-block .lang-switch-drawer button.is-active,
.drawer-lang-block .lang-switch-drawer button[aria-pressed="true"] {
  color: #fff !important;
  background: var(--ink) !important;
  box-shadow: 0 7px 16px rgba(20,21,18,.16);
}

/* CTA coerente con il blocco basso */
.drawer-cta {
  border: 1px solid rgba(20,21,18,.10);
  box-shadow: 0 12px 28px rgba(20,21,18,.10);
}

@media (max-width: 740px) {
  .drawer-note {
    margin-top: 14px !important;
    padding: 12px 13px !important;
    font-size: .8rem !important;
  }

  .drawer-legal {
    gap: 7px !important;
    padding-top: 14px !important;
  }

  .drawer-legal a,
  .drawer-legal button {
    min-height: 30px;
    padding: 7px 9px !important;
    font-size: .62rem !important;
  }

  .drawer-lang-block {
    margin-top: 11px !important;
    padding: 10px 11px !important;
  }
}

@media (max-width: 390px) {
  .drawer-legal {
    gap: 6px !important;
  }

  .drawer-legal a,
  .drawer-legal button {
    padding: 7px 8px !important;
    font-size: .58rem !important;
  }

  .drawer-lang-label {
    font-size: .6rem !important;
  }
}

@media (max-height: 700px) and (max-width: 740px) {
  .drawer-note {
    display: none !important;
  }

  .drawer-legal {
    margin-top: auto !important;
    padding-top: 12px !important;
  }

  .drawer-lang-block {
    margin-top: 8px !important;
  }
}


/* ===== Fix definitivo link Privacy/Cookie footer ===== */
.footer-policy-actions,
.footer-policy-actions * {
  pointer-events: auto !important;
}

.footer-policy-actions {
  position: relative;
  z-index: 30;
}

.footer-policy-link {
  position: relative;
  z-index: 31;
  cursor: pointer !important;
  touch-action: manipulation;
}

.footer-policy-link::after {
  content: "↗";
  margin-left: 7px;
  font-size: .72em;
  opacity: .72;
}

.footer-policy-btn {
  user-select: none;
  -webkit-tap-highlight-color: rgba(242,179,157,.20);
}

.footer-policy-btn:focus-visible {
  outline: 2px solid rgba(242,179,157,.90);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .footer-policy-actions {
    width: min(100%, 280px);
    margin-left: auto;
    margin-right: auto;
  }
}
