/* ============================================
   Andrea Vitaloni Barbershop — Vintage / Dark
   ============================================ */

:root {
  /* Palette: warm black, parchment cream, brushed gold */
  --c-bg:           #0F0D0B;
  --c-bg-soft:      #161310;
  --c-surface:      #EFE7D8;
  --c-surface-2:    #E4D9C4;
  --c-ink:          #1A1612;
  --c-ink-soft:     #4A413A;
  --c-muted:        #8A7E72;
  --c-gold:         #C9A368;
  --c-gold-bright:  #E0BC82;
  --c-rust:         #B5532F;
  --c-line:         rgba(201, 163, 104, 0.25);
  --c-line-dark:    rgba(239, 231, 216, 0.10);

  --f-display: 'Gambarino', 'Playfair Display', Georgia, serif;
  --f-body:    'Switzer', system-ui, -apple-system, sans-serif;

  --space-2xs: 4px;
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  clamp(72px, 10vw, 128px);

  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 14px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--f-body);
  font-weight: 300;
  color: var(--c-ink);
  background: var(--c-surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button { font: inherit; }

::selection { background: var(--c-gold); color: var(--c-bg); }

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 16px;
  background: var(--c-bg);
  color: var(--c-surface);
  z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* ============================================
   NAV
   ============================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #080808;
  border-bottom: 1px solid var(--c-line-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: var(--f-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--c-surface);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo::before {
  content: "";
  width: 36px;
  height: 14px;
  background: var(--c-gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 24'><path fill='currentColor' d='M2 14h26v6H2zM30 12l28-7v7L30 19z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 24'><path fill='currentColor' d='M2 14h26v6H2zM30 12l28-7v7L30 19z'/></svg>") center / contain no-repeat;
  transition: transform 0.4s var(--ease);
}
.nav-logo:hover::before { transform: rotate(-8deg) scale(1.05); }
.nav-logo::before { display: none; }
.nav-logo-img {
  display: block;
  height: 42px;
  width: auto;
  border-radius: 4px;
  transition: transform 0.3s var(--ease);
}
.nav-logo:hover .nav-logo-img { transform: scale(1.04); }
.nav-links {
  display: flex;
  gap: var(--space-md);
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(239, 231, 216, 0.72);
  transition: color 0.25s var(--ease);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--c-gold-bright); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }

.nav-cta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-bg) !important;
  background: var(--c-gold);
  padding: 10px 18px !important;
  border-radius: var(--radius-sm);
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--c-gold-bright);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--c-surface);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  transform-origin: center;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-bg);
  isolation: isolate;
}
.hero-media {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero-media img,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media img { filter: brightness(0.92) contrast(1.05) saturate(0.92); }
/* Hero video — full visibility, plays on top of the fold */
.hero-video {
  filter: brightness(0.98) contrast(1.04) saturate(1.02);
  transform: scale(1.02);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
/* Bottom fade blends the video into the text area below */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 13, 11, 0.10) 0%, transparent 22%, transparent 70%, rgba(15, 13, 11, 0.92) 100%);
}
/* Film grain — subtle tactile texture over the video */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  text-align: center;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
  max-width: 880px;
  margin-inline: auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--space-md);
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--c-gold);
  opacity: 0.6;
}
.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.02;
  color: var(--c-surface);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}
.hero-headline em {
  font-style: italic;
  color: var(--c-gold-bright);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(239, 231, 216, 0.78);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 520px;
  margin-inline: auto;
}
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(239, 231, 216, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  animation: floatY 2.4s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn-primary {
  background: var(--c-gold);
  color: var(--c-bg);
}
.btn-primary:hover {
  background: var(--c-gold-bright);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--c-surface);
  border-color: rgba(239, 231, 216, 0.35);
}
.btn-ghost:hover {
  border-color: var(--c-gold);
  color: var(--c-gold-bright);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}
.mobile-book-bar .btn-whatsapp { color: #fff; border-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  .btn, .hero-scroll { transition: none; animation: none; transform: none !important; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding-block: var(--space-xl);
  position: relative;
}
.section-alt    { background: var(--c-surface-2); }
.section-dark   { background: var(--c-bg); color: var(--c-surface); }

