/* =========================================================
   IL BARBIERE FAVORITO — bottega artigiana, Parioli
   Palette dal sito originale: crema #e3dcc7, bruno #693b0f
   Accenti dal logo: rosso #c8202f, azzurro #2b86c5
   ========================================================= */

:root {
  --crema: #e3dcc7;
  --crema-chiara: #efe9d8;
  --carta: #f5f1e6;
  --bruno: #693b0f;
  --bruno-scuro: #3d2208;
  --inchiostro: #2a1806;
  --rosso: #c8202f;
  --azzurro: #2b86c5;
  --verde: #1f8a4c;
  --verde-hover: #176b3a;

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-text: "Jost", "Futura", "Century Gothic", sans-serif;
  --f-body: "EB Garamond", Garamond, "Times New Roman", serif;

  --topbar-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: min(1180px, 100% - 3rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.5rem;
  line-height: 130%;
  color: var(--inchiostro);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
}

/* grana di carta discreta */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .41 0 0 0 0 .23 0 0 0 0 .06 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--bruno);
  letter-spacing: -.01em;
}
h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
h2 em, h1 em { font-style: italic; font-weight: 500; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--bruno); color: var(--carta); padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--azzurro); outline-offset: 3px; }

.eyebrow {
  font-family: var(--f-text);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rosso);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before {
   display: none;
}
.eyebrow--light { color: #e9b9a0; }

/* ---------- BOTTONI ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: 1.05rem 2.1rem;
  font-family: var(--f-text);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
	line-height: 130%;
}
/* filetto interno, come le cornici della pagina */
.btn--brown::before,
.btn--wa::before {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid rgba(255, 255, 255, .28);
  pointer-events: none;
  transition: inset .45s var(--ease), border-color .45s var(--ease);
}
.btn--brown:hover::before,
.btn--wa:hover::before { inset: 6px; border-color: rgba(255, 255, 255, .45); }
/* icona prima del testo */
.btn__icon {
  width: 18px; height: 18px; flex: none;
  margin-left: -.2rem;
  transition: transform .45s var(--ease);
}
.btn:hover .btn__icon { transform: scale(1.12) rotate(-6deg); }

.btn--brown { background: var(--bruno); color: var(--carta); }
.btn--brown:hover { background: var(--bruno-scuro); }
.btn--line { border-color: rgba(105, 59, 15, .55); color: var(--bruno); }
.btn--line:hover { border-color: var(--bruno); background: rgba(105, 59, 15, .06); }
.btn--wa { background: var(--verde); color: #fff; }
.btn--wa:hover { background: var(--verde-hover); }

/* ---------- BARRA FISSA ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--topbar-h);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  background: rgba(239, 233, 216, .9);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid rgba(105, 59, 15, .18);
  transition: box-shadow .4s var(--ease), height .4s var(--ease);
}
.topbar.is-scrolled { box-shadow: 0 10px 30px -18px rgba(61, 34, 8, .55); --topbar-h: 64px; }
.topbar__brand img { height: calc(var(--topbar-h) - 14px); width: auto; transition: height .4s var(--ease); }
.topbar__nav { display: flex; gap: 1.8rem; margin-right: auto; }
.topbar__nav a {
  font-family: var(--f-text);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bruno);
  position: relative;
  padding: .3rem 0;
}
.topbar__nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--rosso);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.topbar__nav a:hover::after,
.topbar__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.btn-wa {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1.4rem .8rem 1.1rem;
  background: var(--verde);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .4s var(--ease);
  animation: wa-in .8s .4s var(--ease) both;
	font-family: var(--f-text);
}
.btn-wa::before {
  content: "";
  position: absolute; inset: 3px;
  border: 1px solid rgba(255, 255, 255, .3);
  pointer-events: none;
  transition: inset .4s var(--ease);
}
.btn-wa:hover { background: var(--verde-hover); }
.btn-wa:hover::before { inset: 5px; }
.btn-wa svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-wa__num { padding-left: .8rem; border-left: 1px solid rgba(255,255,255,.35); letter-spacing: .1em; }

@keyframes wa-in { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  width: var(--wrap);
  margin: 0 auto;
  min-height: 100vh;
  padding: calc(var(--topbar-h) + 4rem) 0 5rem;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  z-index: 2;
}
.hero__title { margin-bottom: 1.6rem; }
.hero__quote {
  display: block;
  font-size: clamp(3.4rem, 8.2vw, 7.2rem);
  font-style: italic;
  font-weight: 600;
  line-height: .95;
  color: var(--bruno);
  margin-left: -.06em;
}
.hero__sub {
  display: block;
  margin-top: 1.2rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--inchiostro);
}
.hero__lead {
  font-size: 1.2rem;
  max-width: 30ch;
  margin: 0 0 2.4rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--rosso);
}
.hero__lead { font-family: var(--f-display); font-style: italic; font-size: 1.62rem; line-height: 1.35; color: var(--bruno); }
.hero__lead em { font-style: italic; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-bottom: 2.6rem; }

.rating {
  display: inline-flex; align-items: center; gap: .8rem;
  text-decoration: none; font-size: 1.1rem;
}
.rating__stars { color: #c99a1e; letter-spacing: .15em; font-size: 1.05rem; }
.rating strong { font-family: var(--f-display); font-size: 1.4rem; color: var(--bruno); }

.hero__photo { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 470px; }
.hero__frame {
  position: relative;
  padding: 14px;
  background: var(--carta);
  box-shadow: 0 40px 80px -40px rgba(42, 24, 6, .65), 0 0 0 1px rgba(105, 59, 15, .15);
  transform: rotate(1.6deg);
}
.hero__frame::after { /* doppio filetto */
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(105, 59, 15, .35);
  pointer-events: none;
}
.hero__frame img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; filter: saturate(.85) contrast(1.03); }
.hero__photo figcaption {
  margin-top: 1.4rem;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--bruno);
  text-align: right;
}
.hero__seal {
  position: absolute;
  left: -72px; bottom: 62px;
  width: 172px; height: 172px;
  display: grid; place-items: center;
  text-align: center;
  padding: 1.6rem;
  color: #fff;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.15;
  transform: rotate(-12deg);
  filter: drop-shadow(0 14px 18px rgba(42, 24, 6, .35));
  isolation: isolate;
}
/* bordo a punte, come un sigillo */
.hero__seal::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--rosso);
  clip-path: polygon(50.00% 0.00%, 53.97% 4.67%, 58.68% 0.76%, 61.78% 6.05%, 67.10% 3.02%, 69.23% 8.76%, 75.00% 6.70%, 76.10% 12.73%, 82.14% 11.70%, 82.17% 17.83%, 88.30% 17.86%, 87.27% 23.90%, 93.30% 25.00%, 91.24% 30.77%, 96.98% 32.90%, 93.95% 38.22%, 99.24% 41.32%, 95.33% 46.03%, 100.00% 50.00%, 95.33% 53.97%, 99.24% 58.68%, 93.95% 61.78%, 96.98% 67.10%, 91.24% 69.23%, 93.30% 75.00%, 87.27% 76.10%, 88.30% 82.14%, 82.17% 82.17%, 82.14% 88.30%, 76.10% 87.27%, 75.00% 93.30%, 69.23% 91.24%, 67.10% 96.98%, 61.78% 93.95%, 58.68% 99.24%, 53.97% 95.33%, 50.00% 100.00%, 46.03% 95.33%, 41.32% 99.24%, 38.22% 93.95%, 32.90% 96.98%, 30.77% 91.24%, 25.00% 93.30%, 23.90% 87.27%, 17.86% 88.30%, 17.83% 82.17%, 11.70% 82.14%, 12.73% 76.10%, 6.70% 75.00%, 8.76% 69.23%, 3.02% 67.10%, 6.05% 61.78%, 0.76% 58.68%, 4.67% 53.97%, 0.00% 50.00%, 4.67% 46.03%, 0.76% 41.32%, 6.05% 38.22%, 3.02% 32.90%, 8.76% 30.77%, 6.70% 25.00%, 12.73% 23.90%, 11.70% 17.86%, 17.83% 17.83%, 17.86% 11.70%, 23.90% 12.73%, 25.00% 6.70%, 30.77% 8.76%, 32.90% 3.02%, 38.22% 6.05%, 41.32% 0.76%, 46.03% 4.67%);
}
/* doppio filetto interno */
.hero__seal::after {
  content: "";
  position: absolute; inset: 15px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 0 0 4px var(--rosso), inset 0 0 0 5px rgba(255, 255, 255, .45);
  pointer-events: none;
}

