/* Brasserie La Neige – impostazione ripresa da osteriadellaparola.it, palette di montagna */
:root {
  --legno: #8C6239;      /* accento caldo (ruolo dell'oro) */
  --sabbia: #D2B48C;     /* pulsante chiaro sull'hero */
  --abete: #2F4A3C;      /* secondario (ruolo del bordeaux) */
  --testo: #24211E;
  --neve: #F4F1EA;       /* sfondo crema */
  --neve-scura: #E8E1D3; /* fasce e riquadri */
  --bianco: #FFFDF9;
  --raggio: 14px;
  --ombra: 0 12px 30px -12px rgb(36 33 30 / .35);
  --mano: "Sue Ellen Francisco", cursive;
  --titoli: "Outfit", system-ui, sans-serif;
  --corpo: "DM Sans", system-ui, sans-serif;
  --larghezza: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--neve);
  color: var(--testo);
  font: 400 1.0625rem/1.65 var(--corpo);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
::selection { background: var(--abete); color: var(--bianco); }
:focus-visible { outline: 2px solid var(--legno); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titoli); font-weight: 700; text-transform: uppercase; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: .01em; }
h2 { font-size: clamp(1.875rem, 1rem + 2.6vw, 2.8125rem); color: var(--abete); }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

.mano { font-family: var(--mano); font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--legno); letter-spacing: .06em; line-height: 1.2; margin: 0 0 .35em; text-transform: lowercase; }
.mano.piccolo { font-size: 1.25rem; margin: 1.6em 0 .2em; }

/* Pulsanti a pillola */
.pulsanti { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pulsanti--colonna { flex-direction: column; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 30px; border-radius: 999px;
  font: 600 .9rem/1 var(--titoli); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--ombra); }
