/* Restorant Tradicional Urat · concept by KERA Tech Solutions
   Rebuilt on the structure of guidodacostigliole.it (hellobarrio): sticky circle "frames" sections,
   pill links, accordion menus with cursor image, drag gallery, rolling number, rotating ring pre-footer. */

:root {
  font-size: 62.5%;
  /* palette: reference tonal structure, shifted to Gjirokastër (paprika, stone, aubergine) */
  --rosa-chiaro-rgb: 249, 231, 220;
  --rosa-chiaro: rgb(var(--rosa-chiaro-rgb));
  --rosa: #f1bfa6;
  --arancione: #c9441c;
  --azzurro: #3e716c;
  --azzurro-chiaro: #d4e1d9;
  --viola: #6a3a5c;
  --viola-chiaro: #e8ceda;
  --bianco-rgb: 255, 255, 255;
  --bianco: #fff;
  --nero: #000;
  --rosso-stella: #8e2a1a;

  --ff-display: "Oranienbaum", "Didot", "Bodoni 72", "Times New Roman", serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ff-logo: "Instrument Serif", "Times New Roman", serif;

  --header-height: 70px;
  --section-distance: 140px;
  --distance: 30px;
  --distance-half: calc(var(--distance) / 2);
  --distance-big: calc(var(--distance) * 2);
  --frame-h: 700px;
  --frame-w: 1000px;
  --alvivo-h: 1000px;
  --alvivo-w: 1000px;
  --disk: calc(var(--frame-h) - 100px);
  --cta-height: 50px;
  --letters-w: 560px;
  --letters-h: 250px;
  --gallery-h: 600px;
  --slide-w: 900px;
  --ring: 500px;
  --busta: 330px;
  --wrap: calc(100% - 180px);
  --transition: all 0.3s ease-out;
  --transition-fast: all 0.15s ease-out;
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--ff-body); font-weight: 400;
  background-color: var(--rosa-chiaro); color: var(--nero);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body { overflow-x: clip; }
body.open-menu { overflow: hidden; }
img { display: block; max-width: none; }
h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; transition: var(--transition); }
:focus { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 10001; background: var(--bianco); color: var(--azzurro); padding: 10px 16px; border-radius: 50%; font-size: 1.3rem; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* ------------------------------------------------------------------ type (reference scale, 10px rem) */
.titolo-super { font-family: var(--ff-display); font-size: 26rem; line-height: 26rem; font-weight: 400; text-transform: uppercase; }
.titolo-big { font-family: var(--ff-display); font-size: 9rem; line-height: 9rem; font-weight: 400; text-transform: uppercase; letter-spacing: normal; }
.titolo { font-family: var(--ff-display); font-size: 6rem; line-height: 6rem; font-weight: 400; text-transform: uppercase; letter-spacing: normal; }
.titolo-small, .occhiello { font-family: var(--ff-display); font-size: 2.8rem; line-height: 3.4rem; font-weight: 400; text-transform: uppercase; }
.testo-big { font-family: var(--ff-body); font-size: 3rem; line-height: 4rem; }
.testo, .testo p, p { font-family: var(--ff-body); font-size: 1.6rem; line-height: 3.2rem; }
.link { font-size: 1.4rem; line-height: 2.4rem; text-transform: uppercase; }
.menu-header li a, .cont-footer .content-main *, .lang_selector button, .gallery-cursor span { font-family: var(--ff-body); font-size: 1.5rem; line-height: 3rem; }
.sub-footer .footer-content * { font-family: var(--ff-body); font-size: 1rem; line-height: 2rem; }
.bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }

.wrapper { width: var(--wrap); max-width: 1400px; margin: 0 auto; }
.wrapper-big { width: calc(100% - 60px); max-width: 1600px; margin: 0 auto; }
section { position: relative; padding: var(--section-distance) 0; }
[class*="cont-"] > * + * { margin-top: var(--distance-half); }

/* section colourways (reference: back-rosa / back-viola / back-azzurro-chiaro / back-azzurro / back-viola-chiaro) */
.back-rosa { background-color: var(--rosa-chiaro); color: var(--arancione); }
.back-viola { background-color: var(--viola); color: var(--viola-chiaro); }
.back-azzurro-chiaro { background-color: var(--azzurro-chiaro); color: var(--azzurro); }
.back-azzurro { background-color: var(--azzurro); color: var(--rosa); }
.back-viola-chiaro { background-color: var(--viola-chiaro); color: var(--viola); }

