/* ============================================================
   Mosca's Skin Tattoo — Senigallia
   Palette: nero inchiostro + rosso sangue, texture grana pellicola
   ============================================================ */

@font-face { font-display: swap; }

:root{
  --bg: #0b0a09;
  --bg-alt: #151210;
  --bg-card: #1a1614;
  --ink: #f3ede4;
  --ink-dim: rgba(243,237,228,.62);
  --ink-faint: rgba(243,237,228,.38);
  --red: #b3212f;
  --red-bright: #d62a3a;
  --red-dim: rgba(179,33,47,.28);
  --line: rgba(243,237,228,.14);
  --line-strong: rgba(243,237,228,.28);
  --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', Arial, sans-serif;
  --ease: cubic-bezier(.16,.84,.44,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ max-width: 100%; overflow-x: hidden; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* grana pellicola sottile, sempre presente */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
.sr-only{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sr-only:focus{
  position: fixed; top: 8px; left: 8px; width: auto; height: auto;
  padding: 10px 16px; background: var(--red); color: #fff; z-index: 3000; border-radius: 4px;
}

.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--red-bright); font-weight: 600;
}
.eyebrow::before{
  content: ""; width: 22px; height: 1px; background: var(--red-bright);
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin: 0;
  line-height: .96;
}

.section{ padding: 96px 20px; }
.section-inner{ max-width: 1120px; margin: 0 auto; }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(38px, 6vw, 64px); margin-top: 14px; }
.section-head p{ color: var(--ink-dim); font-size: 17px; margin-top: 16px; }

/* ---------- reveal on scroll ---------- */
[data-reveal]{
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- header ---------- */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  background: rgba(11,10,9,0);
  transition: background .35s ease, backdrop-filter .35s ease, padding .35s ease;
}
.site-header::before{
  content: "";
  position: absolute; inset: 0;
  background: rgba(11,10,9,.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled::before{ opacity: 1; border-bottom-color: var(--line); }
.site-header.is-scrolled{ padding: 10px 24px; }

.brand{ display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; z-index: 10; }
.brand img{ width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); }
.brand span{ color: var(--ink); }
.brand span em{ font-style: normal; color: var(--red-bright); }

.menu-toggle{
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 10px; z-index: 10;
}
.menu-toggle span{ display:block; width: 26px; height: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
body.nav-open .menu-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2){ opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.site-nav{
  display: flex; align-items: center; gap: 32px;
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
}
.site-nav a{ color: var(--ink-dim); transition: color .2s ease; padding: 6px 0; position: relative; }
.site-nav a:hover, .site-nav a[aria-current]{ color: var(--ink); }
.site-nav a.btn-cta{
  color: #fff; background: var(--red); padding: 10px 18px; border-radius: 3px;
  letter-spacing: 1.5px;
}
.site-nav a.btn-cta:hover{ background: var(--red-bright); }

@media (max-width: 880px){
  .site-nav{
    position: fixed; inset: 0 0 0 30%; background: var(--bg-alt);
    flex-direction: column; justify-content: center; gap: 28px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    border-left: 1px solid var(--line);
  }
  body.nav-open .site-nav{ transform: translateX(0); }
  .site-nav a{ font-size: 20px; }
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding: 40px 20px 64px;
}
.hero__bg{
  position: absolute; inset: 0; z-index: -2;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.hero__bg img{
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(55%) contrast(1.15) brightness(.55);
}
.hero__bg::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,10,9,.5) 0%, rgba(11,10,9,.55) 40%, rgba(11,10,9,.96) 100%);
}
.hero__inner{ position: relative; max-width: 900px; }
.hero__logo{
  width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid var(--red); margin-bottom: 26px;
  animation: fadeUp .9s var(--ease) both;
}
.hero h1{
  font-size: clamp(52px, 11vw, 128px);
  color: var(--ink);
  animation: fadeUp 1s var(--ease) both .1s;
}
.hero h1 em{ font-style: normal; color: var(--red-bright); }
.hero__sub{
  color: var(--ink-dim); font-size: clamp(15px, 2vw, 19px);
  max-width: 520px; margin-top: 18px;
  animation: fadeUp 1s var(--ease) both .22s;
}
.hero__meta{
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px;
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-faint);
  animation: fadeUp 1s var(--ease) both .3s;
}
.hero__meta span{ display: inline-flex; align-items: center; gap: 8px; }
.hero__meta i{ color: var(--red-bright); }
.hero__cta{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; animation: fadeUp 1s var(--ease) both .4s; }