.btn--abete { background: var(--abete); color: var(--bianco); }
.btn--abete:hover { background: #253c30; }
.btn--sabbia { background: var(--sabbia); color: var(--testo); }
.btn--scuro { background: var(--testo); color: var(--bianco); }
.btn--linea { border: 1.5px solid var(--abete); color: var(--abete); }
.btn--linea:hover { background: var(--abete); color: var(--bianco); }

/* Testata come nel riferimento: riga con indirizzo e telefono, sotto la barra scura con il logo nel tondo */
.testata { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 0 clamp(12px, 2vw, 28px); color: var(--bianco); }
.testata__info { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: 1640px; margin: 0 auto; padding: 22px clamp(8px, 4vw, 90px) 16px; }
.info { display: flex; align-items: center; gap: 16px; text-decoration: none; font-size: 1rem; line-height: 1.3; }
.info--destra { text-align: right; }
.info__titolo { display: block; font: 400 1.35rem/1.1 var(--mano); letter-spacing: .06em; text-transform: uppercase; color: var(--sabbia); }
.info__tondo { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--legno); transition: transform .3s var(--esci); }
.info:hover .info__tondo { transform: scale(1.08); }
.info svg, .barra__tel svg { width: 20px; height: 20px; fill: currentColor; }
.barra {
  --alto: 96px; --tondo: 184px;
  position: relative; max-width: 1640px; height: var(--alto); margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-radius: 999px; background: rgb(36 33 30 / .94); box-shadow: 0 18px 40px -20px rgb(0 0 0 / .6);
}
.barra__apri { justify-self: start; width: 54px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.barra__apri span, .barra__apri span::before, .barra__apri span::after { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--esci), width .35s var(--esci), opacity .2s; }
.barra__apri span { width: 52px; position: relative; }
.barra__apri span::before, .barra__apri span::after { content: ""; position: absolute; right: 0; }
.barra__apri span::before { width: 40px; top: -12px; }
.barra__apri span::after { width: 40px; top: 12px; }
.barra__apri:hover span::before, .barra__apri:hover span::after { width: 52px; }
.barra__apri[aria-expanded="true"] span { background: transparent; }
.barra__apri[aria-expanded="true"] span::before { width: 40px; transform: translate(-6px, 12px) rotate(45deg); }
.barra__apri[aria-expanded="true"] span::after { width: 40px; transform: translate(-6px, -12px) rotate(-45deg); }
.barra__voci { display: flex; align-items: center; justify-content: center; }
.barra__voci > a:not(.logo) { position: relative; padding: 10px 0; margin: 0 clamp(14px, 2.2vw, 36px); font: 600 1rem var(--titoli); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.barra__voci > a:not(.logo)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -26px; height: 3px; background: var(--sabbia); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--esci); }
.barra__voci > a:not(.logo):hover::after, .barra__voci > a:not(.logo):focus-visible::after { transform: scaleX(1); }
.barra__voci > a:nth-child(2), .barra__voci > a:nth-child(5) { margin-left: 0; }
.barra__voci > a:nth-child(2)::after, .barra__voci > a:nth-child(5)::after { left: calc(clamp(14px, 2.2vw, 36px) + .6em); }
.barra__voci > a:nth-child(2)::before, .barra__voci > a:nth-child(5)::before { content: "/"; margin-right: clamp(14px, 2.2vw, 36px); color: rgb(255 253 249 / .35); font-weight: 400; }
.barra__tel { justify-self: end; display: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--legno); }
.logo {
  display: grid; justify-items: center; align-content: center; flex: none;
  width: var(--tondo); height: var(--tondo); margin: calc((var(--alto) - var(--tondo)) / 2) clamp(24px, 4vw, 64px); border-radius: 50%;
  background: var(--neve); color: var(--abete); text-decoration: none;
  box-shadow: 0 14px 30px -16px rgb(0 0 0 / .55);
  transition: transform .4s var(--esci);
}
.barra .logo:hover { transform: scale(1.03); }
.logo svg { width: 84px; height: 28px; color: var(--legno); }
.logo__nome { font: 400 2.2rem/1 Georgia, "Times New Roman", serif; letter-spacing: .02em; }
.logo__sotto { font: 500 .78rem var(--titoli); letter-spacing: .3em; text-transform: uppercase; margin-top: 6px; padding-left: .3em; color: var(--legno); }
.pannello {
  position: absolute; top: calc(100% + 12px); left: 0; width: min(360px, 100%); padding: 28px 36px;
  display: grid; gap: 4px; border-radius: 28px; background: var(--testo); box-shadow: var(--ombra);
  animation: sali .45s var(--esci) both;
}
.pannello[hidden] { display: none; }
.pannello > a { padding: 8px 0; font: 600 1.05rem var(--titoli); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.pannello > a:hover { color: var(--sabbia); }
.pannello p { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgb(255 253 249 / .15); }
.pannello p + p { margin-top: 0; border: 0; padding-top: 4px; }
.pannello .mano { display: block; color: var(--sabbia); text-transform: uppercase; font-size: 1.2rem; margin: 0; }
/* Barra crema con testi verdi e logo senza tondo (anche sul computer, come sul telefono) */
.barra { background: var(--neve); color: var(--abete); box-shadow: 0 14px 30px -18px rgb(0 0 0 / .55); }
.barra .logo, .barra .logo:hover { width: auto; height: auto; margin-block: 0; background: none; box-shadow: none; transform: none; }
.barra .logo svg { width: 64px; height: 22px; }
.barra .logo__nome { font-size: 2rem; }
.barra .logo__sotto { margin-top: 4px; }
.barra__voci > a:not(.logo)::after { background: var(--legno); }
.barra__voci > a:nth-child(2)::before, .barra__voci > a:nth-child(5)::before { color: rgb(47 74 60 / .35); }
.barra__tel { color: var(--bianco); }
.pannello { background: var(--neve); color: var(--testo); }
.pannello > a:hover { color: var(--legno); }
.pannello p { border-top-color: rgb(36 33 30 / .15); }
.pannello .mano { color: var(--legno); }
/* Scorrendo, la barra resta in alto solo su telefono e tablet; sul computer la testata se ne va con la pagina */
@media (max-width: 1100px) {
  .testata--fissa .barra { position: fixed; top: 16px; left: clamp(12px, 2vw, 28px); right: clamp(12px, 2vw, 28px); --alto: 78px; --tondo: 104px; animation: scende .5s var(--esci) both; }
  .testata--fissa .logo svg { width: 56px; height: 20px; }
  .testata--fissa .logo__nome { font-size: 1.5rem; }
  .testata--fissa .logo__sotto { font-size: .62rem; margin-top: 3px; }
  .testata--fissa .barra__voci > a:not(.logo)::after { bottom: -17px; }
}
/* Sul computer, in fondo alla pagina, ricompare la barra piatta a tutta larghezza come nel riferimento */
@media (min-width: 1101px) {
  .testata--fondo .barra { --alto: 70px; --tondo: 70px; position: fixed; top: 0; left: 0; right: 0; max-width: none; border-radius: 0; background: var(--abete); color: var(--bianco); animation: scende .5s var(--esci) both; }
  .testata--fondo .barra__voci > a:not(.logo)::after { background: var(--sabbia); }
  .testata--fondo .barra__voci > a:nth-child(2)::before, .testata--fondo .barra__voci > a:nth-child(5)::before { color: rgb(255 253 249 / .35); }
  .testata--fondo .logo, .testata--fondo .logo:hover { width: auto; height: auto; margin-block: 0; background: none; box-shadow: none; transform: none; color: var(--bianco); }
  .testata--fondo .logo svg { width: 44px; height: 15px; color: var(--sabbia); }
  .testata--fondo .logo__nome { font-size: 1.45rem; }
  .testata--fondo .logo__sotto { font-size: .58rem; margin-top: 3px; color: var(--sabbia); }
  .testata--fondo .barra__voci > a:not(.logo)::after { transform: scaleX(1); bottom: -15px; }
}
@keyframes scende { from { transform: translateY(-120%); } }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; place-items: end center; overflow: hidden; color: var(--bianco); text-align: center; }
.hero__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: lento 18s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 18 16 / .25) 0%, rgb(20 18 16 / .55) 45%, rgb(20 18 16 / .85) 100%); }
.hero__testo { position: relative; z-index: 1; max-width: 780px; padding: 0 20px clamp(56px, 9vh, 96px); }
.hero h1 { font-size: clamp(1.875rem, 1rem + 2.6vw, 2.8125rem); margin-bottom: .35em; }
.hero .mano { color: var(--sabbia); }
.hero p:not(.mano) { font-size: 1.05rem; max-width: 62ch; margin: 0 auto 2em; color: #F1ECE4; }
@keyframes lento { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Benvenuti + orari */
.benvenuti {
  max-width: var(--larghezza); margin: 0 auto; padding: clamp(72px, 10vw, 128px) clamp(16px, 4vw, 40px);
  display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start;
}
.benvenuti__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.benvenuti__intro img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--raggio); box-shadow: var(--ombra); }
.benvenuti h2 { margin-bottom: .55em; font-size: clamp(1.8rem, 2.6vw, 2.4rem); overflow-wrap: break-word; }
.benvenuti p:not(.mano) { max-width: 60ch; }
.orari { background: var(--neve-scura); border-radius: var(--raggio); padding: 32px 30px; }
.orari h3 { font-size: 1.9rem; text-transform: none; margin-bottom: 18px; }
.orari dl { margin: 0; display: grid; gap: 12px; }
.orari dl div { display: flex; align-items: baseline; gap: 10px; }
.orari dt { font: 600 .8rem var(--titoli); letter-spacing: .12em; text-transform: uppercase; }
.orari dl div::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted rgb(36 33 30 / .35); }
.orari dd { order: 2; margin: 0; color: var(--abete); font-variant-numeric: tabular-nums; font-size: .95rem; }