.section-header {
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-rust);
  margin-bottom: var(--space-sm);
}
.section-label::before,
.section-label::after {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.section-dark .section-label { color: var(--c-gold); }

.section-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.005em;
}
.section-title em {
  font-style: italic;
  color: var(--c-rust);
}
.section-dark .section-title { color: var(--c-surface); }
.section-dark .section-title em { color: var(--c-gold-bright); }

.section-intro {
  color: var(--c-ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}
.section-dark .section-intro { color: rgba(239, 231, 216, 0.7); }

/* ============================================
   PRICE LIST
   ============================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}
.price-group {
  position: relative;
  padding-top: var(--space-md);
}
.price-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--c-gold);
}
.price-group-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-ink);
  margin-bottom: var(--space-md);
  letter-spacing: 0.01em;
}
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-name {
  font-size: 0.98rem;
  color: var(--c-ink);
  flex-shrink: 1;
}
.price-name em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--c-muted);
  margin-left: 4px;
}
.price-divider {
  flex: 1;
  border-bottom: 1px dotted var(--c-muted);
  position: relative;
  top: -4px;
  opacity: 0.5;
}
.price-value {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--c-rust);
  white-space: nowrap;
  flex-shrink: 0;
  font-style: italic;
}

/* ============================================
   APPUNTAMENTO
   ============================================ */
.appt-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.appt-text .section-label,
.appt-text .section-title,
.appt-text .section-header { text-align: left; margin-left: 0; }
.appt-text .section-header { margin-bottom: var(--space-md); }
.appt-body {
  color: var(--c-ink-soft);
  line-height: 1.8;
  font-size: 1.02rem;
}
.appt-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  color: var(--c-ink);
  padding: 20px 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(15, 13, 11, 0.04);
  transition: border-color 0.25s var(--ease),
              background 0.25s var(--ease),
              box-shadow 0.25s var(--ease),
              transform 0.2s var(--ease);
}
.contact-item:hover {
  border-color: var(--c-gold);
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 13, 11, 0.10);
  transform: translateX(4px);
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 2px;
}
.contact-value {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--c-ink);
}

/* ============================================
   PRODOTTI
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--c-bg);
  box-shadow: 0 12px 30px rgba(15, 13, 11, 0.16);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(15, 13, 11, 0.26);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}
.product-card:hover .product-img {
  transform: scale(1.06);
  filter: brightness(1.08);
}
.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 13, 11, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: var(--c-surface);
}
.product-name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.005em;
}
.product-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 6px;
}

/* ============================================
   INFO (dark)
   ============================================ */
.info-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-xl);
}
.info-block + .info-block { padding-left: 0; }
.info-block .section-label,
.info-block .section-title { text-align: left; margin-left: 0; }
.info-block .section-header { text-align: left; margin-bottom: var(--space-md); }

.info-address {
  margin-top: var(--space-sm);
  color: rgba(239, 231, 216, 0.78);
  line-height: 1.85;
  font-size: 1.02rem;
}
.info-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--space-md);
}
.info-link {
  color: var(--c-gold);
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
}
.info-link:hover { color: var(--c-gold-bright); }
.info-map-link {
  margin-top: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-surface);
  border-bottom: 1px solid var(--c-gold);
  padding-bottom: 4px;
  width: max-content;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.info-map-link:hover { color: var(--c-gold-bright); border-color: var(--c-gold-bright); }

.info-socials {
  display: flex;
  gap: 12px;
  margin-top: var(--space-md);
}
.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--c-line-dark);
  display: grid;
  place-items: center;
  color: var(--c-surface);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.social-link:hover {
  background: var(--c-gold);
  color: var(--c-bg);
  border-color: var(--c-gold);
  transform: translateY(-2px);
}

