/* Hallmark · scope: polish-in-place · brand system preserved (Barberia Parma)
   · tone: luxury american barbershop · anchor hue: bordeaux 20° · icons: stroke 1.6 ottone
   · pre-emit critique: P4 H5 E5 S5 R4 V4 */
/* ============================================================
   BARBERIA PARMA — stile del sito
   Palette dal logo: bordeaux, nero, bianco caldo + ottone
   ============================================================ */
:root {
  --bordeaux: #521e23;
  --bordeaux-chiaro: #6e2a31;
  --bordeaux-deep: #331216;
  --nero: #0d0a0b;
  --nero-2: #161011;
  --bianco: #f3ece3;
  --bianco-dim: rgba(243, 236, 227, 0.62);
  --ottone: #c9a15e;
  --font-display: "Alfa Slab One", serif;
  --font-condensed: "Oswald", sans-serif;
  --font-script: "Pinyon Script", cursive;
  --font-serif: "Playfair Display", serif;
  --font-body: "Barlow", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--nero);
  color: var(--bianco);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
html { overflow-x: clip; }

::selection { background: var(--bordeaux-chiaro); color: var(--bianco); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ------- icone (sprite) ------- */
.ico {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.ico-fill { fill: var(--ottone); stroke: none; width: 14px; height: 14px; }

/* ------- grana pellicola ------- */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ------- striscia barber pole ------- */
.stripe {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--bordeaux) 0 22px,
    var(--bianco) 22px 30px,
    var(--nero-2) 30px 52px,
    var(--bianco) 52px 60px
  );
  border-top: 1px solid rgba(243, 236, 227, 0.12);
  border-bottom: 1px solid rgba(243, 236, 227, 0.12);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 48px);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.nav.solid {
  background: rgba(13, 10, 11, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(243, 236, 227, 0.08);
  padding-top: 10px;
  padding-bottom: 10px;
}
.nav-logo img {
  height: 48px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.65));
  transition: transform 0.3s ease;
}
.nav-logo:hover img { transform: scale(1.04); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}
.nav-links a:not(.btn) {
  font-family: var(--font-condensed);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bianco-dim);
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--ottone);
  transition: width 0.3s ease;
}
.nav-links a:not(.btn):hover { color: var(--bianco); }
.nav-links a:not(.btn):hover::after { width: 100%; }
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ------- bottoni ------- */
.btn {
  display: inline-block;
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bianco);
  background: var(--bordeaux);
  border: 1px solid rgba(243, 236, 227, 0.25);
  padding: 13px 28px;
  border-radius: 3px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 18px rgba(82, 30, 35, 0.45);
}
.btn:hover {
  background: var(--bordeaux-chiaro);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(82, 30, 35, 0.6);
}
.btn:focus-visible {
  outline: 2px solid var(--ottone);
  outline-offset: 3px;
}
.btn:active { transform: translateY(0); }
.btn-big { font-size: 18px; padding: 18px 44px; }
.btn-ghost {
  background: transparent;
  border-color: rgba(243, 236, 227, 0.35);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(243, 236, 227, 0.08); }

/* ============================================================
   SEZIONI CINEMATICHE (canvas scrub)
   ============================================================ */
.cinematic { position: relative; }
.cinematic .sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--nero);
}
#hero { height: 520vh; }
#salone { height: 460vh; }
.cinematic canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.vignette {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 52%, rgba(13, 10, 11, 0.62) 100%),
    linear-gradient(to bottom, rgba(13, 10, 11, 0.5) 0%, transparent 18%, transparent 80%, rgba(13, 10, 11, 0.75) 100%);
}