/* ------------------------------------------------------------------ pill link (ellipse, two-arc arrow) */
.link {
  width: auto; min-height: 35px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--bianco); background-color: var(--bianco); border-radius: 50%;
  padding: calc(var(--distance-half) / 2) var(--distance); position: relative; text-decoration: none !important;
  transition: var(--transition); --c: var(--arancione);
}
.link span { color: var(--c); position: relative; z-index: 2; white-space: nowrap; transition: var(--transition); }
.link .link-arrow, .link .link-ext { width: 14px; height: 14px; min-width: 14px; position: relative; overflow: hidden; margin-left: 10px; display: block; }
.link .link-arrow::before, .link .link-arrow::after {
  content: ""; width: 14px; height: 14px; position: absolute; right: -7px; border-radius: 50px;
  border-top: 1px solid var(--c); border-bottom: 1px solid var(--c); border-left: 1px solid transparent; border-right: 1px solid transparent;
  transition: var(--transition);
}
.link .link-arrow::after { top: -7px; transform: rotate(45deg); }
.link .link-arrow::before { bottom: -7px; transform: rotate(-45deg); }
.link .link-ext { overflow: visible; }
.link .link-ext::before { content: ""; position: absolute; inset: 2px; border-top: 1px solid var(--c); border-right: 1px solid var(--c); }
.link .link-ext::after { content: ""; position: absolute; width: 14px; height: 1px; background: var(--c); top: 6px; left: 0; transform: rotate(-45deg); }
.link:hover, .link:focus-visible { background-color: transparent; border-color: var(--c); }
.link:hover .link-arrow::after, .link:focus-visible .link-arrow::after { transform: rotate(-135deg); }
.link:hover .link-arrow::before, .link:focus-visible .link-arrow::before { transform: rotate(135deg); }
.back-viola .link { --c: var(--viola); }
.back-viola .link:hover, .back-viola .link:focus-visible { --c: var(--viola-chiaro); }
.back-azzurro-chiaro .link, .back-azzurro .link { --c: var(--azzurro); }
.back-azzurro .link:hover, .back-azzurro .link:focus-visible { --c: var(--rosa); }
.back-viola-chiaro .link { --c: var(--viola); }

/* ------------------------------------------------------------------ header (fixed nav row, centred mark) */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; height: calc(var(--header-height) * 2);
  z-index: 21; pointer-events: none; transition: var(--transition);
}
.site-header.hidden { opacity: 0; }
.site-header.hidden * { pointer-events: none !important; }
.nav-desktop {
  width: var(--wrap); max-width: 1400px; height: var(--header-height); margin: var(--header-height) auto 0;
  display: flex; align-items: center; justify-content: space-between; position: relative; pointer-events: none;
}
.nav-desktop * { pointer-events: all; }
.logo-header, .logo-footer {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  font-family: var(--ff-logo); font-style: italic; font-size: 5.4rem; line-height: 1; text-decoration: none;
  color: var(--arancione); transition: color 0s, opacity .3s ease-out; letter-spacing: -0.01em; padding: 0 6px 6px;
}
.logo-header span, .logo-footer span { display: block; position: relative; }
.logo-header span::after, .logo-footer span::after {
  content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  top: 2px; right: -6px;
}
.menu-header {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between;
  z-index: 1; transition: var(--transition); opacity: 1; top: 0;
}
body.collapsed .menu-header { top: calc(var(--header-height) * -1); opacity: 0; pointer-events: none; }
body.collapsed .menu-header * { pointer-events: none; }
.menu-header li.nav-item { min-width: 100px; min-height: 30px; display: flex; align-items: center; justify-content: center; margin: 0; }
.menu-header li.hidden { opacity: 0; pointer-events: none; }
.menu-header li a { position: relative; text-decoration: none; text-transform: uppercase; color: var(--azzurro); }
.menu-header li a::before {
  content: ""; width: 9px; height: 10px; border-radius: 50%; position: absolute; top: -18px; left: 50%;
  transform: translate(-50%, -50%) rotate(20deg) scale(.6); opacity: 0; transition: var(--transition); background: currentColor;
}
.menu-header li a:hover::before, .menu-header li.current a::before { opacity: 1; transform: translate(-50%, -50%) rotate(20deg) scale(1); }
.site-header .lang_selector {
  display: flex; align-items: center; justify-content: space-between; position: fixed;
  width: var(--wrap); max-width: 1400px; bottom: 90px; left: 50%; transform: translateX(-50%); z-index: 15; transition: var(--transition);
  pointer-events: none;
}
body.collapsed .site-header .lang_selector { opacity: 0; }
body.collapsed .site-header .lang_selector * { pointer-events: none; }
.site-header .lang_selector li { min-width: 100px; min-height: 30px; display: flex; align-items: center; justify-content: center; }
.site-header .lang_selector button { color: var(--arancione); opacity: .6; text-transform: uppercase; pointer-events: all; }
.site-header .lang_selector button.active { opacity: 1; }
.lang_selector button:hover { opacity: 1; }

/* header colour cases, switched by ScrollTrigger like the reference */
.site-header.case-regular .logo-header { color: var(--arancione); }
.site-header.case-regular .menu-header a { color: var(--azzurro); }
.site-header.case-viola .logo-header { color: var(--rosa); }
.site-header.case-viola .menu-header a { color: var(--viola-chiaro); }
.site-header.case-azzurro .logo-header { color: var(--rosa); }
.site-header.case-azzurro .menu-header a { color: var(--azzurro-chiaro); }
.site-header.case-viola-chiaro .logo-header { color: var(--viola); }
.site-header.case-viola-chiaro .menu-header a { color: var(--viola); }
body.open-menu .site-header .logo-header { color: var(--rosa) !important; }