.hours-table {
  margin-top: var(--space-sm);
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 14px 0;
  font-size: 0.96rem;
  color: rgba(239, 231, 216, 0.85);
  border-bottom: 1px solid var(--c-line-dark);
}
.hours-table td:first-child {
  width: 40%;
  color: rgba(239, 231, 216, 0.55);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.hours-table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hours-closed td {
  color: rgba(239, 231, 216, 0.3) !important;
}
.hours-closed td:last-child::before {
  content: "● ";
  color: var(--c-rust);
  font-size: 0.7em;
  vertical-align: middle;
  margin-right: 4px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #0A0907;
  padding-block: var(--space-md);
  border-top: 1px solid var(--c-line-dark);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--c-gold);
  opacity: 0.5;
  margin-bottom: 8px;
}
.footer-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-bottom: 4px;
  border-radius: var(--radius-md);
}
.footer-name {
  font-family: var(--f-display);
  font-size: 1.05rem;
  color: var(--c-surface);
  letter-spacing: 0.04em;
}
.footer-legal,
.footer-copy {
  font-size: 0.74rem;
  color: rgba(239, 231, 216, 0.4);
  letter-spacing: 0.04em;
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   FOOTER EXTRAS (links, disclaimer)
   ============================================ */
.footer-links {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(239, 231, 216, 0.55);
  margin-top: 4px;
}
.footer-links a {
  color: var(--c-gold);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-links a:hover {
  color: var(--c-gold-bright);
  border-bottom-color: var(--c-gold-bright);
}
.footer-disclaimer {
  max-width: 640px;
  margin-top: var(--space-sm);
  font-size: 0.72rem;
  line-height: 1.65;
  color: rgba(239, 231, 216, 0.4);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  background: var(--c-bg-soft);
  color: var(--c-surface);
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: 20px 24px;
  animation: cookieIn 0.5s var(--ease);
}
.cookie-banner[hidden] { display: none; }
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1 1 360px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(239, 231, 216, 0.85);
}
.cookie-text a {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.72rem;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal {
  padding-block: var(--space-xl);
  background: var(--c-surface);
}
.legal-inner {
  max-width: 820px;
}
.legal-title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--c-ink);
  margin-block: var(--space-sm) var(--space-sm);
  letter-spacing: -0.005em;
}
.legal-title em {
  font-style: italic;
  color: var(--c-rust);
}
.legal-meta {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--c-line);
}
.legal h2 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-ink);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.005em;
}
.legal h3 {
  font-family: var(--f-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.01em;
}
.legal p,
.legal li {
  color: var(--c-ink-soft);
  font-size: 0.98rem;
  line-height: 1.75;
}
.legal p { margin-bottom: var(--space-sm); }
.legal ul {
  padding-left: 24px;
  margin-bottom: var(--space-sm);
}
.legal ul li { margin-bottom: 8px; }
.legal a {
  color: var(--c-rust);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal a:hover { color: var(--c-ink); }
.legal strong { color: var(--c-ink); font-weight: 600; }
.legal code {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.86em;
  padding: 2px 6px;
  background: var(--c-surface-2);
  border-radius: 3px;
  color: var(--c-ink);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-sm) 0 var(--space-md);
  font-size: 0.9rem;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
.legal-table th {
  background: var(--c-surface-2);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.legal-back {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--c-line);
}
.legal-back a {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-rust);
  text-decoration: none;
}
.legal-back a:hover { color: var(--c-ink); }

/* Legal tables horizontal scroll wrapper */
.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-sm) 0 var(--space-md);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
}
.legal-table-wrap .legal-table {
  margin: 0;
  min-width: 560px;
  border: 0;
}

/* ============================================
   RECENSIONI (Google reviews)
   ============================================ */
.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.reviews-summary[hidden] { display: none; }
.reviews-rating {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.reviews-score {
  font-family: var(--f-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--c-ink);
}
.reviews-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--c-gold);
}
.reviews-stars svg { display: block; }
.reviews-stars .star-empty { color: var(--c-muted); opacity: 0.4; }
.reviews-count {
  font-size: 0.86rem;
  color: var(--c-ink-soft);
  letter-spacing: 0.02em;
}
.reviews-google {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-xs);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-rust);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color 0.2s var(--ease);
}
.reviews-google:hover { color: var(--c-ink); }

/* Carousel */
.reviews-carousel { position: relative; }
.reviews-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-gold);
  border: 1px solid var(--c-line);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 13, 11, 0.18);
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.reviews-arrow:hover { background: var(--c-gold); color: var(--c-bg); }
.reviews-arrow svg { display: block; }
.reviews-prev { left: -14px; }
.reviews-next { right: -14px; }
.reviews-arrow[disabled] { opacity: 0.3; cursor: default; pointer-events: none; }

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  flex: 0 0 clamp(280px, 31%, 360px);
  scroll-snap-align: start;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(15, 13, 11, 0.04);
}
.review-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.review-source svg { display: block; flex-shrink: 0; }
.review-card .reviews-stars { font-size: 0; }
.review-text {
  color: var(--c-ink-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}
.review-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-gold);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 1.05rem;
  flex-shrink: 0;
  overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-author { font-weight: 500; color: var(--c-ink); font-size: 0.94rem; }