/* ------- overlay copy sincronizzato allo scroll ------- */
.overlay {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  text-align: center;
  padding: 0 6vw;
}
.reveal-line {
  grid-area: 1 / 1;
  opacity: 0;
  will-change: opacity, transform;
  padding: clamp(30px, 6vw, 80px) clamp(26px, 8vw, 140px);
  border-radius: 24px;
  background: radial-gradient(
    ellipse at center,
    rgba(13, 10, 11, 0.62) 0%,
    rgba(13, 10, 11, 0.34) 52%,
    transparent 74%
  );
}
.logo-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 22px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(201, 161, 94, 0.22);
  animation: logoIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.logo-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 55%;
  background: linear-gradient(105deg, transparent, rgba(243, 236, 227, 0.22), transparent);
  transform: skewX(-18deg);
  animation: logoShine 3.2s ease 1s 2;
}
@keyframes logoIn {
  from { opacity: 0; transform: translateY(26px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes logoShine {
  0% { left: -80%; }
  55%, 100% { left: 130%; }
}
.logo-hero {
  width: clamp(170px, 21vw, 300px);
  display: block;
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}
.ornament span {
  width: clamp(46px, 6vw, 90px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ottone));
}
.ornament span:last-child { background: linear-gradient(90deg, var(--ottone), transparent); }
.ornament i {
  width: 16px; height: 16px;
  background-color: var(--ottone);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3.5' y='7' width='17' height='10' rx='2'/%3E%3Ccircle cx='12' cy='12' r='1.4'/%3E%3Cpath d='M7.5 7v10M16.5 7v10'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3.5' y='7' width='17' height='10' rx='2'/%3E%3Ccircle cx='12' cy='12' r='1.4'/%3E%3Cpath d='M7.5 7v10M16.5 7v10'/%3E%3C/svg%3E") no-repeat center / contain;
}
.reveal-line .h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 1.04;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95), 0 6px 44px rgba(0, 0, 0, 0.8);
}
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 74px);
  line-height: 1.08;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95), 0 6px 44px rgba(0, 0, 0, 0.8);
}
.hero-tagline .script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(33px, 4vw, 52px);
  color: var(--ottone);
  display: block;
  margin-top: 10px;
  letter-spacing: 0.02em;
  text-transform: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.reveal-line .script {
  font-family: var(--font-script);
  font-size: clamp(30px, 4.6vw, 64px);
  color: var(--ottone);
  display: block;
  margin-top: 8px;
  text-transform: none;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.8);
}
.reveal-line .sub {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: clamp(18px, 2.1vw, 25px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(243, 236, 227, 0.92);
  margin-top: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 4px 24px rgba(0, 0, 0, 0.8);
}

/* ------- widget recensioni Google ------- */
.gwidget {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 14px 26px 14px 18px;
  border: 1px solid rgba(243, 236, 227, 0.22);
  border-radius: 14px;
  background: rgba(13, 10, 11, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
  text-align: left;
}
.g-logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bordeaux);
  border: 1px solid rgba(201, 161, 94, 0.35);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.g-logo svg { width: 24px; height: 24px; }
.g-col { display: flex; flex-direction: column; gap: 2px; }
.g-score {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.g-stars { display: inline-flex; gap: 2px; }
.g-sub {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--bianco-dim);
  letter-spacing: 0.04em;
}

.progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(243, 236, 227, 0.12);
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--bordeaux);
}

/* ============================================================
   SEZIONI DI CONTENUTO
   ============================================================ */
.section {
  position: relative;
  padding: clamp(80px, 12vw, 150px) clamp(20px, 6vw, 80px);
  max-width: 1280px;
  margin: 0 auto;
}
.kicker-row {
  font-family: var(--font-condensed);
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ottone);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.kicker-row::before {
  content: "";
  width: 46px; height: 1px;
  background: var(--ottone);
  display: inline-block;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 26px;
  overflow-wrap: anywhere;
}
.section h2 .script {
  font-family: var(--font-script);
  text-transform: none;
  color: var(--ottone);
  font-size: 0.85em;
}
.section .lead {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--bianco-dim);
  max-width: 640px;
}

/* ------- la storia (testo + foto sfumata nel nero) ------- */
.statement { text-align: left; max-width: none; }
.statement-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.statement-copy .lead { margin-bottom: 18px; }
.statement-photo {
  position: relative;
  height: 100%;
}
.statement-photo img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 58%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 58%);
}
@media (max-width: 860px) {
  .statement-grid { grid-template-columns: 1fr; }
  .statement-photo img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  }
}