/* hamburger + circular overlay (reference mobile pattern; also shown on desktop once the nav collapses) */
.btn-hamburger {
  width: 44px; height: 44px; position: fixed; bottom: 40px; right: 40px; z-index: 23; border-radius: 50%;
  background: var(--arancione); display: none; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  pointer-events: all; transition: var(--transition);
}
.btn-hamburger span { width: 18px; height: 1.5px; background: var(--bianco); display: block; transition: var(--transition); }
body.collapsed .btn-hamburger { display: flex; }
body.open-menu .btn-hamburger { background: var(--rosa); }
body.open-menu .btn-hamburger span { background: var(--arancione); }
body.open-menu .btn-hamburger span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.open-menu .btn-hamburger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.overlay {
  position: fixed; inset: 0; background-color: var(--rosa-chiaro); overflow: hidden; z-index: 20;
  opacity: 0; pointer-events: none; transition: all .5s ease-out; visibility: hidden;
}
body.open-menu .overlay { opacity: 1; pointer-events: all; visibility: visible; }
.overlay-background {
  width: 44px; height: 44px; position: fixed; bottom: 40px; right: 40px; background-color: var(--arancione);
  border-radius: 50%; transition: all .45s ease-out; z-index: 8;
}
body.open-menu .overlay-background { width: 280vh; height: 280vh; bottom: calc((140vh - 22px) * -1); right: calc((140vh - 22px) * -1); }
.overlay .cont-center { position: absolute; left: 0; top: 50%; width: 100%; transform: translateY(-50%); z-index: 10; opacity: 0; transition: all .5s ease-out; }
body.open-menu .overlay .cont-center { opacity: 1; transition: all .5s .5s ease-out; }
.menu-overlay li { display: flex; justify-content: center; padding: 18px 0; }
.menu-overlay a { font-family: var(--ff-display); font-size: 4.5rem; line-height: 4.5rem; letter-spacing: 3.2px; text-transform: uppercase; color: var(--rosa); text-decoration: none; white-space: nowrap; }
.menu-overlay li.current a, .menu-overlay a:hover { color: var(--bianco); }
.overlay .lang_selector { display: flex; justify-content: center; margin-top: 50px; }
.overlay .lang_selector button { color: var(--rosa); margin: 0 10px; opacity: .6; text-transform: uppercase; font-size: 1.6rem; }
.overlay .lang_selector button.active { opacity: 1; }

/* ------------------------------------------------------------------ loader (teal sheet that fades out) */
.loader {
  position: fixed; inset: 0; width: 100vw; height: 100vh; background-color: var(--azzurro); z-index: 9999;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
  animation: loader-comeout .8s 1s ease-out both;
}
.loader-content { font-family: var(--ff-logo); font-style: italic; font-size: 7rem; color: var(--azzurro-chiaro); opacity: .9; }
@keyframes loader-comeout { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }

/* ------------------------------------------------------------------ section head */
.section-first { padding-top: calc(var(--header-height) * 4) !important; }
.section-head { width: 100%; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.section-head .titolo-big { width: 70%; margin-left: 15%; padding-top: 50px; }
.stella {
  position: absolute; top: calc(var(--header-height) * -1); left: 50%; transform: translateX(-50%);
  min-height: 107px; display: flex; align-items: center; justify-content: center; gap: .45em; white-space: nowrap;
  font-family: var(--ff-body); font-size: 2.4rem; line-height: 1; color: var(--rosso-stella); letter-spacing: -.01em;
}
.stella b { font-weight: 700; }
.stella .b-star { font-size: .9em; }
.stella .b-dot { opacity: .6; }
.back-azzurro-chiaro .stella { color: var(--azzurro); }

/* ------------------------------------------------------------------ section body: sticky circle + two texts */
.section-body { width: 100%; position: relative; z-index: 1; margin-top: var(--distance-big); }
.section-body > * { position: relative; z-index: 2; }
.section-animated .section-body, .section-2immagini .section-body { margin-top: 0; }
.cont-sticky { width: 100%; position: sticky; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.cont-sticky .cta-wrapper {
  width: 100%; height: var(--cta-height); position: absolute; top: calc(var(--frame-h) + 10px);
  display: flex; align-items: center; justify-content: center; z-index: 2; margin-top: 0; transition: all .8s ease-out;
}
.cta-wrapper.mobile { display: none; }
.section-body .cont-sticky + .cont-testo, .section-body .cont-testo + .cont-testo { margin-top: var(--section-distance); }
.section-body .cont-testo { width: 25%; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 3; }
.section-body .cont-testo:nth-child(even) { margin-right: auto; }
.section-body .cont-testo:nth-child(odd) { margin-left: auto; }
.cont-sticky.opacited { opacity: .1; pointer-events: none; }
.cont-sticky.opacited .cta-wrapper { transform: translateY(50px); opacity: 0; }

.section-animated { width: 100%; min-height: 450px; padding: var(--section-distance) 0; position: relative; }
.frames-mask { display: flex; justify-content: center; width: 100%; }
.frames-container { position: relative; text-align: center; }
.section-animated .background {
  width: var(--disk); height: var(--disk); border-radius: 50%; background-color: var(--bianco);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.8); z-index: 1;
  transition: var(--transition); overflow: hidden; isolation: isolate;
  box-shadow: -16px 24px 44px rgba(0, 0, 0, .16);
}
.section-animated .background.is-in { transform: translate(-50%, -50%) scale(1); }
.section-animated.back-rosa .background { background-color: var(--rosa); }
.section-animated .background .frames { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.section-animated.animazione-centered .cont-sticky { height: var(--frame-h); top: calc(50vh - var(--frame-h) / 2); }
.section-animated.animazione-centered .frames-container { width: var(--frame-w); height: var(--frame-h); min-width: var(--frame-w); }
.section-animated.animazione-centered .cont-testo { height: var(--frame-h); }

/* al vivo: frame sits on the bottom edge of the viewport; the photo rises out of the disk as an arch */
.section-animated.animazione-alvivo { padding-bottom: 0 !important; }
.section-animated.animazione-alvivo .cont-sticky { height: var(--alvivo-h); top: calc(100vh - var(--alvivo-h)); }
.section-animated.animazione-alvivo .frames-container { width: var(--alvivo-w); height: var(--alvivo-h); min-width: var(--alvivo-w); overflow: hidden; }
.section-animated.animazione-alvivo .cont-testo { height: var(--alvivo-h); }
.section-animated.animazione-alvivo .cont-sticky .cta-wrapper { top: calc(var(--alvivo-h) - 90px); }
.section-animated.animazione-alvivo .background { background-color: var(--azzurro-chiaro); }
.arch {
  position: absolute; left: 50%; width: calc(var(--disk) * .86); top: calc(50% - var(--disk) / 2 - var(--disk) * .08); bottom: 0;
  transform: translateX(-50%) scale(.8); transform-origin: 50% 100%; border-radius: 999px 999px 0 0; overflow: hidden; z-index: 2;
  transition: var(--transition); box-shadow: 0 -10px 40px rgba(0, 0, 0, .12);
}
.arch.is-in { transform: translateX(-50%) scale(1); }
.arch .frames { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

/* ------------------------------------------------------------------ accordion menu */
.section-accordion { padding-bottom: 0 !important; }
.accordion { width: 100%; }
.accordion-item { position: relative; transition: background-color .3s ease-out; }
.accordion-item:last-child { padding-bottom: var(--distance-big); }
.accordion-item.opened { background-color: rgba(var(--bianco-rgb), .5); }
.accordion-heading { margin: 0; font: inherit; }
.accordion-header { width: 100%; position: relative; cursor: pointer; display: block; color: var(--azzurro); text-align: center; }
.accordion-header .wrapper { height: calc(var(--section-distance) * 1.4); display: flex; align-items: center; justify-content: center; }
.accordion-header .wrapper::before, .accordion-header .wrapper::after { content: ""; flex: 1 1 0; height: 1px; background-color: var(--azzurro); position: relative; z-index: 3; }
.accordion-header .titolo-big { white-space: nowrap; margin: 0 var(--distance); position: relative; z-index: 3; transition: color .3s ease-out; }
.accordion-header:hover .titolo-big, .accordion-header[aria-expanded="true"] .titolo-big { color: var(--arancione); }
.accordion-collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease-out; }
.accordion-collapse.show { grid-template-rows: 1fr; }
.accordion-inner { overflow: hidden; min-height: 0; padding: 0 var(--distance-big); visibility: hidden; transition: visibility 0s .45s; }
.accordion-collapse.show .accordion-inner { visibility: visible; transition: visibility 0s 0s; }
.accordion-body { padding: var(--distance-big) 0; position: relative; z-index: 3; }
.lista-thumb {
  width: 360px; height: 360px; margin: 0 auto calc(var(--distance-big) * 2); background-color: var(--bianco); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.lista-thumb img { width: 270px; height: 270px; border-radius: 50%; object-fit: cover; position: relative; z-index: 2; }
.lista-thumb .svg { width: 460px; height: 460px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: rotate360 120s linear infinite; }
.lista-thumb svg, .busta-background svg { width: 100%; height: 100%; overflow: visible; }
.lista-thumb text { font-family: var(--ff-display); font-size: 28px; fill: var(--azzurro); letter-spacing: 1px; }
.menu-list { max-width: 1100px; margin: 0 auto; }
.menu-item { display: flex; align-items: baseline; justify-content: space-between; gap: var(--distance); border-bottom: 1px solid var(--azzurro); padding: calc(var(--distance) * .8) var(--distance); color: var(--azzurro); }
.menu-item .mi-names { display: flex; flex-direction: column; }
.menu-item .mi-a { color: var(--azzurro); }
.menu-item .mi-b { font-size: 1.4rem; line-height: 2.4rem; opacity: .85; }
.menu-item .prezzo { font-family: var(--ff-display); font-size: 3.2rem; line-height: 1; white-space: nowrap; color: var(--arancione); }
.menu-item .prezzo small { font-family: var(--ff-body); font-size: 1.1rem; letter-spacing: .08em; color: var(--azzurro); }
.menu-item.categoria { border-bottom: 0; padding-top: var(--distance-big); }
.menu-item.categoria:first-child { padding-top: 0; }
.menu-item.categoria .titolo { display: block; width: 100%; padding-bottom: var(--distance-half); border-bottom: 1px solid var(--azzurro); color: var(--arancione); }
.accordion-footer { padding-bottom: var(--section-distance); position: relative; z-index: 3; }
.accordion-footer .menu-footer { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--distance); color: var(--azzurro); }
.accordion-cursor-container { position: fixed; z-index: 2; pointer-events: none; top: 0; left: 0; display: none; }
.accordion.armed .accordion-cursor-container { display: block; }
.accordion-cursor {
  width: 440px; height: 440px; opacity: 0; position: absolute; top: -220px; left: -220px; background-color: var(--bianco);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; transform: scale(.6); transition: opacity .3s ease-out, transform .3s ease-out; overflow: hidden;
}
.accordion-cursor img { width: 100%; height: 100%; object-fit: cover; }
.accordion-cursor.on { opacity: 1; transform: scale(1); }
.accordion-item.opened .accordion-cursor { opacity: 0 !important; transform: scale(.6) !important; }
@keyframes rotate360 { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ------------------------------------------------------------------ gallery (drag strip + cursor pill) */
.section-gallery { width: 100vw; margin-left: calc((100vw - 100%) / -2); position: relative; cursor: none; }
.gallery-viewport { width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; cursor: inherit; }
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-viewport.dragging { cursor: grabbing; }
.gallery-track { display: flex; gap: 15px; width: max-content; padding: 0; }
.gallery-track .slide { width: var(--slide-w); height: var(--gallery-h); flex: 0 0 auto; }
.gallery-track .slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.gallery-cursor-container { position: fixed; z-index: 5; pointer-events: none; top: 0; left: 0; }
.gallery-cursor {
  width: 140px; min-height: 35px; background-color: var(--bianco); border-radius: 50%; padding: 7px 20px;
  position: absolute; top: -18px; left: -70px; display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: scale(0); transition: var(--transition-fast); color: var(--viola);
}
.gallery-cursor.on { opacity: 1; transform: scale(1); }
.gallery-cursor span { text-transform: uppercase; }
.gallery-cursor .arr { width: 10px; height: 10px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; display: block; }
.gallery-cursor .arr-l { transform: rotate(-45deg); }
.gallery-cursor .arr-r { transform: rotate(135deg); }

/* ------------------------------------------------------------------ rolling number (section-carouseldata) */
.section-carouseldata .section-body { height: 250vh; margin-top: 0; }
.section-carouseldata .cont-sticky { top: calc(50vh - var(--frame-h) / 2); }
.data-container { width: var(--frame-w); height: var(--frame-h); min-width: var(--frame-w); position: relative; display: flex; align-items: center; justify-content: center; }
.data-container > * { position: relative; z-index: 2; }
.data-container > .background {
  width: calc(var(--frame-w) + var(--section-distance)); height: calc(var(--frame-w) + var(--section-distance));
  border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; background-color: var(--viola); opacity: .8;
}
.data {
  width: 600px; height: 600px; padding: var(--distance); background-color: var(--bianco); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--viola);
}
.data .titolo { max-width: 80%; }
.data-mask { width: var(--letters-w); height: var(--letters-h); position: relative; overflow: hidden; margin: 10px 0; }
.data-list { width: 100%; position: absolute; bottom: 0; left: 0; display: flex; flex-direction: column; }
.data-list-item { width: 100%; height: var(--letters-h); display: flex; justify-content: center; align-items: center; }
.data-list-item .titolo-super { display: inline-flex; color: var(--arancione); }
.immagine-dettaglio { position: absolute !important; left: -50px; bottom: -50px; width: 300px; height: 300px; z-index: 3 !important; }
.immagine-dettaglio img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: -8px -8px 32px rgba(0, 0, 0, .2); }
.section-carouseldata .section-head { margin-bottom: var(--section-distance); }

/* ------------------------------------------------------------------ two photos (section-2immagini) */
.section-2immagini .cont-sticky { top: calc(50vh - var(--frame-h) / 2); margin-bottom: calc(var(--frame-h) * .5); }
.foto-container { width: var(--frame-w); height: var(--frame-h); min-width: var(--frame-w); position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: calc(var(--frame-h) * -.5); }
.foto { position: absolute; top: 50%; left: 50%; }
.foto img { width: 100%; height: 100%; object-fit: cover; box-shadow: -8px -8px 32px rgba(0, 0, 0, .2); border-radius: 3%; }
.foto.verticale { width: 300px; height: 430px; left: calc(50% - 130px); transform: translate(-50%, -50%) rotate(8deg); }
.foto.orizzontale { width: 430px; height: 300px; left: calc(50% + 130px); transform: translate(-50%, -50%) rotate(-8deg); }
@media (min-width: 992px) and (max-width: 1499.98px) {
  .foto.verticale { width: 250px; height: 360px; left: calc(50% - 120px); }
  .foto.orizzontale { width: 360px; height: 250px; left: calc(50% + 120px); }
}
.section-2immagini .cont-sticky .cta-wrapper { top: calc(var(--frame-h) + 10px); }
.section-2immagini .cont-testo { height: var(--frame-h); }
.section-2immagini blockquote p { font-style: normal; }
.section-2immagini .by { font-size: 1.2rem; line-height: 2rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }

/* ------------------------------------------------------------------ visit (section-contatti) */
.section-contatti .section-body { margin-top: var(--section-distance); }
.contatti-grid { display: grid; grid-template-columns: repeat(12, 1fr); }
.contatti-grid .cont-contatti:nth-child(1) { grid-column: 2 / span 4; }
.contatti-grid .cont-contatti:nth-child(2) { grid-column: 8 / span 4; }
.cont-contatti { display: flex; flex-direction: column; align-items: flex-start; }
.cont-contatti > * + * { margin-top: calc(var(--distance-half) * 1.5); }
.cont-contatti .links { display: flex; flex-direction: column; }
.cont-contatti .links a { font-size: 1.6rem; line-height: 3.2rem; text-decoration: none; color: var(--azzurro); }
.cont-contatti .links a:hover span:last-child { color: var(--arancione); }
.cont-contatti .cta-wrapper { margin-top: var(--distance); }

/* ------------------------------------------------------------------ pre-footer (rotating ring) */
.pre-footer {
  width: 100%; background-color: var(--rosa); padding: var(--section-distance) 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; position: relative; border-bottom: 1px solid var(--azzurro); overflow: hidden;
}
.busta-link { position: relative; display: block; width: var(--ring); height: var(--ring); text-decoration: none; }
.busta-photo { position: absolute; top: 50%; left: 50%; width: var(--busta); height: var(--busta); transform: translate(-50%, -50%); z-index: 2; border-radius: 50%; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .14); }
.busta-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease-out; }
.busta-link:hover .busta-photo img { transform: scale(1.06); }
.busta-background { position: absolute; inset: 0; transform: translate(-50%, -50%) rotate(0); top: 50%; left: 50%; width: 100%; height: 100%; z-index: 1; animation: rotate360 120s linear infinite; display: block; }
.busta-background::after { content: ""; position: absolute; width: calc(100% - 100px); height: calc(100% - 100px); top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--bianco); border-radius: 50%; opacity: .8; }
.busta-background text { font-family: var(--ff-display); font-size: 34px; fill: var(--azzurro); text-transform: uppercase; }
.pre-footer .link { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; opacity: 0; }
.busta-link:hover .link, .busta-link:focus-visible .link { opacity: 1; }
.busta-link:hover .link .link-arrow::after { transform: rotate(-135deg); }
.busta-link:hover .link .link-arrow::before { transform: rotate(135deg); }

