/* ============================================
   BEAUTY SKIN — design tokens
   bg ivory-rosa #F8F3EF · ink #2B2420
   sage #5E7357 (colore principale del negozio) · gold #B08D57
   Scala salvia: soft → light → mid → sage → dark
   Motivo grafico: l'arco (le immagini e le cornici hanno la sommità a volta)
   ============================================ */

:root{
  --bg: #F8F3EF;
  --bg-soft: #F1E9E2;
  --ink: #2B2420;
  --ink-soft: #5A4F48;
  --sage: #5E7357;
  --sage-rgb: 94,115,87;
  --sage-mid: #7C9573;
  --sage-light: #A8BCA0;
  --sage-soft: #E8EFE4;
  --sage-dark: #4F6248;
  --sage-deep: #3F4F3A;
  --gold: #B08D57;
  --gold-light: #D8C39A;
  --line: rgba(43,36,32,0.12);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 78px;
  --radius-arch: 999px 999px 28px 28px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --intro: .15s;
}
html.has-loader{ --intro: 1.9s; }

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body{ height: auto; }
.lenis.lenis-smooth{ scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent]{ overscroll-behavior: contain; }
.lenis.lenis-stopped{ overflow: hidden; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.no-scroll{ overflow: hidden; }

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 300; margin: 0; color: inherit; letter-spacing: -0.02em; text-wrap: balance; }
p{ margin: 0; }
em{ font-style: italic; }
::selection{ background: var(--sage); color: var(--bg); }

:focus-visible{ outline: 2px solid var(--sage); outline-offset: 4px; border-radius: 6px; }