/* ------- marquee ------- */
.marquee {
  overflow: hidden;
  background: var(--bordeaux);
  border-top: 1px solid rgba(243, 236, 227, 0.16);
  border-bottom: 1px solid rgba(243, 236, 227, 0.16);
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-family: var(--font-condensed);
  font-size: 16px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(243, 236, 227, 0.92);
  padding: 0 28px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.marquee span::after {
  content: "";
  width: 15px; height: 15px;
  margin-left: 56px;
  background-color: var(--ottone);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3.5' y='7' width='17' height='10' rx='2'/%3E%3Ccircle cx='12' cy='12' r='1.4'/%3E%3Cpath d='M7.5 7v10M16.5 7v10'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3.5' y='7' width='17' height='10' rx='2'/%3E%3Ccircle cx='12' cy='12' r='1.4'/%3E%3Cpath d='M7.5 7v10M16.5 7v10'/%3E%3C/svg%3E") no-repeat center / contain;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ------- il rituale (esperienza in 4 tempi) ------- */
.rituale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(0px, 1vw, 10px);
  margin-top: clamp(44px, 5vw, 70px);
  border-top: 1px solid rgba(243, 236, 227, 0.14);
}
.tempo {
  padding: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 30px);
  border-bottom: 1px solid rgba(243, 236, 227, 0.14);
  position: relative;
  transition: background 0.4s ease;
}
.tempo:hover { background: rgba(82, 30, 35, 0.18); }
@media (min-width: 1000px) {
  .tempo:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0; top: 22%;
    height: 56%;
    width: 1px;
    background: rgba(243, 236, 227, 0.12);
  }
}
.tempo .tempo-num {
  font-family: var(--font-script);
  font-size: clamp(52px, 5vw, 74px);
  color: var(--ottone);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.tempo h3 {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tempo p { color: var(--bianco-dim); font-size: 16px; }
.tempo p b { color: var(--bianco); font-weight: 600; }

/* ------- galleria cinematica orizzontale ------- */
.gallery-cine {
  position: relative;
  height: 340vh;
}
.gal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 4vh, 44px);
}
.gal-head {
  padding: 0 clamp(20px, 6vw, 80px);
}
.gal-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.1;
  text-transform: uppercase;
}
.gal-head h2 .script {
  font-family: var(--font-script);
  text-transform: none;
  color: var(--ottone);
  font-size: 0.85em;
}
.gal-head .kicker-row { margin-bottom: 12px; }
.gal-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 3.5vw, 60px);
  padding: 0 clamp(20px, 6vw, 80px);
  width: max-content;
  will-change: transform;
}
.gal-card {
  position: relative;
  flex: 0 0 auto;
}
.gal-card.gc-wide { width: clamp(340px, 44vw, 760px); }
.gal-card.gc-tall { width: clamp(260px, 26vw, 440px); }
.gal-num {
  position: absolute;
  top: -0.55em; left: -0.15em;
  z-index: 2;
  font-family: var(--font-script);
  font-size: clamp(56px, 6vw, 96px);
  color: var(--ottone);
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}
.gal-imgwrap {
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(243, 236, 227, 0.12);
  background: var(--nero-2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.gc-wide .gal-imgwrap { aspect-ratio: 16 / 10; }
.gc-tall .gal-imgwrap { aspect-ratio: 4 / 5; }
.gal-imgwrap img {
  width: 112%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: filter 0.5s ease;
}
.gal-card:hover .gal-imgwrap img { filter: brightness(1.08); }
.gal-card figcaption {
  margin-top: 16px;
  padding-left: 4px;
  border-left: 2px solid var(--ottone);
  padding-left: 14px;
}
.gal-card figcaption b {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: block;
}
.gal-card figcaption i {
  font-style: normal;
  font-size: 14px;
  color: var(--bianco-dim);
}
@media (max-width: 760px) {
  .gallery-cine { height: auto; }
  .gal-sticky {
    position: static;
    height: auto;
    overflow: visible;
    padding: clamp(80px, 12vw, 150px) 0;
  }
  .gal-track {
    flex-direction: column;
    width: auto;
    transform: none !important;
    gap: 56px;
  }
  .gal-card.gc-wide, .gal-card.gc-tall { width: 100%; }
  .gal-imgwrap img { width: 100%; transform: none !important; }
}

/* ------- servizi ------- */
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(44px, 5vw, 70px);
}
.servizio-cat {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    rgba(243, 236, 227, 0.08),
    rgba(110, 42, 49, 0.26) 52%,
    rgba(243, 236, 227, 0.04)
  );
  border: 1px solid rgba(243, 236, 227, 0.18);
  border-radius: 6px;
  padding: 30px 26px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(243, 236, 227, 0.12);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.servizio-cat::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 55%;
  background: linear-gradient(105deg, transparent, rgba(243, 236, 227, 0.16), transparent);
  transform: skewX(-18deg);
  transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.servizio-cat:hover::before { left: 130%; }
.servizio-cat.in::before { animation: cardShine 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.55s 1; }
@keyframes cardShine {
  from { left: -80%; }
  to { left: 130%; }
}
.servizio-cat:hover {
  border-color: rgba(201, 161, 94, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(243, 236, 227, 0.16);
}
.cat-head { display: block; }
.cat-3d {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.servizio-cat:hover .cat-3d {
  transform: translateY(-5px) rotate(-4deg) scale(1.08);
}
.cat-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.35em;
  color: var(--ottone);
  line-height: 1;
}
.cat-num::after {
  content: "";
  width: 30px;
  height: 1px;
  background: rgba(201, 161, 94, 0.55);
}
.servizio-cat h3 {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 16px 0 20px;
  padding-bottom: 16px;
  padding-right: 92px;
  border-bottom: 1px solid rgba(243, 236, 227, 0.14);
}
.servizio-cat ul { list-style: none; }
.servizio-cat li {
  font-size: 18px;
  color: rgba(243, 236, 227, 0.85);
  padding: 10px 0 10px 28px;
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  transition: color 0.25s ease, padding-left 0.25s ease;
  border-bottom: 1px dashed rgba(243, 236, 227, 0.12);
}
.servizio-cat li .dots {
  flex: 1;
  min-width: 14px;
  border-bottom: 1px dotted rgba(243, 236, 227, 0.3);
  transform: translateY(-4px);
}
.servizio-cat li .sprice {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  color: var(--ottone);
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s ease;
}
.servizio-cat li:hover .sprice { transform: scale(1.1); }
.servizio-cat li:last-child { border-bottom: none; }
.servizio-cat li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 15px; height: 15px;
  background-color: var(--bordeaux-chiaro);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4 8.1 15.9'/%3E%3Cpath d='M14.5 14.5 20 20'/%3E%3Cpath d='M8.1 8.1 12 12'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4 8.1 15.9'/%3E%3Cpath d='M14.5 14.5 20 20'/%3E%3Cpath d='M8.1 8.1 12 12'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: background-color 0.25s ease;
}
.servizio-cat li:hover { color: var(--bianco); padding-left: 32px; }
.servizio-cat li:hover::before { background-color: var(--ottone); }
.servizi-note {
  margin-top: 40px;
  text-align: center;
  color: var(--bianco-dim);
  font-size: 17px;
}

/* ------- CTA finale ------- */
.cta-final {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-final .bg {
  position: absolute; inset: 0;
  z-index: -2;
}
.cta-final .bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}
.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(13, 10, 11, 0.72), rgba(51, 18, 22, 0.82));
}
.cta-final .inner { padding: 90px 24px; max-width: 820px; }
.cta-final .script {
  font-family: var(--font-script);
  font-size: clamp(34px, 5vw, 58px);
  color: var(--ottone);
  display: block;
  margin-bottom: 10px;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 78px);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 26px;
}
.cta-final p {
  color: rgba(243, 236, 227, 0.8);
  margin-bottom: 40px;
  font-size: 18px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--nero-2);
  border-top: 1px solid rgba(243, 236, 227, 0.1);
  padding: clamp(56px, 7vw, 90px) clamp(20px, 6vw, 80px) 34px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 44px;
  align-items: start;
}
.footer-grid .f-logo img { width: 170px; border-radius: 8px; }
.footer-grid h4 {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ottone);
  margin-bottom: 18px;
}
.footer-grid p, .footer-grid a { color: var(--bianco-dim); font-size: 16px; }
.footer-grid a:hover { color: var(--bianco); }
.f-ico {
  width: 17px; height: 17px;
  margin-right: 10px;
  color: var(--ottone);
  vertical-align: -3px;
}
.footer-grid .tel {
  font-family: var(--font-condensed);
  font-size: 24px;
  letter-spacing: 0.08em;
  color: var(--bianco);
  display: inline-block;
  margin-bottom: 8px;
}
.footer-grid .tel .f-ico { width: 20px; height: 20px; }
.footer-bottom {
  max-width: 1280px;
  margin: 56px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 236, 227, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(243, 236, 227, 0.4);
  font-family: var(--font-condensed);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============================================================
   MODALE PRENOTAZIONE
   ============================================================ */
.modal {
  position: fixed; inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(13, 10, 11, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, var(--nero-2), #1d1213);
  border: 1px solid rgba(201, 161, 94, 0.35);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 46px);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.modal.open .modal-panel { transform: translateY(0) scale(1); }
.modal-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  border-radius: 8px 8px 0 0;
  background: repeating-linear-gradient(
    -45deg,
    var(--bordeaux) 0 18px,
    var(--bianco) 18px 24px,
    var(--nero-2) 24px 42px,
    var(--bianco) 42px 48px
  );
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: 1px solid rgba(243, 236, 227, 0.25);
  color: var(--bianco-dim);
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
}
.modal-close:hover { color: var(--bianco); border-color: var(--bianco); transform: rotate(90deg); }
.modal-close:focus-visible { outline: 2px solid var(--ottone); outline-offset: 2px; }
.modal-panel .script {
  font-family: var(--font-script);
  font-size: 34px;
  color: var(--ottone);
  display: block;
}
.modal-panel h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  text-transform: uppercase;
  margin: 4px 0 8px;
}
.modal-panel .modal-sub {
  color: var(--bianco-dim);
  font-size: 15px;
  margin-bottom: 28px;
}
.form-row { margin-bottom: 18px; }
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) { .form-row-split { grid-template-columns: 1fr; } }
.form-row label {
  display: block;
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ottone);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: rgba(13, 10, 11, 0.6);
  border: 1px solid rgba(243, 236, 227, 0.18);
  border-radius: 4px;
  color: var(--bianco);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible,
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--ottone);
  box-shadow: 0 0 0 3px rgba(201, 161, 94, 0.15);
}
.form-row select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a15e' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-row select option { background: var(--nero-2); }
.form-row textarea { resize: vertical; min-height: 84px; }
.form-row input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.8) sepia(0.4); }
.modal-panel .btn { width: 100%; margin-top: 8px; }
.form-success {
  display: none;
  text-align: center;
  padding: 30px 0 12px;
}
.form-success .check {
  display: inline-grid;
  place-items: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(201, 161, 94, 0.45);
  background: rgba(82, 30, 35, 0.3);
  margin-bottom: 18px;
}
.success-ico { width: 38px; height: 38px; color: var(--ottone); }
.form-success h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.form-success p { color: var(--bianco-dim); font-size: 15px; }
.modal-panel.sent form { display: none; }
.modal-panel.sent .form-success { display: block; }

/* ============================================================
   REVEAL (IntersectionObserver)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ------- schermi piccoli: hero compatto ------- */
@media (max-width: 480px) {
  .hero-tagline { font-size: 27px; }
  .hero-tagline .script { font-size: 30px; }
  .reveal-line { padding: 24px 16px; }
  .overlay { padding: 0 4vw; }
  .logo-hero { width: 150px; }
  .gwidget { gap: 12px; padding: 11px 18px 11px 13px; margin-top: 22px; }
  .g-logo { width: 36px; height: 36px; }
  .g-score { font-size: 19px; }
  .g-sub { font-size: 12.5px; }
  .nav-logo img { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .gal-imgwrap img, .btn, .modal-panel { transition: none; }
  .logo-wrap { animation: none; }
  .logo-wrap::after { animation: none; display: none; }
  .servizio-cat.in::before { animation: none; }
  .cat-3d, .servizio-cat, .sprice { transition: none; }
}