/* Fascia con il profilo delle montagne (al posto della carta strappata) */
.crinale {
  height: clamp(120px, 16vw, 200px);
  background: var(--neve-scura) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M0 70 L90 40 L160 58 L260 12 L340 50 L420 30 L520 62 L600 20 L700 55 L790 26 L880 48 L960 8 L1060 50 L1130 34 L1200 52 V150 L1120 168 L1010 152 L900 176 L780 158 L660 180 L540 160 L420 178 L300 156 L180 174 L80 160 L0 172 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M0 70 L90 40 L160 58 L260 12 L340 50 L420 30 L520 62 L600 20 L700 55 L790 26 L880 48 L960 8 L1060 50 L1130 34 L1200 52 V150 L1120 168 L1010 152 L900 176 L780 158 L660 180 L540 160 L420 178 L300 156 L180 174 L80 160 L0 172 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* Tre punti di forza */
.tre { position: relative; max-width: var(--larghezza); margin: 0 auto; padding: clamp(64px, 9vw, 112px) clamp(16px, 4vw, 40px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.tre .crinale { position: absolute; top: 50%; left: 50%; width: 100vw; translate: -50% -50%; z-index: -1; }
.tre { isolation: isolate; }
/* Le tre card si girano al clic, come quelle del riferimento (stessa tecnica della tessera di Soggiorna da noi) */
.tessera.scheda { max-width: none; color: var(--bianco); text-align: center; }
.scheda .tessera__faccia { aspect-ratio: 370 / 533; }
.scheda .tessera__faccia::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgb(20 18 16 / .75)); }
.scheda img { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.scheda:hover .tessera__faccia:not(.tessera__retro) img { transform: scale(1.05); }
.scheda__titolo { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2; font: 400 clamp(2.2rem, 3vw, 2.8rem)/1 var(--mano); text-transform: lowercase; color: var(--bianco); text-shadow: 0 2px 12px rgb(0 0 0 / .5); }
.scheda__frecce { position: absolute; right: 16px; bottom: 18px; z-index: 2; display: flex; color: var(--bianco); filter: drop-shadow(0 1px 3px rgb(0 0 0 / .6)); transition: transform .25s; }
.scheda__frecce svg { width: 30px; height: 30px; margin-left: -13px; animation: freccia 1.8s ease-in-out infinite; }
.scheda__frecce svg:nth-child(2) { animation-delay: .2s; }
.scheda__frecce svg:nth-child(3) { animation-delay: .4s; }
@keyframes freccia { 0%, 100% { opacity: .35; } 40% { opacity: 1; } }
.scheda:hover .scheda__frecce { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .scheda__frecce svg { animation: none; } }
.scheda .tessera__testo { padding: 28px; gap: 16px; }
.scheda .tessera__testo .scheda__titolo { position: static; color: var(--sabbia); }
.scheda__testo { font-size: 1.05rem; line-height: 1.6; color: #EFE9E0; max-width: 28ch; margin: 0 auto; }

/* Prenota */
.prenota { max-width: var(--larghezza); margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 40px) clamp(72px, 10vw, 128px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
/* Tre foto sovrapposte come nel riferimento: piatto in alto a destra, tavola davanti a sinistra, dolce in basso */
.prenota__foto { position: relative; aspect-ratio: 78 / 74; }
.prenota__foto img { position: absolute; object-fit: cover; border-radius: var(--raggio); }
.prenota__foto img:nth-child(1) { left: 31.5%; top: 0; width: 68.5%; height: 48%; }
.prenota__foto img:nth-child(2) { left: 21%; top: 52%; width: 68.5%; height: 48%; }
.prenota__foto img:nth-child(3) { left: 0; top: 34%; width: 51.7%; height: 36%; z-index: 1; box-shadow: 0 22px 40px -18px rgb(36 33 30 / .55); }
.prenota h2 { margin-bottom: .55em; }
.prenota p:not(.mano) { max-width: 52ch; margin-bottom: 1.8em; }

/* Recensioni */
.voci { position: relative; text-align: center; padding: clamp(96px, 12vw, 140px) clamp(16px, 4vw, 40px) clamp(72px, 10vw, 112px); background: var(--neve-scura); }
.voci__timbro { position: absolute; top: 0; left: 50%; translate: -50% -50%; width: 112px; height: 112px; border-radius: 50%; background: var(--neve); color: var(--legno); padding: 8px; box-shadow: var(--ombra); rotate: -8deg; }
.voci h2 { margin-bottom: .5em; }
.voci .mano { color: #6E4A28; }
.voci__intro { max-width: 64ch; margin: 0 auto 48px; }
.voci .onda { margin: 0 auto 40px; }
.voci__giostra { max-width: 860px; margin: 0 auto 44px; }
.voci__lista { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 4px; }
.voci__lista::-webkit-scrollbar { display: none; }
.voci figure { margin: 0; padding: 0 clamp(4px, 3vw, 40px); scroll-snap-align: center; scroll-snap-stop: always; }
.voci blockquote { margin: 0 0 22px; font: 500 clamp(1.15rem, 2.2vw, 1.5rem)/1.6 var(--titoli); color: var(--abete); text-wrap: pretty; }
.voci figcaption { font: 600 clamp(.85rem, 1.4vw, 1rem) var(--titoli); letter-spacing: .16em; text-transform: uppercase; color: #6E4A28; }
.voci__punti { display: flex; justify-content: center; gap: 4px; margin-top: 22px; }
.voci__punti button { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.voci__punti button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--abete); opacity: .25; transition: opacity .3s, transform .3s; }
.voci__punti button[aria-current="true"]::before { opacity: 1; transform: scale(1.25); }
.btn--icona { gap: 12px; }
.btn--icona svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 560px) { .btn--icona { padding: 0 18px; font-size: .78rem; letter-spacing: .1em; } }

/* Chiusura */
.chiusura { display: grid; grid-template-columns: 1.9fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); padding: clamp(64px, 9vw, 112px) clamp(16px, 4vw, 40px) clamp(64px, 9vw, 112px) 0; }
.chiusura__foto { overflow: hidden; border-radius: 0 var(--raggio) var(--raggio) 0; }
.chiusura__foto img { width: 100%; height: clamp(380px, 52vw, min(640px, 80svh)); object-fit: cover; }
.chiusura__testo { text-align: center; }
.chiusura h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--testo); margin-bottom: 1em; }
.onda { height: 14px; margin: 36px auto 0; max-width: 320px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 14'%3E%3Cpath d='M2 7c20-8 30 8 50 0s30-8 50 0 30 8 50 0 30-8 50 0 30 8 50 0 30-8 66 0' fill='none' stroke='%232F4A3C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.telefono { font-family: var(--mano); font-size: 2rem; color: var(--legno); text-decoration: none; letter-spacing: .04em; }

/* Footer */
.piede { background: var(--neve); border-top: 1px solid rgb(36 33 30 / .08); }
.piede__griglia { max-width: var(--larghezza); margin: 0 auto; padding: 64px clamp(16px, 4vw, 40px); display: grid; grid-template-columns: auto 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.logo--grande { margin: 0; width: auto; height: auto; box-shadow: none; background: none; align-self: start; align-content: start; }
.logo--grande svg { width: 150px; height: 50px; }
.logo--grande .logo__nome { font-size: 3.9rem; }
.logo--grande .logo__sotto { font-size: 1.05rem; margin-top: 12px; }
.piede h3 { font-size: 1.75rem; text-transform: none; margin-bottom: .6em; }
.piede p { font-size: .95rem; }
.piede a { text-decoration: none; }
.piede a:hover { text-decoration: underline; }
.social { display: flex; gap: 14px; margin-top: 22px; }
.piede .social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--legno); color: var(--legno); transition: background-color .25s, color .25s, transform .3s var(--esci); }
.piede .social a:hover { background: var(--legno); color: var(--bianco); transform: translateY(-2px); text-decoration: none; }
.social svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .social { justify-content: center; } }
.piede__riga { background: var(--abete); color: #E6EDE8; display: flex; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 4vw, 40px); font-size: .85rem; }
.piede__riga p { margin: 0; }
.piede__riga :focus-visible { outline-color: var(--bianco); }
.nascosto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Telefono e tablet */
@media (max-width: 900px) {
  .benvenuti, .prenota, .chiusura { grid-template-columns: 1fr; }
  .tre { grid-template-columns: 1fr; }
  .scheda .tessera__faccia { aspect-ratio: 4 / 5; }
  .chiusura { padding-right: 0; }
  .chiusura__foto { border-radius: 0; }
  .chiusura__foto img { height: 360px; }
  .chiusura__testo { padding: 0 16px; }
  .piede__griglia { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
@media (max-width: 560px) {
  .benvenuti__intro { grid-template-columns: 1fr; }
  .benvenuti__intro img { aspect-ratio: 4 / 3; }
  .hero { min-height: 88vh; }
  .btn { width: 100%; }
  .pulsanti--colonna .btn { width: auto; min-width: 240px; }
  .piede__riga { flex-direction: column; align-items: center; }
}
/* Bordi a crinale con un sentiero tratteggiato e le bandierine sulle cime (al posto della carta strappata del riferimento): appena accennato */
.crinale { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cg opacity='.38'%3E%3Cpath d='M0 96 L90 66 L160 84 L260 38 L340 76 L420 56 L520 88 L600 46 L700 81 L790 52 L880 74 L960 34 L1060 76 L1130 60 L1200 78' stroke='%238C6239' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none' vector-effect='non-scaling-stroke' stroke-dasharray='1.5 7'/%3E%3Cpath d='M260 38 V22' stroke='%238C6239' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M260 22 L269 25 L260 28 Z' fill='%238C6239' fill-opacity='.7'/%3E%3Cpath d='M600 46 V30' stroke='%238C6239' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M600 30 L609 33 L600 36 Z' fill='%238C6239' fill-opacity='.7'/%3E%3Cpath d='M960 34 V18' stroke='%238C6239' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M960 18 L969 21 L960 24 Z' fill='%238C6239' fill-opacity='.7'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 100% 100%, auto; }
.voci { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); margin-top: clamp(50px, 7vw, 100px); }
.voci::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(50px, 7vw, 100px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cg opacity='.38'%3E%3Cpath d='M0 78 L110 56 L190 70 L300 36 L380 64 L470 50 L560 74 L650 44 L760 68 L850 48 L940 64 L1030 32 L1120 62 L1200 52' stroke='%238C6239' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none' vector-effect='non-scaling-stroke' stroke-dasharray='1.5 7'/%3E%3Cpath d='M300 36 V20' stroke='%238C6239' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M300 20 L309 23 L300 26 Z' fill='%238C6239' fill-opacity='.7'/%3E%3Cpath d='M650 44 V28' stroke='%238C6239' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M650 28 L659 31 L650 34 Z' fill='%238C6239' fill-opacity='.7'/%3E%3Cpath d='M1030 32 V16' stroke='%238C6239' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M1030 16 L1039 19 L1030 22 Z' fill='%238C6239' fill-opacity='.7'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100%, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") var(--neve-scura);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 V54 L110 32 L190 48 L300 10 L380 42 L470 26 L560 52 L650 18 L760 46 L850 24 L940 42 L1030 6 L1120 40 L1200 28 V100 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 V54 L110 32 L190 48 L300 10 L380 42 L470 26 L560 52 L650 18 L760 46 L850 24 L940 42 L1030 6 L1120 40 L1200 28 V100 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.voci__timbro { z-index: 1; }

/* Soggiorna da noi: tessera che si gira al clic */
.soggiorna { text-align: center; padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 40px) clamp(80px, 11vw, 136px); }
.soggiorna h2 { margin-bottom: clamp(28px, 4vw, 44px); }
.tessera { display: grid; width: 100%; max-width: 1000px; margin: 0 auto; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1600px; border-radius: var(--raggio); font: inherit; color: inherit; }
.tessera__faccia { grid-area: 1 / 1; position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--raggio); overflow: hidden; box-shadow: var(--ombra); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .9s var(--esci, cubic-bezier(.16,1,.3,1)); }
.tessera__faccia img { width: 100%; height: 100%; object-fit: cover; }
.tessera__retro { transform: rotateY(180deg); }
.tessera[aria-pressed="true"] .tessera__faccia:not(.tessera__retro) { transform: rotateY(-180deg); }
.tessera[aria-pressed="true"] .tessera__retro { transform: rotateY(0); }
.tessera__invito { position: absolute; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px 12px 22px; border-radius: 999px; background: rgb(255 253 249 / .92); color: var(--abete); font: 600 .85rem var(--titoli); letter-spacing: .16em; text-transform: uppercase; box-shadow: var(--ombra); transition: transform .25s; }
.tessera__invito svg { width: 18px; height: 18px; }
.tessera:hover .tessera__invito { transform: translateX(4px); }
.tessera__retro img { filter: brightness(.38) saturate(.7) blur(1px); scale: 1.03; }
.tessera__retro::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgb(20 18 16 / .1), rgb(20 18 16 / .65)); }
.tessera__testo { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; gap: 6px; color: var(--bianco); }
.tessera__testo .mano { color: var(--sabbia); margin: 0; }
.tessera__testo strong { font: 700 clamp(2.4rem, 7vw, 5rem)/1 var(--titoli); text-transform: uppercase; letter-spacing: .02em; }
.tessera:focus-visible { outline-offset: 6px; }
@media (max-width: 560px) { .tessera__faccia { aspect-ratio: 4 / 5; } .tessera__invito { right: 14px; bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { .tessera[aria-pressed="true"] .tessera__faccia:not(.tessera__retro) { visibility: hidden; } }

/* Movimento: entrate in ingresso pagina e allo scorrimento, come nel riferimento (slideInUp/Left/Right, zoomIn) */
:root { --esci: cubic-bezier(.16, 1, .3, 1); }
.hero__testo > * { animation: sali 1s var(--esci) both; }
.hero__testo > :nth-child(1) { animation-delay: .25s; }
.hero__testo > :nth-child(2) { animation-delay: .4s; }
.hero__testo > :nth-child(3) { animation-delay: .55s; }
.hero__testo > :nth-child(4) { animation-delay: .7s; }
@keyframes sali { from { opacity: 0; transform: translateY(28px); } }

.anima [data-anima] { transition: opacity .9s var(--esci), transform 1.1s var(--esci), filter .9s var(--esci); transition-delay: var(--ritardo, 0s); }
.anima [data-anima]:not(.visto) { opacity: 0; }
.anima [data-anima="su"]:not(.visto) { transform: translateY(60px); }
.anima [data-anima="sinistra"]:not(.visto) { transform: translateX(-70px); }
.anima [data-anima="destra"]:not(.visto) { transform: translateX(70px); }
.anima [data-anima="zoom"]:not(.visto) { transform: scale(.85); filter: blur(6px); }
.anima .voci__timbro[data-anima]:not(.visto) { transform: scale(.4) rotate(-40deg); }
.voci__timbro.visto { transition-duration: .9s, 1.4s, .9s; }
html, body, main { overflow-x: clip; } /* le entrate di lato non devono allargare la pagina (su iPhone si poteva rimpicciolire con due dita) */

/* Parallasse leggera (dove il browser la supporta) */
@supports (animation-timeline: view()) {
  .chiusura__foto img { scale: 1.15; animation: parallasse linear both; animation-timeline: view(); }
  @keyframes parallasse { from { translate: 0 -6%; } to { translate: 0 6%; } }
}

/* Torna su */
.su {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 20;
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--legno); color: var(--bianco); box-shadow: var(--ombra);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .4s var(--esci), transform .4s var(--esci), visibility .4s, background-color .25s;
}
.su svg { width: 22px; height: 22px; }
.su--vista { opacity: 1; visibility: visible; transform: none; }
.su:hover { background: var(--abete); }
.su:focus-visible { opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.voci__voto { margin: -28px auto 48px; font: 600 .85rem var(--titoli); letter-spacing: .14em; text-transform: uppercase; color: var(--abete); }
.voci__voto span { font-weight: 500; text-transform: none; letter-spacing: 0; color: #5a524a; }

/* Testata su schermi stretti: tre righe, logo e telefono; le voci stanno nel pannello */
@media (max-width: 1100px) {
  .testata__info { display: none; }
  .testata { padding-top: 12px; }
  .barra { --alto: 72px; --tondo: 104px; padding: 0 18px; }
  .barra__voci > a:not(.logo) { display: none; }
  .barra__tel { display: grid; }
  .barra .logo { margin-inline: 0; }
  .barra .logo svg { width: 50px; height: 18px; }
  .barra .logo__nome { font-size: 1.35rem; }
  .barra .logo__sotto { font-size: .58rem; margin-top: 3px; letter-spacing: .24em; }
  .barra__apri { width: 44px; }
  .barra__apri span { width: 40px; }
  .barra__apri span::before, .barra__apri span::after, .barra__apri:hover span::before, .barra__apri:hover span::after { width: 30px; }
  .testata--fissa .barra { --alto: 62px; --tondo: 80px; top: 14px; }
  .testata--fissa .barra .logo__nome { font-size: 1.08rem; }
  .testata--fissa .barra .logo svg { width: 38px; height: 14px; }
  .testata--fissa .barra .logo__sotto { font-size: .48rem; margin-top: 2px; }
  /* Sul telefono: barra crema, logo senza tondo, pannello chiaro */
  .barra { background: var(--neve); color: var(--abete); box-shadow: 0 14px 30px -18px rgb(0 0 0 / .55); }
  .barra .logo, .barra .logo:hover { width: auto; height: auto; margin: 0; background: none; box-shadow: none; transform: none; }
  .barra__tel { color: var(--bianco); }
  .pannello { background: var(--neve); color: var(--testo); }
  .pannello > a:hover { color: var(--legno); }
  .pannello p { border-top-color: rgb(36 33 30 / .15); }
  .pannello .mano { color: var(--legno); }
}

/* Prenota sul telefono: le due foto una sotto l'altra come prima, senza la terza */
@media (max-width: 900px) {
  .prenota__foto { position: static; aspect-ratio: auto; display: grid; gap: 18px; }
  .prenota__foto img:nth-child(n) { position: static; width: 100%; height: auto; aspect-ratio: 16 / 10; box-shadow: var(--ombra); }
  /* Telefono: prima testo e pulsante, centrati; sotto le due foto a tutta larghezza, come nel riferimento */
  .prenota__testo { order: -1; text-align: center; }
  .prenota p:not(.mano) { margin-inline: auto; }
  .prenota__foto img:nth-child(3) { display: none; }
}

/* Le schermate basse dei portatili: la tessera dei bungalow sta tutta nello schermo */
.soggiorna .tessera { max-width: min(1000px, (100svh - 140px) * 1.5); }