@keyframes fadeUp{ from{ opacity:0; transform: translateY(24px);} to{ opacity:1; transform: translateY(0);} }

.hero__scroll{
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-faint);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll::after{
  content: ""; width: 1px; height: 34px; background: linear-gradient(var(--red-bright), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine{ 0%{ transform: scaleY(0); transform-origin: top;} 50%{ transform: scaleY(1); transform-origin: top;} 51%{ transform-origin: bottom;} 100%{ transform: scaleY(0); transform-origin: bottom;} }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 3px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; transition: all .25s ease;
}
.btn-red{ background: var(--red); color: #fff; }
.btn-red:hover{ background: var(--red-bright); transform: translateY(-2px); }
.btn-outline{ border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover{ border-color: var(--ink); background: rgba(243,237,228,.06); }

/* ---------- chi siamo ---------- */
.about{ background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about-grid p{ color: var(--ink-dim); font-size: 17px; margin: 18px 0 0; }
.about-photo{ position: relative; }
.about-photo img{ border-radius: 4px; aspect-ratio: 4/5; object-fit: cover; }
.about-photo::before{
  content: ""; position: absolute; top: -14px; left: -14px; right: 14px; bottom: 14px;
  border: 1px solid var(--red-dim); border-radius: 4px; z-index: -1;
}
@media (max-width: 880px){
  .about-grid{ grid-template-columns: 1fr; gap: 34px; }
  .about-photo{ order: -1; max-width: 340px; margin: 0 auto; }
}

/* ---------- gallery ---------- */
.gallery-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px;
}
.gallery-grid a{
  position: relative; display: block; aspect-ratio: 1/1; overflow: hidden;
}
.gallery-grid img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease), filter .6s ease;
  filter: grayscale(20%);
}
.gallery-grid a:hover img{ transform: scale(1.08); filter: grayscale(0%); }
.gallery-grid a::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,10,9,.7), transparent 55%);
  opacity: 0; transition: opacity .3s ease;
}
.gallery-grid a span{
  position: absolute; left: 12px; bottom: 10px; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink);
  opacity: 0; transform: translateY(8px); transition: all .3s ease; z-index: 2;
}
.gallery-grid a:hover::after, .gallery-grid a:hover span{ opacity: 1; transform: translateY(0); }