.container{ max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow{
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before{ content: ''; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light{ color: var(--gold-light); }

.lead{ font-size: clamp(1.02rem, 1.2vw, 1.15rem); color: var(--ink-soft); max-width: 50ch; line-height: 1.7; }

.section{ padding-block: clamp(100px, 13vw, 190px); scroll-margin-top: 20px; }
h2{ font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1; }
h2 em{ color: var(--sage); }

/* grana leggera su tutta la pagina */
.grain{
  position: fixed; inset: -50%; z-index: 400; pointer-events: none; opacity: .06;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- buttons ---------- */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn-ico{
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .6s var(--ease), background .5s var(--ease);
}
.btn-ico svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-ico svg.fill{ fill: currentColor; stroke: none; }
.btn-primary{ background: var(--sage); color: var(--bg); box-shadow: 0 14px 34px -16px rgba(var(--sage-rgb), .7); }
.btn-primary .btn-ico{ background: var(--bg); color: var(--sage); }
.btn-primary:hover{ background: var(--sage-dark); }
.btn:hover .btn-ico{ transform: rotate(45deg) scale(1.05); }
.btn-light{ background: var(--bg); color: var(--sage-deep); }
.btn-light .btn-ico{ background: var(--sage); color: var(--bg); }
.btn-sm{ padding: 5px 5px 5px 20px; font-size: .9rem; gap: 12px; }
.btn-sm .btn-ico{ width: 34px; height: 34px; }
.btn-lg{ padding: 10px 10px 10px 32px; font-size: 1.05rem; }
.btn-lg .btn-ico{ width: 50px; height: 50px; }

.link-arrow{
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; padding-block: 6px; color: var(--ink);
}
.link-arrow::after{
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .7s var(--ease);
}
.link-arrow:hover::after{ transform: scaleX(0); transform-origin: left; }
.link-arrow span{ transition: transform .6s var(--ease); }
.link-arrow:hover span{ transform: translateY(4px); }

.round-btn{
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.round-btn svg{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover{ background: var(--ink); color: var(--bg); border-color: var(--ink); }
.round-btn:disabled{ opacity: .35; pointer-events: none; }

/* ---------- intro ---------- */
.loader{ display: none; }
html.has-loader .loader{
  position: fixed; inset: 0; z-index: 500;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: var(--sage-dark); color: var(--bg);
  clip-path: inset(0 0 0 0);
  animation: loader-out 1.1s var(--ease-in-out) 1.5s forwards;
}
.loader-word{ font-family: var(--font-display); font-weight: 300; font-size: clamp(2.8rem, 7vw, 5.6rem); letter-spacing: -0.03em; overflow: hidden; line-height: 1.05; padding-bottom: .08em; }
.loader-word > *{ display: inline-block; animation: rise 1.1s var(--ease) .1s both; }
.loader-word em{ color: var(--gold-light); animation-delay: .22s; }
.loader-line{ width: 140px; height: 1px; background: var(--gold-light); transform-origin: left; animation: grow 1.1s var(--ease-in-out) .35s both; }
.loader-sub{ font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; opacity: .75; animation: fade-in .9s ease .6s both; }
@keyframes loader-out{ to{ clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes rise{ from{ transform: translateY(110%); } to{ transform: none; } }
@keyframes grow{ from{ transform: scaleX(0); } to{ transform: scaleX(1); } }
@keyframes fade-in{ from{ opacity: 0; } to{ opacity: 1; } }

/* ---------- nav ---------- */
.nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .7s var(--ease), background .5s ease, box-shadow .5s ease;
}
.nav.scrolled{ background: rgba(248,243,239,.82); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); box-shadow: 0 16px 40px -34px rgba(43,36,32,.5); }
.nav.nav-hidden{ transform: translateY(-105%); }
.nav:focus-within{ transform: none; }
.nav-inner{
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--nav-h); display: flex; align-items: center; gap: 28px;
}
.logo{ font-family: var(--font-display); font-size: 1.55rem; font-weight: 400; letter-spacing: -0.02em; }
.logo em{ color: var(--sage); font-weight: 300; }
.nav-links{ display: flex; gap: 34px; margin-left: auto; font-size: .95rem; font-weight: 500; }
.nav-links a{ position: relative; padding: 6px 0; }
.nav-links a::after{
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sage);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav-links a:hover::after{ transform: scaleX(1); transform-origin: left; }
.nav-toggle{ display: none; }

@media (max-width: 900px){
  :root{ --nav-h: 68px; }
  .nav-links, .nav-cta{ display: none; }
  .nav-toggle{
    display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px;
    width: 46px; height: 46px; margin-left: auto; margin-right: -8px; padding: 0 8px;
    background: none; border: none; cursor: pointer; position: relative; z-index: 120; color: var(--ink);
  }
  .nav-toggle span{ display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .6s var(--ease), width .6s var(--ease); }
  .nav-toggle span:first-child{ width: 28px; }
  .nav-toggle span:last-child{ width: 18px; }
  .nav-toggle[aria-expanded="true"]{ color: var(--bg); }
  .nav-toggle[aria-expanded="true"] span:first-child{ transform: translateY(4.25px) rotate(45deg); width: 26px; }
  .nav-toggle[aria-expanded="true"] span:last-child{ transform: translateY(-4.25px) rotate(-45deg); width: 26px; }
  .menu-open .logo{ color: var(--bg); }
  .menu-open .nav{ background: transparent !important; box-shadow: none; backdrop-filter: none; }
}

/* ---------- menu mobile ---------- */
.menu{
  position: fixed; inset: 0; z-index: 90;
  background: var(--sage-deep); color: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 40px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  clip-path: circle(0% at calc(100% - 40px) 34px);
  transition: clip-path .9s var(--ease-in-out);
}
.menu.open{ clip-path: circle(150% at calc(100% - 40px) 34px); }
.menu-links{ display: flex; flex-direction: column; gap: 6px; }
.menu-links a{
  font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 11vw, 3.6rem); line-height: 1.15;
  display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.menu-links small{ font-family: var(--font-body); font-size: .75rem; letter-spacing: .1em; color: var(--gold-light); }
.menu.open .menu-links a{ opacity: 1; transform: none; }
.menu.open .menu-links a:nth-child(1){ transition-delay: .25s; }
.menu.open .menu-links a:nth-child(2){ transition-delay: .32s; }
.menu.open .menu-links a:nth-child(3){ transition-delay: .39s; }
.menu.open .menu-links a:nth-child(4){ transition-delay: .46s; }
.menu-foot{ display: flex; flex-direction: column; gap: 22px; opacity: 0; transition: opacity .8s ease .5s; }
.menu.open .menu-foot{ opacity: 1; }
.menu-foot .btn{ align-self: flex-start; }
.menu-foot p{ font-size: .9rem; color: rgba(248,243,239,.7); line-height: 1.7; }

/* ---------- hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(24px, 4vw, 56px));
  padding-bottom: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 85% 40%, rgba(var(--sage-rgb), .10), transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(176,141,87,.10), transparent 70%),
    var(--bg);
}
.hero-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; flex: 1; width: 100%; }
.hero-title{
  font-size: clamp(3.1rem, 7.6vw, 7.4rem);
  line-height: .96;
  letter-spacing: -0.035em;
  margin-top: 26px;
}
.hero-title .line{ display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span{ display: inline-block; }
.hero-title em{ color: var(--sage); }
.hero-sub{ font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: var(--ink-soft); max-width: 44ch; margin-top: 30px; line-height: 1.7; }
.hero-actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 40px; }

.hero-visual{ position: relative; height: min(74vh, 700px); min-height: 420px; }
.arch-layer{ position: absolute; inset: 0; will-change: transform; }
.arch{ position: absolute; overflow: hidden; border-radius: var(--radius-arch); background: var(--bg-soft); }
.arch img{ width: 100%; height: 100%; object-fit: cover; }
.arch-front{ right: 0; bottom: 4%; width: 72%; height: 86%; box-shadow: 0 50px 90px -50px rgba(43,36,32,.55); }
.arch-back{ left: 0; top: 0; width: 40%; height: 46%; border-radius: 999px 999px 20px 20px; }
.arch-ring{ position: absolute; border-radius: var(--radius-arch); pointer-events: none; }
.hero .ring-1{ right: -3.5%; bottom: 1%; width: 79%; height: 93%; border: 1px solid var(--gold-light); }
.hero .ring-2{ right: -7%; bottom: -2%; width: 86%; height: 100%; border: 1px solid rgba(var(--sage-rgb), .28); }
.badge{
  position: absolute; left: 22%; bottom: 0; width: clamp(110px, 10vw, 140px); aspect-ratio: 1;
  border-radius: 50%; background: var(--sage); color: var(--bg);
  display: flex; align-items: center; justify-content: center; z-index: 3;
  box-shadow: 0 24px 50px -24px rgba(var(--sage-rgb), .9);
}
.badge-text{ position: absolute; inset: 6%; width: 88%; height: 88%; animation: spin 28s linear infinite; }
.badge-text text{ font-family: var(--font-body); font-size: 15.5px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; fill: var(--bg); }
.badge-core{ font-size: 1.5rem; color: var(--gold-light); }
@keyframes spin{ to{ transform: rotate(360deg); } }

.hero-foot{ display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 30px; font-size: .82rem; letter-spacing: .06em; color: var(--ink-soft); width: 100%; }
.scroll-cue{ display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; }
.scroll-cue i{ position: relative; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.scroll-cue i::after{ content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 45%; background: var(--sage); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue{ 0%{ transform: translateY(-100%); } 100%{ transform: translateY(230%); } }

/* intro dell'hero: CSS puro, parte da sola anche senza librerie */
@media (prefers-reduced-motion: no-preference){
  .js .hero-title .line > span{ animation: rise 1.3s var(--ease) both; animation-delay: var(--intro); }
  .js .hero-title .line:nth-child(2) > span{ animation-delay: calc(var(--intro) + .1s); }
  .js .hero-title .line:nth-child(3) > span{ animation-delay: calc(var(--intro) + .2s); }
  .js .hero-eyebrow{ animation: fade-up 1.2s var(--ease) both; animation-delay: calc(var(--intro) - .05s); }
  .js .hero-sub{ animation: fade-up 1.3s var(--ease) both; animation-delay: calc(var(--intro) + .4s); }
  .js .hero-actions{ animation: fade-up 1.3s var(--ease) both; animation-delay: calc(var(--intro) + .52s); }
  .js .hero-foot{ animation: fade-in 1.4s ease both; animation-delay: calc(var(--intro) + .8s); }
  .js .arch-front{ animation: arch-in 1.7s var(--ease-in-out) both; animation-delay: calc(var(--intro) + .05s); }
  .js .arch-back{ animation: arch-in 1.6s var(--ease-in-out) both; animation-delay: calc(var(--intro) + .3s); }
  .js .arch img{ animation: img-settle 2.4s var(--ease) both; animation-delay: inherit; }
  .js .arch-front img{ animation-delay: calc(var(--intro) + .05s); }
  .js .arch-back img{ animation-delay: calc(var(--intro) + .3s); }
  .js .hero .arch-ring{ animation: ring-in 2s var(--ease) both; animation-delay: calc(var(--intro) + .7s); }
  .js .hero .ring-2{ animation-delay: calc(var(--intro) + .85s); }
  .js .badge{ animation: badge-in 1.4s var(--ease) both; animation-delay: calc(var(--intro) + 1s); }
}
@keyframes fade-up{ from{ opacity: 0; transform: translateY(26px); } to{ opacity: 1; transform: none; } }
@keyframes arch-in{ from{ clip-path: inset(100% 0 0 0); } to{ clip-path: inset(0 0 0 0); } }
@keyframes img-settle{ from{ transform: scale(1.35); } to{ transform: scale(1); } }
@keyframes ring-in{ from{ opacity: 0; transform: translateY(40px) scale(.94); } to{ opacity: 1; transform: none; } }
@keyframes badge-in{ from{ opacity: 0; transform: scale(.4) rotate(-90deg); } to{ opacity: 1; transform: none; } }

@media (max-width: 900px){
  .hero{ min-height: auto; }
  .hero-grid{ grid-template-columns: 1fr; gap: 56px; }
  .hero-visual{ height: min(118vw, 540px); min-height: 0; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-foot{ margin-top: 48px; }
  .hero-foot > span:first-child{ max-width: 60%; }
}

/* ---------- marquee ---------- */
.marquee{ background: var(--sage); color: var(--bg); overflow: hidden; padding: 26px 0; }
.marquee-track{ display: flex; align-items: center; gap: 38px; width: max-content; animation: marquee 48s linear infinite; }
.js-marquee .marquee-track{ animation: none; }
.marquee span{ font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 2.8rem); white-space: nowrap; letter-spacing: -0.01em; }
.marquee i{ font-style: normal; color: var(--gold-light); font-size: 1.1rem; }
@keyframes marquee{ to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation: none; } }

/* ---------- storia ---------- */
.storia-grid{ display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 130px); align-items: center; }
.storia-photo{ margin: 0; }
.img-mask{ overflow: hidden; border-radius: var(--radius-arch); aspect-ratio: 1202 / 1560; background: var(--bg-soft); }
.img-mask img{ width: 100%; height: 118%; object-fit: cover; object-position: center top; }
.storia-photo figcaption{ margin-top: 18px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 12px; }
.storia-photo figcaption::before{ content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.storia-text h2{ margin-top: 26px; }
.storia-text .lead{ margin-top: 30px; }
.stats{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.stat{ display: flex; flex-direction: column; gap: 10px; }
.stat-num{ font-family: var(--font-display); font-weight: 300; font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; color: var(--sage); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-label{ font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); max-width: 14ch; }
@media (max-width: 900px){
  .storia-grid{ grid-template-columns: 1fr; }
  .storia-photo{ max-width: 460px; }
}
@media (max-width: 480px){ .stats{ gap: 14px; } }

/* parole dei titoli animati (create da script.js) */
.w{ display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi{ display: inline-block; will-change: transform; }
.mw-o{ display: inline; }
.mw{ display: inline; }

/* ---------- manifesto ---------- */
.manifesto{ padding-block: clamp(40px, 6vw, 90px) clamp(100px, 13vw, 190px); }
.manifesto-text{
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1.12; letter-spacing: -0.025em;
  max-width: 22ch; color: var(--ink);
}
.manifesto-text em{ color: var(--sage); }

/* ---------- trattamenti ---------- */
.tratt{ background: var(--bg-soft); padding-top: clamp(100px, 12vw, 170px); padding-bottom: clamp(60px, 7vw, 100px); scroll-margin-top: 0; border-radius: 40px 40px 0 0; }
.tratt-head{ display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; align-items: end; }
.tratt-head h2{ margin-top: 22px; }
.tratt-head .lead{ justify-self: end; }
.tratt-viewport{ margin-top: clamp(48px, 6vw, 80px); }
.tratt-track{
  display: flex; gap: clamp(16px, 2vw, 28px);
  padding-inline: var(--gutter);
  padding-bottom: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.tratt-track::-webkit-scrollbar{ display: none; }
.tratt-track:focus-visible{ outline-offset: -2px; }
.t-card{ flex: 0 0 clamp(280px, 31vw, 440px); scroll-snap-align: start; display: flex; flex-direction: column; }
.t-media{ overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 3; background: var(--bg); }
.t-media img{ width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: filter .8s var(--ease); }
.t-card:hover .t-media img{ filter: saturate(1.08) brightness(1.03); }
.t-body{ padding: 26px 4px 0; }
.t-meta{ display: flex; align-items: center; justify-content: space-between; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.t-num{ font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; color: var(--gold); font-style: italic; }
.t-cat{ color: var(--sage); padding: 5px 12px; border-radius: 999px; background: rgba(var(--sage-rgb), .1); }
.t-card h3{ font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.08; margin-top: 16px; }
.t-card p{ font-size: .95rem; color: var(--ink-soft); margin-top: 14px; line-height: 1.65; }

.tratt-controls{ display: flex; align-items: center; gap: 24px; margin-top: clamp(32px, 4vw, 48px); width: 100%; }
.tratt-count{ font-family: var(--font-display); font-size: 1.1rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; min-width: 70px; }
.tratt-count b{ font-weight: 400; color: var(--ink); }
.tratt-progress{ position: relative; flex: 1; max-width: 360px; height: 2px; background: rgba(43,36,32,.1); border-radius: 2px; overflow: hidden; }
.tratt-progress i{ position: absolute; inset: 0; background: var(--sage); transform-origin: left; transform: scaleX(.125); }
.tratt-arrows{ display: flex; gap: 10px; margin-left: auto; }

/* scorrimento orizzontale agganciato allo scroll (solo desktop con JS) */
html.has-hscroll .tratt-viewport{ height: 100svh; display: flex; flex-direction: column; justify-content: center; margin-top: 0; overflow: hidden; padding-top: calc(var(--nav-h) * .6); }
html.has-hscroll .tratt-track{ overflow: visible; scroll-snap-type: none; }
html.has-hscroll .t-card{ flex-basis: clamp(300px, min(30vw, 62vh), 440px); }
html.has-hscroll .tratt-arrows{ display: none; }
html.has-hscroll .tratt{ padding-bottom: 0; }

@media (max-width: 900px){
  .tratt{ border-radius: 28px 28px 0 0; }
  .tratt-head{ grid-template-columns: 1fr; }
  .tratt-head .lead{ justify-self: start; }
  .t-card{ flex-basis: 82vw; max-width: 380px; }
  .tratt-progress{ max-width: none; }
}

/* ---------- prodotti ---------- */
.prodotti{
  position: relative; overflow: hidden;
  background: var(--sage-dark); color: var(--bg);
  padding-block: clamp(100px, 13vw, 180px);
  scroll-margin-top: 0;
}
.prodotti-glow{
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(176,141,87,.28), transparent 42%),
    radial-gradient(circle at 88% 85%, rgba(168,188,160,.22), transparent 48%);
}
.prodotti .container{ position: relative; }
.prodotti-head{ display: grid; grid-template-columns: 1fr; gap: 26px; max-width: 900px; }
.prodotti h2 em{ color: var(--gold-light); }
.prodotti .lead{ color: rgba(248,243,239,.8); }
.cat-grid{ margin-top: clamp(56px, 7vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card{
  appearance: none; border: none; font: inherit; color: inherit; text-align: left; cursor: pointer; padding: 0;
  background: rgba(248,243,239,.06); border-radius: 26px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: background .6s var(--ease), transform .8s var(--ease);
}
.cat-card:hover, .cat-card:focus-visible{ background: rgba(248,243,239,.11); transform: translateY(-6px); }
.cat-media{ display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 20px 20px; margin: 10px 10px 0; background: rgba(0,0,0,.1); }
.cat-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-card:hover .cat-media img{ transform: scale(1.07); }
.cat-media-shop{
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--gold-light), var(--gold));
}
.cat-media-shop span{ font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 2.4vw, 2.4rem); color: var(--sage-deep); letter-spacing: .02em; transition: transform 1.2s var(--ease); }
.cat-card:hover .cat-media-shop span{ transform: scale(1.08); }
.cat-info{ display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 28px; flex: 1; }
.cat-top{ display: flex; align-items: center; gap: 12px; }
.cat-mark{ width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold-light); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1rem; }
.cat-count{ font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-light); }
.cat-title{ font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 2.4vw, 2.3rem); line-height: 1.05; letter-spacing: -0.02em; margin-top: 6px; }
.cat-desc{ font-size: .92rem; color: rgba(248,243,239,.75); line-height: 1.6; }
.cat-cta{ margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .92rem; }
.cat-cta i{ font-style: normal; display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--bg); color: var(--sage-dark); transition: transform .6s var(--ease); }
.cat-card:hover .cat-cta i{ transform: translateX(6px); }
@media (max-width: 1080px){ .cat-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .cat-grid{ grid-template-columns: 1fr; } .cat-media{ aspect-ratio: 5 / 4; } }

/* ---------- drawer linee cosmetici ---------- */
.drawer{ position: fixed; inset: 0; z-index: 300; }
.drawer[hidden]{ display: none; }
.drawer-backdrop{ position: absolute; inset: 0; background: rgba(43,36,32,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s ease; }
.drawer.open .drawer-backdrop{ opacity: 1; }
.drawer-panel{
  position: absolute; top: 0; right: 0; bottom: 0; width: min(780px, 100%);
  background: var(--bg); display: flex; flex-direction: column;
  border-radius: 32px 0 0 32px;
  transform: translateX(104%); transition: transform .9s var(--ease);
  box-shadow: -40px 0 80px -40px rgba(0,0,0,.4);
}
.drawer.open .drawer-panel{ transform: none; }
.drawer-head{ display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 34px 38px 22px; }
.drawer-head h3{ font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; margin-top: 14px; }
.drawer-close{
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .6s var(--ease), background .4s ease, color .4s ease;
}
.drawer-close svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.drawer-close:hover{ transform: rotate(90deg); background: var(--ink); color: var(--bg); }
.drawer-body{ padding: 8px 38px 44px; overflow-y: auto; flex: 1; }
.lines-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 22px; }
.lines-grid.single{ grid-template-columns: minmax(0, 380px); }
.line-card{ opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.drawer.open .line-card{ opacity: 1; transform: none; }
.drawer.open .line-card:nth-child(1){ transition-delay: .25s; }
.drawer.open .line-card:nth-child(2){ transition-delay: .32s; }
.drawer.open .line-card:nth-child(3){ transition-delay: .39s; }
.drawer.open .line-card:nth-child(4){ transition-delay: .46s; }
.drawer.open .line-card:nth-child(5){ transition-delay: .53s; }
.drawer.open .line-card:nth-child(6){ transition-delay: .6s; }
.line-photo{ overflow: hidden; border-radius: 20px; aspect-ratio: 1; background: var(--bg-soft); }
.line-photo img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.line-card:hover .line-photo img{ transform: scale(1.05); }
.line-eyebrow{ display: block; margin-top: 18px; font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--sage); }
.line-card h4{ font-size: 1.6rem; line-height: 1.1; margin-top: 6px; }
.line-card p{ font-size: .92rem; color: var(--ink-soft); margin-top: 10px; line-height: 1.6; }
@media (max-width: 640px){
  .drawer-panel{ border-radius: 0; }
  .drawer-head{ padding: 26px 22px 16px; }
  .drawer-body{ padding: 8px 22px 36px; }
  .lines-grid{ grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce){
  .drawer-panel, .line-card, .drawer-backdrop, .menu, .menu-links a, .menu-foot{ transition: none !important; }
}

/* ---------- cta ---------- */
.cta-band{ padding-block: clamp(100px, 12vw, 170px); }
.cta-inner{
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--sage-soft); border-radius: 40px;
  padding: clamp(64px, 9vw, 130px) clamp(24px, 6vw, 90px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px;
}
.cta-inner h2{ max-width: 16ch; }
.cta-inner .lead{ text-align: center; }
.cta-inner > div{ margin-top: 12px; }
.cta-arch{
  position: absolute; z-index: -1; left: 50%; bottom: -30%; width: min(720px, 90%); aspect-ratio: 1 / 1.1;
  transform: translateX(-50%); border-radius: 999px 999px 0 0;
  border: 1px solid rgba(176,141,87,.45);
  box-shadow: 0 0 0 26px rgba(248,243,239,.35), 0 0 0 27px rgba(var(--sage-rgb),.16);
}

/* ---------- contatti / footer ---------- */
.contatti{
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--bg);
  padding-top: clamp(100px, 12vw, 170px);
  border-radius: 40px 40px 0 0;
  scroll-margin-top: 0;
}
.contatti h2{ margin-top: 22px; }
.contatti h2 em{ color: var(--gold-light); }
.contatti-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-list{ margin: clamp(40px, 5vw, 60px) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 30px; }
.contact-list .orari{ grid-column: 1 / -1; }
.contact-list .orari span{ white-space: nowrap; }
.contact-list dt{ font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-light); }
.contact-list dd{ margin: 10px 0 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.45; color: rgba(248,243,239,.92); }
.contact-list a{ background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--ease); }
.contact-list a:hover{ background-size: 100% 1px; }
.social-links{ display: flex; gap: 12px; margin-top: 44px; }
.social-icon{
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(248,243,239,.07); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.social-icon svg{ width: 20px; height: 20px; }
.social-icon:hover{ background: var(--gold-light); color: var(--ink); transform: translateY(-4px); }

.map-embed{ position: relative; display: block; aspect-ratio: 4 / 4.4; border-radius: 28px; overflow: hidden; background: #3a322d; }
.map-embed iframe{ width: 100%; height: 100%; border: 0; display: block; pointer-events: none; filter: grayscale(.35) contrast(1.02) sepia(.12); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.map-embed:hover iframe{ filter: none; transform: scale(1.03); }
.map-embed-cta{
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-weight: 500; font-size: .9rem; color: var(--ink); background: var(--gold-light);
  padding: 13px 24px; border-radius: 999px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); white-space: nowrap;
  transition: transform .6s var(--ease);
}
.map-embed:hover .map-embed-cta{ transform: translateX(-50%) translateY(-4px); }

.wordmark{
  font-family: var(--font-display); font-weight: 300; letter-spacing: -0.045em; line-height: .78;
  font-size: clamp(4.4rem, 17.5vw, 20rem);
  text-align: center; white-space: nowrap;
  margin-top: clamp(80px, 10vw, 140px);
  color: var(--bg);
  overflow: hidden; padding-bottom: .1em;
}
.wordmark .wm{ display: inline-block; }
.wordmark em{ color: var(--gold-light); }
.footer-bottom{
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 26px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  font-size: .82rem; color: rgba(248,243,239,.55);
}
.footer-bottom a:hover{ color: var(--bg); }

@media (max-width: 900px){
  .contatti{ border-radius: 28px 28px 0 0; }
  .contatti-grid{ grid-template-columns: 1fr; }
  .map-embed{ aspect-ratio: 4 / 3.4; }
}
@media (max-width: 520px){ .contact-list{ grid-template-columns: 1fr; gap: 26px; } }

/* ---------- pagina prenota ---------- */
.p-hero{
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(30px, 5vw, 70px));
  padding-bottom: clamp(60px, 8vw, 110px);
  display: flex; align-items: center;
  background:
    radial-gradient(ellipse 55% 55% at 80% 45%, rgba(var(--sage-rgb), .12), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.p-hero-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; width: 100%; }
.p-title{ font-size: clamp(3rem, 6.6vw, 6.4rem); }
.p-actions{ flex-direction: column; align-items: flex-start; gap: 18px; }

.app-download-btn{
  display: inline-flex; align-items: center; gap: 16px;
  padding: 12px 30px 12px 12px; border-radius: 24px;
  background: var(--ink); color: var(--bg);
  box-shadow: 0 24px 50px -26px rgba(43,36,32,.7);
  transition: background .5s var(--ease);
}
.app-download-btn:hover{ background: var(--sage-deep); }
.app-icon{ width: 58px; height: 58px; border-radius: 16px; overflow: hidden; flex-shrink: 0; background: #fff; }
.app-icon img{ width: 100%; height: 100%; object-fit: cover; }
.app-download-text{ display: flex; flex-direction: column; text-align: left; }
.app-download-text small{ font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; opacity: .7; }
.app-download-text strong{ font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1.2; }
.store-badges{ display: flex; gap: 10px; flex-wrap: wrap; }
.store-badge{
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px;
  background: rgba(43,36,32,.05); color: var(--ink); font-size: .9rem; font-weight: 500;
  transition: background .5s var(--ease), transform .6s var(--ease);
}
.store-badge svg{ width: 17px; height: 17px; }
.store-badge:hover{ background: rgba(var(--sage-rgb), .14); transform: translateY(-3px); }

.p-visual{ position: relative; height: min(70vh, 620px); min-height: 440px; }
.p-arch{
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(78%, 400px); height: 88%;
  border-radius: var(--radius-arch);
  background: linear-gradient(170deg, var(--sage-soft), #dfe7da 60%, var(--sage-light));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 50px 90px -50px rgba(43,36,32,.5);
}
.p-app-icon{ width: 46%; border-radius: 22%; box-shadow: 0 30px 60px -28px rgba(43,36,32,.55); background: #fff; }
.p-visual .ring-1{ left: 0; right: 0; margin-inline: auto; bottom: -3%; width: min(90%, 460px); height: 96%; border: 1px solid var(--gold-light); }
.p-visual .ring-2{ left: 0; right: 0; margin-inline: auto; bottom: -6%; width: min(102%, 520px); height: 104%; border: 1px solid rgba(var(--sage-rgb), .25); }
.p-step{
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 12px; border-radius: 999px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -24px rgba(43,36,32,.45);
  font-size: .92rem; font-weight: 500; white-space: nowrap;
}
.p-step b{ width: 30px; height: 30px; border-radius: 50%; background: var(--sage); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 400; }
.p-step.s1{ left: 0; top: 20%; }
.p-step.s2{ right: -2%; top: 46%; }
.p-step.s3{ left: 4%; bottom: 12%; }
@media (prefers-reduced-motion: no-preference){
  .js .p-arch{ animation: arch-in 1.6s var(--ease-in-out) both; animation-delay: calc(var(--intro) + .05s); }
  .js .p-visual .arch-ring{ animation: ring-in 2s var(--ease) both; animation-delay: calc(var(--intro) + .6s); }
  .js .p-app-icon{ animation: badge-in 1.4s var(--ease) both; animation-delay: calc(var(--intro) + .7s); }
  .js .p-step{ animation: step-in 1.2s var(--ease) both, float 6s ease-in-out infinite; }
  .js .p-step.s1{ animation-delay: calc(var(--intro) + 1s), calc(var(--intro) + 2.2s); }
  .js .p-step.s2{ animation-delay: calc(var(--intro) + 1.15s), calc(var(--intro) + 3s); }
  .js .p-step.s3{ animation-delay: calc(var(--intro) + 1.3s), calc(var(--intro) + 2.6s); }
}
@keyframes step-in{ from{ opacity: 0; transform: translateY(24px) scale(.92); } to{ opacity: 1; transform: none; } }
@keyframes float{ 0%, 100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }
@media (max-width: 900px){
  .p-hero{ min-height: auto; }
  .p-hero-grid{ grid-template-columns: 1fr; }
  .p-visual{ height: min(112vw, 500px); min-height: 0; max-width: 480px; width: 100%; margin-inline: auto; }
  .p-step{ font-size: .82rem; }
  .p-step.s2{ right: 0; }
}

.assist{ padding-block: clamp(40px, 6vw, 80px) clamp(100px, 12vw, 160px); }
.assist-card{
  background: var(--sage-soft); border-radius: 40px;
  padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 90px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
}
.assist-card h2{ max-width: 16ch; }
.assist-card .lead{ text-align: center; }
.assist-card > div{ margin-top: 12px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .badge-text, .scroll-cue i::after{ animation: none; }
}