.review-date { font-size: 0.76rem; color: var(--c-muted); }

/* Loading / empty states */
.reviews-state {
  flex: 1 0 100%;
  text-align: center;
  color: var(--c-ink-soft);
  padding: var(--space-lg) 0;
}
.reviews-state .btn { margin-top: var(--space-sm); }
.reviews-carousel[data-state="loading"] .reviews-state,
.reviews-carousel[data-state="loading"] .reviews-arrow,
.reviews-carousel[data-state="empty"] .reviews-skeleton,
.reviews-carousel[data-state="empty"] .reviews-arrow { display: none; }
.reviews-skeleton {
  flex: 0 0 clamp(280px, 31%, 360px);
  height: 210px;
  border-radius: var(--radius-md);
  background: linear-gradient(100deg, var(--c-surface) 30%, var(--c-surface-2) 50%, var(--c-surface) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s var(--ease) infinite;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-skeleton { animation: none; }
}

/* ============================================
   MOBILE STICKY BOOK BAR
   ============================================ */
.mobile-book-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  gap: 10px;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(15, 13, 11, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-line-dark);
  transform: translateY(120%);
  transition: transform 0.35s var(--ease);
}
.mobile-book-bar.is-visible { transform: translateY(0); }
.mobile-book-bar .btn { flex: 1; padding: 14px 16px; }
.mobile-book-bar .btn-ghost { color: var(--c-surface); border-color: rgba(239, 231, 216, 0.4); }
@media (prefers-reduced-motion: reduce) {
  .mobile-book-bar { transition: none; }
}

/* ============================================
   STICKY "PRENOTA ORA" BUTTON (desktop, subtle)
   ============================================ */