/* striscia "palo del barbiere" */
.pole {
  position: relative; z-index: 2;
  height: 10px;
  background: repeating-linear-gradient(-45deg,
    var(--rosso) 0 14px, var(--carta) 14px 28px, var(--azzurro) 28px 42px, var(--carta) 42px 56px);
  background-size: 79px 10px;
  animation: pole 6s linear infinite;
}
@keyframes pole { to { background-position: 79px 0; } }

/* ---------- IL TEMPO ---------- */
.tempo {
  position: relative; z-index: 2;
  background: var(--bruno-scuro);
  color: var(--crema-chiara);
  padding: clamp(5rem, 10vw, 8rem) 0;
  overflow: hidden;
}
.tempo::before { /* F del logo, tono su tono */
  content: "";
  position: absolute;
  right: -6%; top: 50%;
  width: min(820px, 70vw); aspect-ratio: 1488 / 1356;
  transform: translateY(-50%) rotate(-4deg);
  background: rgba(227, 220, 199, .055);
  -webkit-mask: url("../img/f-favorito.svg") center / contain no-repeat;
          mask: url("../img/f-favorito.svg") center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.tempo > * { position: relative; z-index: 1; }
.tempo__head { width: var(--wrap); margin: 0 auto 4.5rem; max-width: 100%; margin-left: max(1.5rem, calc((100% - 1180px) / 2)); margin-bottom: 0px; }
.tempo h2 { color: var(--carta); font-size: clamp(2.8rem, 6vw, 5rem); }
.tempo__lead { font-size: 1.6rem; color: rgba(239,233,216,.82); max-width: 100%; line-height: 120%; }

.riti {
  list-style: none;
  width: var(--wrap);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(227, 220, 199, .22);
}
.rito {
  padding: 2.4rem 1.8rem 1rem 0;
  position: relative;
  transition-delay: calc(var(--i, 0) * 120ms);
}
.rito + .rito { padding-left: 1.8rem; border-left: 1px solid rgba(227, 220, 199, .12); }
.rito__num {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.8rem;
  color: #e9b9a0;
  margin-bottom: 1.0rem;
}
.rito h3 { color: var(--carta); font-size: 1.9rem; font-weight: 600; }
.rito p { color: rgba(239,233,216,.8); font-size: 1.4rem;  margin: 0; line-height: 130%; }

/* ---------- CHI SONO ---------- */
.enrico {
  position: relative; z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.enrico__photo { margin: 0; position: relative; margin-top: -3rem; }
.enrico__photo {
  padding: 14px;
  background: var(--carta);
  box-shadow: 0 40px 70px -45px rgba(42, 24, 6, .55), 0 0 0 1px rgba(105, 59, 15, .12);
}
.enrico__photo::after { /* filetto interno, come la foto della bottega */
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(105, 59, 15, .3);
  pointer-events: none;
}
.enrico__photo img {
  aspect-ratio: 3 / 4; object-fit: cover; width: 100%;
}
.enrico__photo figcaption {
  position: absolute; left: -1.6rem; bottom: 2.6rem; z-index: 2;
  background: var(--bruno);
  padding: .45rem 1.3rem .5rem;
  font-family: var(--f-display); font-style: italic; font-size: 1.35rem; line-height: 1.2; color: var(--carta);
  box-shadow: 0 12px 24px -14px rgba(42, 24, 6, .7);
}
.enrico__text p { max-width: 58ch; }
.enrico__text strong { color: var(--bruno); font-weight: 600; }
.enrico__sign {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--rosso);
  margin-top: 2rem;
}

/* ---------- APPUNTAMENTO ---------- */
.appuntamento {
  position: relative; z-index: 2;
  background: var(--bruno-scuro);
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7rem) max(1.5rem, calc((100% - 1180px) / 2));
}
.appuntamento__card {
  position: relative;
  background: var(--carta);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 760px;
  margin: 0 0 0 auto;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.75);
}
.appuntamento__card::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(105,59,15,.25);
  pointer-events: none;
}