/* ------------------------------------------------------------------ footer + sub-footer */
footer { padding-top: var(--section-distance); padding-bottom: var(--distance-big); background-color: var(--rosa); color: var(--azzurro); }
footer * { color: var(--azzurro); }
.footer-content { width: 100%; display: flex; }
footer .footer-content-left { width: 50%; padding-right: var(--section-distance); display: grid; grid-template-columns: 6fr 4fr 2fr; }
footer .footer-content-right { width: 50%; padding-left: var(--section-distance); border-left: 1px solid var(--azzurro); display: grid; grid-template-columns: repeat(3, 1fr); }
.cont-footer { display: flex; flex-direction: column; }
.cont-footer > * + * { margin-top: 0; }
.cont-footer .content-head { min-height: 40px; padding-bottom: 6px; }
.cont-footer .content-main { display: flex; flex-direction: column; align-items: flex-start; }
.cont-footer .content-main * { margin: 0; }
.cont-footer .content-main .bold { font-weight: 700; text-transform: uppercase; }
.cont-footer a { text-decoration: none; display: block; }
.cont-footer a:hover span, .cont-footer a:focus-visible span { color: var(--arancione); }
footer .lang_selector button { display: inline-flex; align-items: center; color: var(--azzurro); text-transform: uppercase; }
footer .lang_selector button:hover { color: var(--arancione); }
footer .lang_selector button.active::after { content: ""; width: 8px; height: 8px; margin-left: 16px; border-radius: 50%; background-color: var(--arancione); }
.occhiello.credit-title { font-size: 1rem !important; line-height: 2rem !important; font-family: var(--ff-body) !important; text-transform: uppercase; }
footer .credit { color: var(--arancione) !important; font-weight: 700; margin-top: 10px !important; letter-spacing: -.01em; }
footer .credit:hover { color: var(--bianco) !important; }
.sub-footer { width: 100%; position: relative; padding: var(--distance) 0; background-color: var(--rosa); color: var(--azzurro); }
.sub-footer::before, .sub-footer::after { content: ""; width: calc(50% - 60px); height: 1px; background-color: var(--azzurro); position: absolute; top: 0; }
.sub-footer::before { left: 0; }
.sub-footer::after { right: 0; }
.sub-footer .logo-footer { top: 0; font-size: 4rem; color: var(--arancione); }
.sub-footer .footer-content-left, .sub-footer .footer-content-right { width: 50%; display: flex; align-items: center; justify-content: space-between; }
.sub-footer .footer-content-left { padding-right: var(--section-distance); justify-content: flex-start; }
.sub-footer .footer-content-left > :first-child { width: 320px; }
.sub-footer .footer-content-right { padding-left: var(--section-distance); }
.sub-footer a { text-decoration: none; color: var(--azzurro); }
.sub-footer a:hover { color: var(--arancione); }