.wa-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(80px) scale(0.9);
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease),
              background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-fab.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.wa-fab:hover {
  background: #1da851;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}
.wa-fab svg { display: block; flex-shrink: 0; }
/* Mobile uses the book bar instead */
@media (max-width: 640px) {
  .wa-fab { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab { transition: opacity 0.3s var(--ease); }
  .wa-fab.is-visible { transform: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet ≤ 960px */
@media (max-width: 960px) {
  :root {
    --space-xl: clamp(56px, 8vw, 96px);
    --space-lg: 48px;
  }
  .price-grid       { grid-template-columns: 1fr; gap: var(--space-md); }
  .appt-inner       { grid-template-columns: 1fr; gap: var(--space-lg); }
  .products-grid    { grid-template-columns: 1fr 1fr; }
  .review-card,
  .reviews-skeleton { flex-basis: clamp(260px, 46%, 340px); }
  .info-inner       { grid-template-columns: 1fr; gap: var(--space-lg); }
  .hero-media       { height: clamp(340px, 56vh, 560px); }
  .hero-inner       { padding-inline: var(--space-sm); }
  .section-header   { margin-bottom: var(--space-lg); }
}

/* Mobile ≤ 640px */
@media (max-width: 640px) {
  :root {
    --space-xl: 56px;
    --space-lg: 40px;
  }
  html              { scroll-padding-top: 70px; }
  .container        { padding-inline: 20px; }

  .site-nav         { background: #080808; }
  .nav-inner        { height: 64px; }
  .nav-logo         { font-size: 1.05rem; gap: 8px; }
  .nav-logo::before { width: 18px; height: 18px; }
  .nav-logo-img     { height: 34px; }
  .nav-links        { display: none; }
  .nav-cta-desktop  { display: none; }
  .nav-hamburger    { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: calc(100dvh - 64px);
    background: rgba(15, 13, 11, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--c-line-dark);
    padding: var(--space-md) 24px;
    gap: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    overflow-y: auto;
  }
  .nav-links.open a {
    font-family: var(--f-display);
    font-size: 1.6rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--c-surface);
    padding: 16px 0;
    border-bottom: 1px solid var(--c-line-dark);
    min-height: 56px;
    display: flex;
    align-items: center;
  }
  .nav-links.open a::after { display: none; }
  .nav-links.open .nav-cta {
    background: var(--c-gold);
    color: var(--c-bg) !important;
    text-align: center;
    justify-content: center;
    padding: 18px 22px !important;
    margin-top: 12px;
    border-radius: var(--radius-sm);
    font-family: var(--f-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
  }

  .hero-media       { height: clamp(420px, 64vh, 600px); }
  .hero-inner       { padding: var(--space-md) 20px var(--space-lg); }
  .hero-eyebrow     { gap: 10px; font-size: 0.66rem; letter-spacing: 0.2em; margin-bottom: var(--space-sm); }
  .hero-eyebrow::before,
  .hero-eyebrow::after { width: 24px; }
  .hero-headline    { font-size: clamp(2.2rem, 11vw, 3.4rem); margin-bottom: var(--space-sm); }
  .hero-sub         { font-size: 0.98rem; margin-bottom: var(--space-md); }
  .hero-actions     { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; padding: 16px 22px; }
  .hero-scroll      { display: none; }

  .btn              { padding: 14px 24px; }

  .section          { padding-block: var(--space-lg); }
  .section-header   { margin-bottom: var(--space-md); }
  .section-title    { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .section-intro    { font-size: 0.96rem; }

  .price-group-title { font-size: 1.3rem; margin-bottom: var(--space-sm); }
  .price-item       { gap: 8px; }
  .price-name       { font-size: 0.94rem; }
  .price-value      { font-size: 1.05rem; }

  .appt-body        { font-size: 0.98rem; line-height: 1.7; }
  .contact-item     { padding: 16px 16px; gap: 14px; }
  .contact-value    { font-size: 0.96rem; word-break: break-word; }
  .contact-label    { font-size: 0.62rem; }

  .products-grid    { grid-template-columns: 1fr; gap: 28px; }
  .product-overlay  { padding: 18px; }
  .product-name     { font-size: 1.05rem; }

  .reviews-track    { gap: 14px; scroll-padding-left: 20px; }
  .review-card      { padding: 22px 20px; flex-basis: 84%; }
  .reviews-skeleton { flex-basis: 84%; height: 190px; }
  .reviews-arrow    { display: none; }

  /* Sticky book bar visible on phones; reserve space so footer isn't covered */
  .mobile-book-bar  { display: flex; }
  body              { padding-bottom: 76px; }

  .info-address     { font-size: 0.98rem; }
  .info-link        { font-size: 0.95rem; }
  .hours-table td   { padding: 12px 0; font-size: 0.9rem; }
  .hours-table td:first-child { font-size: 0.7rem; letter-spacing: 0.12em; }

  .site-footer      { padding-block: var(--space-md); }
  .footer-name      { font-size: 0.95rem; }
  .footer-legal     { font-size: 0.7rem; line-height: 1.6; }
  .footer-disclaimer { font-size: 0.66rem; }
  .footer-copy      { font-size: 0.7rem; }

  .cookie-banner    {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
  }
  .cookie-inner     { flex-direction: column; align-items: stretch; gap: var(--space-sm); }
  .cookie-text      { font-size: 0.82rem; flex: 1 1 auto; }
  .cookie-actions   { justify-content: stretch; flex-direction: column-reverse; }
  .cookie-actions .btn { flex: 1; width: 100%; padding: 14px 18px; justify-content: center; }

  .legal h2         { font-size: 1.3rem; }
  .legal-title      { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .legal-table      { font-size: 0.82rem; }
  .legal-table th,
  .legal-table td   { padding: 10px 10px; }
}

/* Small mobile ≤ 380px */
@media (max-width: 380px) {
  .container        { padding-inline: 16px; }
  .hero-headline    { font-size: 1.95rem; }
  .section-title    { font-size: 1.6rem; }
  .nav-logo         { font-size: 0.95rem; }
}

/* Safe-area iPhone */
@supports (padding: max(0px)) {
  .cookie-banner {
    bottom: max(10px, env(safe-area-inset-bottom));
    left:   max(10px, env(safe-area-inset-left));
    right:  max(10px, env(safe-area-inset-right));
  }
  .site-footer {
    padding-bottom: max(var(--space-md), env(safe-area-inset-bottom));
  }
}