.appuntamento__card p:not(.eyebrow) { font-size: 1.5rem; max-width: 56ch; line-height: 130%; }
.appuntamento__cta { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 2rem; }

/* ---------- RECENSIONI ---------- */
.recensioni {
  position: relative; z-index: 2;
  background: var(--crema-chiara);
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  border-top: 1px solid rgba(105,59,15,.15);
  border-bottom: 1px solid rgba(105,59,15,.15);
}
.recensioni__head {
  width: var(--wrap); margin: 0 auto 3.5rem;
  display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap;
}
.recensioni__score {
  position: relative;
  width: 200px; height: 200px;
  display: grid; place-content: center; justify-items: center;
  gap: .25rem;
  text-align: center;
  color: #fff;
  isolation: isolate;
  filter: drop-shadow(0 14px 18px rgba(42, 24, 6, .3));
}
/* bollino a punte, come quello in apertura */
.recensioni__score::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--rosso);
  clip-path: polygon(50.00% 0.00%, 53.97% 4.67%, 58.68% 0.76%, 61.78% 6.05%, 67.10% 3.02%, 69.23% 8.76%, 75.00% 6.70%, 76.10% 12.73%, 82.14% 11.70%, 82.17% 17.83%, 88.30% 17.86%, 87.27% 23.90%, 93.30% 25.00%, 91.24% 30.77%, 96.98% 32.90%, 93.95% 38.22%, 99.24% 41.32%, 95.33% 46.03%, 100.00% 50.00%, 95.33% 53.97%, 99.24% 58.68%, 93.95% 61.78%, 96.98% 67.10%, 91.24% 69.23%, 93.30% 75.00%, 87.27% 76.10%, 88.30% 82.14%, 82.17% 82.17%, 82.14% 88.30%, 76.10% 87.27%, 75.00% 93.30%, 69.23% 91.24%, 67.10% 96.98%, 61.78% 93.95%, 58.68% 99.24%, 53.97% 95.33%, 50.00% 100.00%, 46.03% 95.33%, 41.32% 99.24%, 38.22% 93.95%, 32.90% 96.98%, 30.77% 91.24%, 25.00% 93.30%, 23.90% 87.27%, 17.86% 88.30%, 17.83% 82.17%, 11.70% 82.14%, 12.73% 76.10%, 6.70% 75.00%, 8.76% 69.23%, 3.02% 67.10%, 6.05% 61.78%, 0.76% 58.68%, 4.67% 53.97%, 0.00% 50.00%, 4.67% 46.03%, 0.76% 41.32%, 6.05% 38.22%, 3.02% 32.90%, 8.76% 30.77%, 6.70% 25.00%, 12.73% 23.90%, 11.70% 17.86%, 17.83% 17.83%, 17.86% 11.70%, 23.90% 12.73%, 25.00% 6.70%, 30.77% 8.76%, 32.90% 3.02%, 38.22% 6.05%, 41.32% 0.76%, 46.03% 4.67%);
  transform: rotate(8deg);
}
.recensioni__score::after {
  content: "";
  position: absolute; inset: 17px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 0 0 4px var(--rosso), inset 0 0 0 5px rgba(255, 255, 255, .45);
  pointer-events: none;
}
.score__num { font-family: var(--f-display); font-size: 3.6rem; line-height: .85; font-weight: 600; color: #fff; }
.score__stars { color: #f3cf6a; font-size: 1.05rem; letter-spacing: .18em; margin-right: -.18em; }
.score__label { font-size: .62rem; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-top: .15rem; }

.carousel { position: relative; padding-bottom: 76px; }
.nowrap { white-space: nowrap; }
.carousel__track {
  list-style: none;
  margin: 0; padding: 1rem max(1.5rem, calc((100% - 1180px) / 2)) 2.5rem;
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(1.5rem, calc((100% - 1180px) / 2));
  scrollbar-width: none;
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.review {
  flex: 0 0 clamp(270px, 30vw, 360px);
  scroll-snap-align: start;
  position: relative;
  background: var(--carta);
  padding: 3rem 2rem 1.8rem;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 18px 40px -28px rgba(42,24,6,.55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  /* bordo dentellato tipo biglietto */
  -webkit-mask: radial-gradient(circle 7px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 7px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.review:nth-child(odd) { transform: translateY(14px); }
.review:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(42,24,6,.6); }
.review::before {
  content: "“";
  position: absolute; top: .2rem; left: 1.6rem;
  font-family: var(--f-display);
  font-size: 5rem; line-height: 1;
  color: var(--rosso);
  opacity: .85;
}
.review blockquote {
  margin: 0 0 1.6rem;
  font-family: var(--f-display);
  font-size: 1.32rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--inchiostro);
}
.review__who {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px dashed rgba(105,59,15,.35);
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bruno);
  display: flex; justify-content: space-between;
}
.review__who::after { content: "★★★★★"; color: #c99a1e; letter-spacing: .1em; }

.carousel__btn {
  position: absolute; bottom: 0; z-index: 3;
  width: 52px; height: 52px;
  border: 1px solid var(--bruno);
  background: var(--carta);
  color: var(--bruno);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.carousel__btn:hover { background: var(--bruno); color: var(--carta); }
.carousel__btn--prev { left: calc(50% - 60px); }
.carousel__btn--next { left: calc(50% + 8px); }
.carousel__btn[disabled] { opacity: .3; pointer-events: none; }

.recensioni__all { width: var(--wrap); margin: 2.4rem auto 0; text-align: center; }
.recensioni__all a {
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  color: var(--bruno); text-decoration: none; border-bottom: 1px solid var(--rosso); padding-bottom: .3rem;
}

/* ---------- ORARI ---------- */
.orari {
  position: relative; z-index: 2;
  overflow: hidden;
  background: var(--bruno);
  color: var(--crema-chiara);
  padding: clamp(5rem, 10vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
}
.orari__grid {
  width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.orari__col { padding: 0 2rem; border-left: 1px solid rgba(239,233,216,.22); }
.orari__col:first-child { padding-left: 0; border-left: 0; }
.orari h2 { color: var(--carta); font-size: 2.4rem; }
.orari address { font-style: normal; font-size: 1.35rem; margin-bottom: 1rem; }
.orari__tel { font-size: 1.35rem; margin: 0 0 1rem; }
.orari__tel a { text-decoration: none; border-bottom: 1px solid rgba(239,233,216,.35); }
.orari__hours { font-size: 1.35rem; margin: 0 0 1rem; }
.orari__link {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  text-decoration: none; color: #e9b9a0;
}
.orari__motto {
  width: var(--wrap);
  max-width: 820px;
  margin: 4.5rem auto 0;
  text-align: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  color: var(--carta);
  padding-top: 3rem;
  border-top: 1px solid rgba(239,233,216,.22);
}

/* ---------- MAPPA ---------- */
.mappa { position: relative; z-index: 2; line-height: 0; background: var(--bruno-scuro); }
.mappa iframe {
  width: 100%; height: 440px; border: 0;
  filter: sepia(.45) saturate(.7) contrast(.95);
  transition: filter .6s var(--ease);
}
.mappa:hover iframe { filter: none; }

/* ---------- FOOTER ---------- */
.footer {
  position: relative; z-index: 2;
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
  background: var(--bruno-scuro);
  font-size: 1.05rem;
  color: var(--crema-chiara);
}
.footer img { margin: 0 auto 1.4rem; width: 260px; height: auto; }
@media (max-width: 620px) { .footer img { width: 200px; } }
.footer p { margin: .2rem 0; line-height: 120%; }
.footer__small { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; opacity: .7; margin-top: 30px !important; }

/* ---------- ANIMAZIONI SCROLL ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero__photo.reveal { transform: translateY(40px) rotate(-2deg); }
.js .hero__photo.reveal.is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .topbar__nav { display: none; }
  .topbar { justify-content: space-between; }
  .riti { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
  .rito:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: calc(var(--topbar-h) + 2.5rem); }
  .hero__photo { justify-self: center; max-width: 420px; }
  .hero__seal { left: -22px; bottom: 54px; width: 136px; height: 136px; padding: 1.2rem; font-size: 1.15rem; }
  .hero__seal::after { inset: 12px; }
  .enrico { grid-template-columns: 1fr; }
  .enrico__photo { max-width: 380px; margin-top: 0; }
  .recensioni__score { width: 170px; height: 170px; }
  .score__num { font-size: 3rem; }
}

@media (max-width: 620px) {
  :root { --topbar-h: 64px; }
  body { font-size: 1.5rem; }
  .topbar { gap: .8rem; }
  .btn-wa { padding: .6rem .8rem; font-size: .7rem; letter-spacing: .08em; gap: .5rem; }
  .btn-wa__label { display: none; }
  .btn-wa__num { border-left: 0; padding-left: 0; }
  .btn-wa__num::before { content: "Prenota · "; }
  .riti { grid-template-columns: 1fr; }
  .rito, .rito + .rito { padding: 1.8rem 0 .4rem; border-left: 0; border-top: 1px solid rgba(227,220,199,.12); }
  .hero__cta .btn { width: 100%; }
  .mappa iframe { height: 360px; }
	
	.eyebrow::before {
 
  display: none;
}
}

/* etichette maiuscole restano in Jost per contrasto */
.score__label, .review__who, .orari__link, .footer__small, .recensioni__all a { font-family: var(--f-text); }

/* freccia link esterno (SVG: evita le emoji su iOS) */
.ico-ext { width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-left: .25em; transition: transform .35s var(--ease); }
a:hover .ico-ext { transform: translate(2px, -2px); }
.carousel__btn { display: inline-grid; place-items: center; }

/* F del logo, tono su tono: Orari (speculare) e Recensioni */
.orari::before,
.recensioni::before {
  content: "";
  position: absolute;
  aspect-ratio: 1488 / 1356;
  -webkit-mask: url("../img/f-favorito.svg") center / contain no-repeat;
          mask: url("../img/f-favorito.svg") center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.orari::before {
  right: -10%; bottom: -30%;
  width: min(760px, 70vw);
  background: rgba(239, 233, 216, .045);
  transform: rotate(-8deg);
}
.recensioni { overflow: hidden; }
.recensioni::before {
  left: -7%; top: -8%;
  width: min(600px, 60vw);
  background: rgba(105, 59, 15, .045);
  transform: rotate(-6deg);
}
.orari > *, .recensioni > * { position: relative; z-index: 1; }

/* Forbici da barbiere tono su tono nel primo blocco */
.hero::before {
  content: "";
  position: absolute;
  left: 34%; top: 50%;
  width: min(520px, 46vw);
  aspect-ratio: 1004 / 1321;
  transform: translate(-50%, -46%) rotate(-18deg);
  background: rgba(105, 59, 15, .07);
  -webkit-mask: url("../img/forbici.svg") center / contain no-repeat;
          mask: url("../img/forbici.svg") center / contain no-repeat;
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 860px) {
  .hero::before { left: 78%; top: 22%; width: 70vw; }
}

/* Rasoio a mano libera tono su tono in "Chi sono" */
.enrico::before {
  content: "";
  position: absolute;
  right: -6%; top: clamp(1.5rem, 4vw, 3.4rem);
  width: min(620px, 52vw);
  aspect-ratio: 1341 / 1319;
  transform: rotate(-8deg);
  background: rgba(105, 59, 15, .065);
  -webkit-mask: url("../img/rasoio.svg") center / contain no-repeat;
          mask: url("../img/rasoio.svg") center / contain no-repeat;
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 860px) {
  .enrico::before { right: -16%; top: auto; bottom: 0; width: 92vw; }
}

/* evita lo scorrimento orizzontale causato dagli elementi decorativi */
html, body { overflow-x: clip; }

/* Telefono d'epoca tono su tono sullo sfondo scuro di Appuntamento */
.appuntamento::before {
  content: "";
  position: absolute;
  left: calc(max(1.5rem, (100% - 1180px) / 2) + 1rem); top: 50%;
  width: min(500px, calc(100% - 2 * max(1.5rem, (100% - 1180px) / 2) - 760px + 6rem));
  aspect-ratio: 1322 / 1240;
  transform: translateY(-50%);
  background: rgba(239, 233, 216, .07);
  -webkit-mask: url("../img/telefono.svg") center / contain no-repeat;
          mask: url("../img/telefono.svg") center / contain no-repeat;
  pointer-events: none;
}
@media (max-width: 1080px) {
  .appuntamento::before { display: none; }
}
}

/* Orari: 3 colonne anche su tablet, una sola colonna solo su telefono */
@media (min-width: 621px) and (max-width: 860px) {
  .orari__col { padding: 0 1.2rem; }
  .orari h2 { font-size: 1.9rem; }
}
@media (max-width: 620px) {
  .orari__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .orari__col { padding: 0; border-left: 0; }
}

/* Logo in alto: grande e centrato su desktop, appeso sotto la barra; sparisce quando si scorre */
@media (min-width: 1200px) {
  .topbar__brand {
    position: absolute;
    left: 50%; top: 10px;
    transform: translateX(-50%);
    filter: drop-shadow(0 10px 16px rgba(42, 24, 6, .3));
    transition: opacity .45s var(--ease), transform .45s var(--ease);
  }
  .topbar__brand img { height: 170px; }
  .topbar.is-scrolled .topbar__brand {
    opacity: 0;
    transform: translate(-50%, -40px);
    pointer-events: none;
  }
}

/* Mobile: logo grande in alto, sotto il pulsante WhatsApp centrato; il logo sparisce quando si scorre */
@media (max-width: 620px) {
  .topbar {
    height: auto;
    flex-direction: column;
    justify-content: center;
    gap: .7rem;
    padding: .9rem 1rem .8rem;
  }
  .topbar__brand {
    display: block;
    max-height: 130px;
    overflow: hidden;
    transition: max-height .45s var(--ease), opacity .35s var(--ease), margin .45s var(--ease);
  }
  .topbar__brand img, .topbar.is-scrolled .topbar__brand img { height: 120px; width: auto; }
  .topbar.is-scrolled { padding-top: .7rem; gap: 0; }
  .topbar.is-scrolled .topbar__brand { max-height: 0; opacity: 0; }
  .btn-wa { padding: .75rem 1.2rem; font-size: .72rem; letter-spacing: .12em; gap: .6rem; }
  .btn-wa__label { display: inline; }
  .btn-wa__num { border-left: 1px solid rgba(255,255,255,.35); padding-left: .7rem; }
  .btn-wa__num::before { content: none; }
  .hero { padding-top: 230px; }
}

/* Tablet: logo grande a sinistra, appeso sotto la barra; si riduce quando si scorre */
@media (min-width: 621px) and (max-width: 1199px) {
  .topbar__brand {
    align-self: flex-start;
    margin-top: 10px;
    filter: drop-shadow(0 8px 14px rgba(42, 24, 6, .28));
    transition: margin .45s var(--ease);
  }
  .topbar__brand img { height: 140px; transition: height .45s var(--ease); }
  .topbar.is-scrolled .topbar__brand { margin-top: 6px; }
  .topbar.is-scrolled .topbar__brand img { height: 52px; }
  .topbar__nav { display: none; }
  .topbar { justify-content: space-between; }
}
@media (min-width: 621px) and (max-width: 860px) {
  .hero { padding-top: 190px; }
}