/* ------------------------------------------------------------------ concept toast */
.concept-toast {
  position: fixed; left: 20px; bottom: 20px; z-index: 30; max-width: 380px; display: flex; align-items: flex-start; gap: 12px;
  background: var(--bianco); color: var(--azzurro); border-radius: 18px; padding: 12px 14px 12px 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  transform: translateY(20px); opacity: 0; transition: transform .5s ease-out, opacity .5s ease-out;
}
.concept-toast.show { transform: none; opacity: 1; }
.concept-toast p { font-size: 1.25rem; line-height: 1.9rem; }
.toast-close { font-size: 2rem; line-height: 1; color: var(--arancione); padding: 0 4px; }

/* ================================================================== responsive (reference breakpoints) */
@media (max-width: 1499.98px), (max-height: 899.98px) {
  :root {
    --header-height: 50px; --section-distance: 100px; --frame-h: 609px; --frame-w: 870px; --alvivo-h: 609px; --alvivo-w: 609px;
    --cta-height: 40px; --letters-w: 440px; --letters-h: 190px; --gallery-h: 370px; --slide-w: 550px; --ring: 380px; --busta: 250px;
  }
  .titolo-super { font-size: 19rem; line-height: 19rem; }
  .titolo-big { font-size: 6rem; line-height: 6rem; }
  .titolo { font-size: 4rem; line-height: 4rem; letter-spacing: 2px; }
  .titolo-small, .occhiello { font-size: 2rem; line-height: 2.6rem; }
  .testo-big { font-size: 2.2rem; line-height: 3rem; }
  .testo, .testo p, p { font-size: 1.4rem; line-height: 2.8rem; letter-spacing: .5px; }
  .link { font-size: 1.2rem; line-height: 2rem; }
  .menu-header li a, .cont-footer .content-main *, .lang_selector button, .gallery-cursor span { font-size: 1.2rem; line-height: 2.4rem; }
  .stella { font-size: 2rem; }
  .logo-header { font-size: 4.6rem; }
  .data { width: 520px; height: 520px; }
  .immagine-dettaglio { width: 220px; height: 220px; }
  .lista-thumb { width: 300px; height: 300px; }
  .lista-thumb img { width: 230px; height: 230px; }
  .lista-thumb .svg { width: 390px; height: 390px; }
  .menu-item .prezzo { font-size: 2.6rem; }
}
@media (max-width: 1199.98px) {
  :root { --header-height: 40px; --section-distance: 80px; }
  .titolo-big { font-size: 5rem; line-height: 5rem; }
  .titolo { font-size: 3rem; line-height: 3rem; letter-spacing: 1.5px; }
  footer .footer-content-left { padding-right: calc(var(--section-distance) / 2); }
  footer .footer-content-right { padding-left: calc(var(--section-distance) / 2); }
  .section-body .cont-testo { width: 28%; }
}