@media (max-width: 880px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ---------- servizi teaser ---------- */
.services-teaser{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card{
  background: var(--bg); padding: 34px 26px; transition: background .3s ease;
}
.service-card:hover{ background: var(--bg-card); }
.service-card .num{ font-family: var(--font-display); font-size: 40px; color: var(--red-dim); }
.service-card h3{ font-size: 20px; margin-top: 10px; }
.service-card p{ color: var(--ink-dim); font-size: 14px; margin-top: 10px; }

@media (max-width: 880px){
  .services-teaser{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .services-teaser{ grid-template-columns: 1fr; }
}

.services-cta{ margin-top: 40px; display: flex; }

/* ---------- dove siamo ---------- */
.where{ background: var(--bg-alt); border-top: 1px solid var(--line); }
.where-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.info-list{ list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 20px; }
.info-list li{ display: flex; gap: 16px; align-items: flex-start; font-size: 15px; color: var(--ink-dim); }
.info-list i{ color: var(--red-bright); font-size: 18px; margin-top: 2px; width: 20px; }
.info-list strong{ color: var(--ink); display: block; font-weight: 600; }
.map-frame{ border: 1px solid var(--line); border-radius: 4px; overflow: hidden; min-height: 320px; }
.map-frame iframe{ width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(65%) invert(92%) contrast(90%); }

@media (max-width: 880px){ .where-grid{ grid-template-columns: 1fr; gap: 34px; } }

/* ---------- contatti / CTA finale ---------- */
.contact-band{
  text-align: center; padding: 110px 20px;
  position: relative; overflow: hidden;
}
.contact-band::before{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, var(--red-dim), transparent 60%);
  opacity: .5;
}
.contact-band h2{ font-size: clamp(40px, 8vw, 88px); position: relative; }
.contact-band p{ color: var(--ink-dim); margin-top: 16px; position: relative; }
.contact-band .hero__cta{ justify-content: center; margin-top: 34px; position: relative; }

/* ---------- footer ---------- */
.site-footer{
  padding: 50px 20px 30px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
}
.site-footer img{ width: 52px; height: 52px; border-radius: 50%; }
.footer-social{ display: flex; gap: 22px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-dim); }
.footer-social a:hover{ color: var(--red-bright); }
.footer-addr{ font-size: 13px; color: var(--ink-faint); }
.footer-credit{ font-size: 12px; color: var(--ink-faint); }
.footer-credit a{ color: var(--ink-dim); border-bottom: 1px solid var(--line-strong); }
.footer-credit a:hover{ color: var(--red-bright); border-color: var(--red-bright); }

/* ---------- floating whatsapp mobile ---------- */
.floating-wa{
  position: fixed; right: 18px; bottom: 18px; z-index: 400;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: 0 10px 24px rgba(0,0,0,.4);
  transition: transform .25s ease, background .25s ease;
}
.floating-wa:hover{ background: var(--red-bright); transform: scale(1.06); }

/* ---------- scroll progress ---------- */
.scroll-progress{
  position: fixed; top: 0; left: 0; height: 3px; background: var(--red-bright);
  z-index: 900; width: 0%; transition: width .1s linear;
}

/* ============================================================
   MENU / SERVIZI PAGE
   ============================================================ */
.page-header{
  padding: 150px 20px 50px; max-width: 900px; margin: 0 auto;
}
.page-header h1{ font-size: clamp(44px, 9vw, 88px); margin-top: 14px; }
.page-header p{ color: var(--ink-dim); margin-top: 16px; max-width: 560px; }

.menu-categories{ display: grid; gap: 64px; }
.menu-category__head{ display: flex; align-items: baseline; gap: 18px; margin-bottom: 6px; }
.menu-category__head h2{ font-size: clamp(28px, 4vw, 40px); white-space: nowrap; }
.menu-category__line{ flex: 1; height: 1px; background: var(--line); }
.menu-category__note{ color: var(--ink-dim); font-size: 14px; margin: 6px 0 26px; max-width: 560px; }

.menu-item-list{ display: grid; gap: 0; border-top: 1px solid var(--line); }
.menu-item{
  display: flex; justify-content: space-between; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.menu-item__info h4{ font-family: var(--font-body); font-weight: 600; font-size: 16px; margin: 0; color: var(--ink); text-transform: none; letter-spacing: 0; }
.menu-item__info p{ color: var(--ink-dim); font-size: 14px; margin: 6px 0 0; max-width: 460px; }
.menu-item__price{
  font-family: var(--font-display); font-size: 20px; color: var(--red-bright);
  white-space: nowrap; letter-spacing: 1px;
}
.menu-item__price.tbd{ font-family: var(--font-body); font-size: 12px; color: var(--ink-faint); letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }

.menu-note-box{
  margin-top: 60px; padding: 26px 28px; border: 1px solid var(--line);
  border-left: 3px solid var(--red); border-radius: 2px;
  color: var(--ink-dim); font-size: 14px; line-height: 1.7;
}

.menu-cta-band{ text-align: center; padding: 90px 20px; border-top: 1px solid var(--line); }
.menu-cta-band h2{ font-size: clamp(32px, 6vw, 56px); }
.menu-cta-band p{ color: var(--ink-dim); margin-top: 14px; }
.menu-cta-band .hero__cta{ justify-content: center; margin-top: 30px; }