/* tablet + mobile: stacked texts, hamburger nav (reference < 992) */
@media (max-width: 991.98px) {
  :root { --frame-h: 455px; --frame-w: 650px; --alvivo-h: 455px; --alvivo-w: 650px; --wrap: calc(100% - 80px); --letters-w: 360px; --letters-h: 150px; }
  .titolo-big { font-size: 5rem; line-height: 5rem; }
  .titolo { font-size: 3.6rem; line-height: 3.6rem; letter-spacing: 2px; }
  .titolo-super { font-size: 15rem; line-height: 15rem; }
  .testo, .testo p, p { font-size: 1.6rem; line-height: 2.8rem; }
  .menu-header, .site-header .lang_selector { display: none; }
  .nav-desktop { justify-content: center; }
  .btn-hamburger { display: flex; }
  .section-head .titolo-big { width: 90%; margin-left: 5%; }
  .section-animated .cont-testo, .section-2immagini .cont-testo {
    width: calc(100% - 40px); margin: var(--distance-big) 20px 0 !important; height: auto !important; z-index: 5;
  }
  .section-animated .cont-testo:nth-child(even), .section-2immagini .cont-testo:nth-child(even) { margin-top: 50vh !important; }
  .section-animated .section-body, .section-2immagini .section-body { padding-bottom: 120px; }
  .section-animated.animazione-alvivo { padding-bottom: var(--section-distance) !important; }
  .section-animated.animazione-alvivo .cont-sticky { top: calc(50vh - var(--alvivo-h) / 2); }
  .section-animated.animazione-alvivo .cont-sticky .cta-wrapper { top: calc(var(--frame-h) + 10px); }
  .cont-sticky .cta-wrapper, .cont-sticky { transition: all .8s ease-out; }
  .frames-mask { width: calc(100% + 80px); margin: 0 -40px; overflow: hidden; }
  .data { width: 420px; height: 420px; }
  .data-container > .background { width: 90vw; height: 90vw; }
  .immagine-dettaglio { width: 180px; height: 180px; left: 0; bottom: -20px; }
  .foto-container { width: 100%; min-width: 100%; height: 600px; overflow: hidden; }
  footer .footer-content { flex-direction: column; }
  footer .footer-content-left, footer .footer-content-right { width: 100%; padding: calc(var(--section-distance) / 2) 0; }
  footer .footer-content-right { border-left: 0; border-top: 1px solid var(--azzurro); }
  .contatti-grid .cont-contatti:nth-child(1) { grid-column: 2 / span 5; }
  .contatti-grid .cont-contatti:nth-child(2) { grid-column: 8 / span 5; }
  .accordion-header .titolo-big { white-space: normal; }
  .titolo-super { font-size: 12rem; line-height: 12rem; }
  :root { --letters-w: 330px; --letters-h: 130px; }
  .sub-footer .footer-content { flex-direction: column; gap: 10px; padding-top: 20px; }
  .sub-footer .footer-content-left, .sub-footer .footer-content-right { width: 100%; padding: 0; justify-content: space-between; }
  .sub-footer .footer-content-left > :first-child { width: auto; }
}
@media (max-width: 767.98px) {
  .cont-sticky .cta-wrapper { display: none; }
  .cta-wrapper.mobile { display: flex; justify-content: center; width: 100%; position: absolute; bottom: 0; height: var(--cta-height); z-index: 6; margin: 0; }
  .contatti-grid { grid-template-columns: 1fr; gap: var(--distance-big); }
  .contatti-grid .cont-contatti:nth-child(n) { grid-column: 1; }
  .sub-footer .footer-content { flex-direction: column; gap: 10px; padding-top: 20px; }
  .sub-footer .footer-content-left, .sub-footer .footer-content-right { width: 100%; padding: 0; flex-direction: column; align-items: flex-start; gap: 4px; }
  .sub-footer .footer-content-left > :first-child { width: auto; }
}
@media (max-width: 575.98px) {
  :root {
    --header-height: 40px; --section-distance: 80px; --wrap: calc(100% - 40px);
    --disk: min(355px, 88vw); --letters-w: 240px; --letters-h: 104px; --gallery-h: 240px; --slide-w: 80vw; --ring: 300px; --busta: 190px;
  }
  .titolo-big { font-size: 4rem; line-height: 4rem; }
  .titolo { font-size: 3rem; line-height: 3rem; letter-spacing: 1.5px; }
  .titolo-small, .occhiello { font-size: 1.8rem; line-height: 2.4rem; }
  .testo-big { font-size: 1.8rem; line-height: 2.4rem; }
  .testo, .testo p, p { font-size: 1.4rem; line-height: 2.2rem; letter-spacing: .5px; }
  .titolo-super { font-size: 10rem; line-height: 10rem; }
  .section-head .titolo-big { width: 100%; margin-left: 0; }
  .section-first { padding-top: calc(var(--header-height) * 5) !important; }
  .stella { font-size: 1.6rem; min-height: 60px; top: -10px; }
  .logo-header { font-size: 3.6rem; }
  .btn-hamburger, .overlay-background { bottom: 24px; right: 20px; }
  body.open-menu .overlay-background { bottom: calc((140vh - 22px) * -1); right: calc((140vh - 22px) * -1); }
  .frames-mask { width: calc(100% + 40px); margin: 0 -20px; }
  .section-animated .cont-testo, .section-2immagini .cont-testo { width: 100%; margin: var(--distance-big) 0 0 !important; }
  .section-animated .section-body, .section-2immagini .section-body { padding-bottom: 80px; }
  .menu-overlay a { font-size: 3rem; line-height: 3rem; letter-spacing: 3px; }
  .accordion-header .wrapper { height: auto; min-height: 110px; padding: 20px 0; width: 100%; }
  .accordion-header .titolo-big { font-size: 3rem; line-height: 3.2rem; margin: 0 12px; }
  .accordion-inner { padding: 0 4px; }
  .menu-item { padding: var(--distance-half) 6px; }
  .menu-item .prezzo { font-size: 2.2rem; }
  .lista-thumb { width: 210px; height: 210px; margin-bottom: var(--distance-big); }
  .lista-thumb img { width: 160px; height: 160px; }
  .lista-thumb .svg { width: 250px; height: 250px; }
  .accordion-footer .menu-footer { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 6px; }
  .data { width: 290px; height: 290px; padding: 20px; }
  .data .titolo { font-size: 2rem; line-height: 2.2rem; }
  .data-container { width: 100%; min-width: 100%; }
  .data-container > .background { width: 100vw; height: 100vw; }
  .immagine-dettaglio { width: 120px; height: 120px; left: 0; bottom: 30px; }
  .section-carouseldata .section-body { height: 200vh; }
  .section-gallery { cursor: auto; }
  .foto-container { width: calc(100% + 40px); min-width: calc(100% + 40px); margin-left: -20px; height: 400px; }
  .foto.verticale { width: 160px; height: 230px; left: calc(50% - 60px); }
  .foto.orizzontale { width: 230px; height: 160px; left: calc(50% + 60px); }
  .section-2immagini .cont-sticky { top: 90px; }
  .busta-background text { font-size: 36px; }
  footer .footer-content-left, footer .footer-content-right { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  footer .f-name { grid-column: 1 / -1; }
  .cont-footer .content-head { min-height: 30px; }
  .sub-footer::before, .sub-footer::after { width: calc(50% - 50px); }
  .sub-footer .logo-footer { font-size: 3.2rem; }
  .concept-toast { left: 12px; right: 76px; bottom: 16px; max-width: none; }
}

/* motion off: everything at rest, final states */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .loader { display: none; }
  .section-animated .background { transform: translate(-50%, -50%) scale(1); }
  .arch { transform: translateX(-50%) scale(1); }
}
