/* =========================================================
   FONT IN LOCALE (nessuna richiesta a Google)
   ========================================================= */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/inter-300.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}


/* =========================================================
   UNICO RESTAURANT
   MASTER CSS
   Refactor completo
   ========================================================= */


/* =========================================================
   01 — VARIABLES
   ========================================================= */

:root {

  /* Background */
  --bg: #1c1f19;
  --bg-panel: #262920;
  --bg-soft: #22251e;

  /* Typography */
  --ink: #ece3cf;
  --ink-dim: rgba(236, 227, 207, 0.62);
  --ink-faint: rgba(236, 227, 207, 0.36);

  /* Olive / silver */
  --olive: #8a9660;
  --olive-bright: #a3b378;

  --silver: #c3c8bc;
  --silver-bright: #d8dccd;

  /* Compatibility aliases */
  --terracotta: #8a9660;
  --terracotta-bright: #a3b378;

  --amber: #c3c8bc;
  --amber-bright: #d8dccd;

  --gold: #8a9660;
  --gold-bright: #a3b378;

  /* Pompeian accent */
  --pompeiano: #9c3b2e;
  --pompeiano-bright: #b8503c;

  /* Borders */
  --line: rgba(236, 227, 207, 0.14);
  --line-strong: rgba(236, 227, 207, 0.28);

  /* Typography */
  --font-family:
    "Cormorant Garamond",
    Georgia,
    serif;

  --font-body:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  /* Layout */
  --content-width: 1100px;
  --content-narrow: 760px;

  /* Navigation */
  --nav-height: 74px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

}


/* =========================================================
   02 — RESET
   ========================================================= */

*,
*::before,
*::after {

  margin: 0;
  padding: 0;

  box-sizing: border-box;

  -webkit-tap-highlight-color: transparent;
}


html {

  scroll-behavior: smooth;

  width: 100%;

  overflow-x: hidden;
}


body {

  width: 100%;
  min-height: 100%;

  overflow-x: hidden;

  background: var(--bg);
  color: var(--ink);

  font-family: var(--font-body);

  font-weight: 300;

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


a {

  color: inherit;
}


button,
input,
textarea,
select {

  font: inherit;
}


img {

  display: block;

  max-width: 100%;
}


::selection {

  background: var(--pompeiano);

  color: #f2e8d8;
}


/* =========================================================
   03 — SHARED ELEMENTS
   ========================================================= */

.eyebrow {

  display: inline-block;

  color: var(--silver);

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 4px;

  line-height: 1;

  text-transform: uppercase;
}


.divider {

  width: 44px;
  height: 1px;

  margin: 22px auto;

  background: var(--line-strong);
}


.divider.left {

  margin: 22px 0;
}


/* =========================================================
   04 — NAVIGATION
   ========================================================= */

.nav {

  position: sticky;

  top: 0;
  left: 0;
  right: 0;

  z-index: 900;

  width: 100%;

  min-height: var(--nav-height);

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 16px 18px;

  background: rgba(28, 31, 25, 0.97);

  border-bottom: 1px solid var(--line);

  transition:
    background 0.4s ease,
    padding 0.4s ease,
    border-color 0.4s ease;
}


.nav.scrolled {

  padding-top: 12px;
  padding-bottom: 12px;

  background: rgba(28, 31, 25, 0.98);

  border-bottom-color: var(--line-strong);

  backdrop-filter: blur(14px);

  -webkit-backdrop-filter: blur(14px);
}


.nav-logo-link {

  display: flex;

  align-items: center;

  flex-shrink: 0;
}


.nav-logo {

  display: block;

  height: 44px;

  width: auto;

  max-width: 140px;

  opacity: 0.95;
}


.nav-links {

  display: none;

  align-items: center;

  gap: 36px;

  list-style: none;
}


.nav-links a {

  position: relative;

  color: var(--ink-dim);

  text-decoration: none;

  font-size: 10px;

  letter-spacing: 3px;

  text-transform: uppercase;

  transition: color 0.3s ease;
}


.nav-links a:hover,
.nav-links a[aria-current="page"] {

  color: var(--olive-bright);
}


.nav-cta {

  display: none;

  width: auto;

  margin-right: 8px;

  padding: 10px 20px;

  font-size: 9px;

  letter-spacing: 3px;
}


.nav-right {

  display: flex;

  align-items: center;

  gap: 22px;
}


/* =========================================================
   05 — BURGER
   ========================================================= */

.burger {

  width: 42px;
  height: 42px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 5px;

  padding: 0;

  margin: 0;

  border: 0;

  background: transparent;

  color: var(--ink);

  cursor: pointer;

  z-index: 1000;
}


.burger span {

  display: block;

  width: 22px;
  height: 2px;

  background: currentColor;

  border-radius: 2px;

  opacity: 0.9;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}


/* =========================================================
   06 — FULLSCREEN MENU
   ========================================================= */

.menu {

  position: fixed;

  inset: 0;

  z-index: 950;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 24px;

  background: rgba(18, 22, 16, 0.97);

  backdrop-filter: blur(24px);

  -webkit-backdrop-filter: blur(24px);

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.5s ease;
}


.menu.active {

  opacity: 1;

  pointer-events: auto;
}


.menu-content {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 28px;

  text-align: center;
}


.menu-content .menu-eyebrow {

  margin-bottom: 6px;
}


.menu-content a {

  color: var(--ink);

  text-decoration: none;

  font-family: var(--font-family);

  font-size: 24px;

  font-weight: 500;

  letter-spacing: 0.5px;

  opacity: 0.85;

  transition:
    color 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}


.menu-content a:hover,
.menu-content a[aria-current="page"] {

  color: var(--silver-bright);

  opacity: 1;

  transform: translateX(6px);
}


.menu-content .menu-cta {

  margin-top: 10px;

  color: var(--olive-bright);

  font-family: var(--font-body);

  font-size: 10px;

  letter-spacing: 4px;

  text-transform: uppercase;
}


/* =========================================================
   07 — HERO
   ========================================================= */

.hero {

  position: relative;

  min-height: calc(100svh - var(--nav-height));

  display: flex;

  flex-direction: column;

  background: var(--bg);
}


.hero-image {

  order: 1;

  position: relative;

  width: 100%;

  min-height: 52vh;

  flex-shrink: 0;

  background:
    url("../images/ciccia2.webp")
    center 60% /
    cover
    no-repeat;

  background-color: var(--bg);
}


.hero-image::before {

  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(20, 22, 18, 0.15) 0%,
      rgba(20, 22, 18, 0.38) 100%
    );
}


.hero-content {

  order: 2;

  position: relative;

  z-index: 2;

  width: 100%;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  justify-content: center;

  padding: 32px 24px 56px;

  background: var(--bg-panel);
}


.hero-cta-row {

  order: 1;

  width: 100%;

  display: flex;

  align-items: center;

  justify-content: flex-start;

  gap: 12px;

  flex-wrap: wrap;
}


.hero-text {

  order: 2;

  width: 100%;

  max-width: 640px;

  margin-top: 28px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;
}


.hero-text h1 {

  margin-top: 16px;

  color: var(--ink);

  font-family: var(--font-family);

  font-size: clamp(30px, 7vw, 50px);

  font-weight: 600;

  line-height: 1.1;

  letter-spacing: 0.5px;

  text-align: left;
}


.hero-text h1 em {

  color: var(--olive-bright);

  font-style: normal;
}


.hero-text .hero-claim {

  margin-top: 6px;

  color: var(--ink-dim);

  font-family: var(--font-family);

  font-size: clamp(18px, 4vw, 24px);

  font-weight: 500;
}


.hero-text p {

  max-width: 480px;

  margin-top: 18px;

  color: var(--ink-dim);

  font-size: 14px;

  font-weight: 300;

  line-height: 1.85;

  text-align: left;
}


/* =========================================================
   08 — SCROLL CUE
   ========================================================= */

.scroll-cue {

  display: none;

  flex-direction: column;

  align-items: center;

  gap: 8px;

  opacity: 0.55;
}


.scroll-cue span {

  font-size: 9px;

  letter-spacing: 3px;

  text-transform: uppercase;
}


.scroll-cue .line-anim {

  position: relative;

  width: 1px;
  height: 26px;

  overflow: hidden;

  background: var(--ink-faint);
}


.scroll-cue .line-anim::after {

  content: "";

  position: absolute;

  top: -100%;
  left: 0;

  width: 100%;
  height: 100%;

  background: var(--olive-bright);

  animation:
    scrollDown 1.8s ease-in-out infinite;
}


@keyframes scrollDown {

  0% {
    top: -100%;
  }

  60% {
    top: 100%;
  }

  100% {
    top: 100%;
  }

}


/* =========================================================
   09 — BUTTONS
   ========================================================= */

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  width: 100%;

  padding: 15px 28px;

  border:
    1px solid var(--line-strong);

  border-radius: var(--radius-pill);

  background: rgba(255, 255, 255, 0.04);

  color: var(--ink);

  text-decoration: none;

  font-size: 10px;

  letter-spacing: 4px;

  text-transform: uppercase;

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}


.btn:hover {

  transform: translateY(-2px);

  background: rgba(255, 255, 255, 0.09);

  border-color: var(--ink-dim);
}


.btn.gold {

  color: #1c1f19;

  background: var(--olive-bright);

  border-color: var(--olive-bright);

  font-weight: 600;
}


.btn.gold:hover {

  background: var(--silver-bright);

  border-color: var(--silver-bright);
}


.btn svg {

  width: 11px;
  height: 11px;

  flex-shrink: 0;

  transition: transform 0.3s ease;
}


.btn:hover svg {

  transform: translateX(3px);
}


/* =========================================================
   10 — GENERIC SECTIONS
   ========================================================= */

section {

  width: 100%;

  max-width: var(--content-width);

  margin: 0 auto;

  padding: 80px 20px;
}


.section-head {

  max-width: 600px;

  margin: 0 auto 48px;

  text-align: center;
}


.section-head h2 {

  margin-top: 14px;

  color: var(--ink);

  font-family: var(--font-family);

  font-size: clamp(26px, 7vw, 42px);

  font-weight: 600;

  line-height: 1.1;
}


/* =========================================================
   11 — PLAN YOUR EXPERIENCE
   ========================================================= */

.plan-grid {

  display: grid;

  grid-template-columns: 1fr;

  gap: 40px;
}


.plan-col {

  padding: 0 6px;

  text-align: center;
}


.plan-col .eyebrow {

  display: block;

  margin-bottom: 14px;
}


.plan-col p,
.plan-col address {

  color: var(--ink-dim);

  font-size: 14px;

  font-style: normal;

  font-weight: 300;

  line-height: 1.85;
}


.plan-col .plan-link {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  margin-top: 16px;

  color: var(--silver-bright);

  text-decoration: none;

  border-bottom: 1px solid transparent;

  font-size: 10px;

  letter-spacing: 3px;

  text-transform: uppercase;

  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}


.plan-link:hover {

  color: var(--olive-bright);

  border-color: var(--olive-bright);
}


.plan-link svg {

  width: 10px;
  height: 10px;
}


.hours-table {

  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 10px;

  margin-top: 4px;
}


.hours-table li {

  display: flex;

  justify-content: space-between;

  padding-bottom: 10px;

  border-bottom: 1px solid var(--line);

  color: var(--ink-dim);

  font-size: 13px;

  font-weight: 300;
}


.hours-table li strong {

  color: var(--ink);

  font-weight: 400;
}


.social-inline {

  display: flex;

  justify-content: center;

  gap: 12px;

  margin-top: 18px;
}


/* =========================================================
   12 — MAP
   ========================================================= */

.map-wrap {

  position: relative;

  margin-top: 56px;

  overflow: hidden;

  border:
    1px solid var(--line);

  border-radius: var(--radius-sm);
}


.map-wrap::after {

  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.5);
}


.map-wrap iframe {

  display: block;

  width: 100%;
  height: 240px;

  border: 0;

  filter:
    sepia(0.25)
    saturate(1.1)
    contrast(1.1)
    brightness(0.9);
}


/* =========================================================
   13 — CONTENT BLOCK
   ========================================================= */

.content-block {

  max-width: var(--content-narrow);

  margin: 0 auto;
}


.content-block h3 {

  margin-top: 36px;

  margin-bottom: 14px;

  color: var(--ink);

  font-family: var(--font-family);

  font-size: clamp(20px, 5vw, 28px);

  font-weight: 600;
}


.content-block h3:first-child {

  margin-top: 0;
}


.content-block p {

  margin-bottom: 14px;

  color: var(--ink-dim);

  font-size: 14px;

  font-weight: 300;

  line-height: 1.9;
}


.content-block strong {

  color: var(--ink);

  font-weight: 500;
}


.content-block a {

  color: var(--olive-bright);
}


.content-chips {

  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin: 20px 0 30px;
}


.content-chips span {

  padding: 8px 14px;

  border:
    1px solid var(--line-strong);

  border-radius: 20px;

  color: var(--silver);

  font-size: 10px;

  letter-spacing: 2px;

  text-transform: uppercase;
}


/* =========================================================
   14 — MENU DINAMICO SUPABASE
   Ogni categoria è una sezione unica: la foto è lo sfondo
   e i piatti si aprono sopra la foto.
   ========================================================= */

.menu-category {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  max-width: 1000px;
  margin: 0 auto 12px;

  border: 1px solid var(--line);
  border-radius: var(--radius-sm);

  background-color: var(--bg-panel);
  scroll-margin-top: 100px;
}

/* Foto di sfondo */
.menu-category.has-photo {
  background-size: cover;
  background-position: center;
}

/* Velo scuro per leggere testo e prezzi (chiuso = leggero) */
.menu-category.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(20, 22, 18, 0.35) 0%,
    rgba(20, 22, 18, 0.60) 100%
  );

  transition: background 0.4s ease;
}

/* Aperto = velo più forte, i piatti restano leggibili */
.menu-category.has-photo[open]::before {
  background: linear-gradient(
    180deg,
    rgba(20, 22, 18, 0.55) 0%,
    rgba(20, 22, 18, 0.88) 35%,
    rgba(20, 22, 18, 0.92) 100%
  );
}

.menu-category > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 4px;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Riga titolo "a banner" sopra la foto */
.menu-category.has-photo > summary {
  min-height: 110px;
  padding: 14px 16px;
}

.menu-category > summary::-webkit-details-marker { display: none; }
.menu-category > summary::marker { content: ""; }

.menu-category > summary:focus-visible {
  outline: 2px solid var(--olive-bright);
  outline-offset: -4px;
}

.menu-category > summary h3 {
  margin: 0;
  color: var(--olive-bright);
  font-family: var(--font-family);
  font-size: clamp(20px, 5vw, 34px);
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.menu-category .menu-count {
  margin-right: auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.menu-category .menu-arrow {
  width: 28px;
  height: 28px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(20, 22, 18, 0.45);
  color: var(--olive-bright);

  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.menu-category .menu-arrow svg {
  width: 11px;
  height: 11px;
}

.menu-category[open] .menu-arrow {
  background: var(--olive-bright);
  color: var(--bg-panel);
  transform: rotate(180deg);
}

.menu-category .menu-category-body {
  padding: 0 16px 16px;
}

@media (hover: hover) {
  .menu-category.has-photo:not([open]):hover::before {
    background: linear-gradient(
      180deg,
      rgba(20, 22, 18, 0.20) 0%,
      rgba(20, 22, 18, 0.48) 100%
    );
  }
}

/* Tablet */
@media (min-width: 600px) {
  .menu-category { margin-bottom: 16px; }

  .menu-category.has-photo > summary {
    min-height: 170px;
    padding: 22px 26px;
  }

  .menu-category .menu-category-body {
    padding: 0 26px 24px;
  }
}

/* Desktop */
@media (min-width: 900px) {
  .menu-category.has-photo > summary {
    min-height: 240px;
    padding: 28px 32px;
  }

  .menu-category .menu-category-body {
    padding: 0 32px 30px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .menu-category[open] .menu-category-body {
    animation: menuCategoryOpen 0.28s ease;
  }
}

@keyframes menuCategoryOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* =========================================================
   16 — PIATTI
   ========================================================= */

.menu-dish {

  display: flex;

  align-items: baseline;

  justify-content: space-between;

  gap: 20px;

  padding: 16px 0;

  border-bottom:
    1px solid var(--line);
}


.menu-dish:last-child {

  border-bottom: none;
}


.menu-dish-info {

  min-width: 0;
}


.menu-dish-info h4 {

  margin-bottom: 4px;

  color: var(--ink);

  font-family: var(--font-family);

  font-size: 18px;

  font-weight: 600;
}


.menu-dish-info p {

  max-width: 480px;

  color: var(--ink-dim);

  font-size: 13px;

  font-weight: 300;

  line-height: 1.75;
}


.menu-dish-price {

  flex-shrink: 0;

  white-space: nowrap;

  color: var(--pompeiano-bright);

  font-family: var(--font-family);

  font-size: 17px;

  font-weight: 600;
}


/* =========================================================
   17 — MENU NOTE / EMPTY
   ========================================================= */

.menu-note {

  max-width: var(--content-narrow);

  margin:
    0 auto 48px;

  color: var(--ink-faint);

  font-size: 12px;

  font-weight: 300;

  line-height: 1.8;

  text-align: center;
}


.empty-hint {

  padding: 20px 0;

  color: var(--ink-faint);

  font-size: 14px;

  font-weight: 300;

  text-align: center;
}


/* =========================================================
   18 — MENU SKELETON
   ========================================================= */

.menu-skeleton {

  max-width: var(--content-narrow);

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  gap: 14px;

  padding: 24px 4px;
}


.menu-skeleton-row {

  height: 52px;

  border-radius: 6px;

  background:
    linear-gradient(
      90deg,
      var(--bg-panel) 25%,
      var(--line-strong) 50%,
      var(--bg-panel) 75%
    );

  background-size: 200% 100%;

  animation:
    menuSkeletonShimmer
    1.4s
    ease-in-out
    infinite;
}


@keyframes menuSkeletonShimmer {

  0% {

    background-position: 200% 0;
  }

  100% {

    background-position: -200% 0;
  }

}


/* =========================================================
   19 — GALLERY
   ========================================================= */

.gallery-grid {

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 10px;
}


.gallery-item {

  position: relative;

  display: block;

  width: 100%;

  aspect-ratio: 1 / 1;

  margin: 0;

  padding: 0;

  overflow: hidden;

  border: 0;

  border-radius: var(--radius-sm);

  background: var(--bg-panel);

  cursor: zoom-in;
}


.gallery-item img {

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.6s ease;
}


.gallery-item:hover img,
.gallery-item:focus-visible img {

  transform: scale(1.06);
}


.gallery-item:nth-child(3n + 2) {

  aspect-ratio: 3 / 4;
}


/* =========================================================
   20 — LIGHTBOX
   ========================================================= */

.lightbox {

  position: fixed;

  inset: 0;

  z-index: 300;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 32px 20px;

  background:
    rgba(12, 15, 10, 0.94);

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.3s ease;
}


.lightbox.active {

  opacity: 1;

  pointer-events: auto;
}


.lightbox img {

  max-width: 100%;
  max-height: 88vh;

  border-radius: var(--radius-sm);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5);
}


.lightbox-close {

  position: absolute;

  top: 20px;
  right: 20px;

  width: 44px;
  height: 44px;

  border:
    1px solid var(--line-strong);

  border-radius: 50%;

  background: transparent;

  color: var(--ink);

  font-size: 22px;

  line-height: 1;

  cursor: pointer;
}


/* =========================================================
   21 — FAQ
   ========================================================= */

.faq-list {

  max-width: var(--content-narrow);

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  gap: 12px;
}


.faq-item {

  padding: 6px 20px;

  border:
    1px solid var(--line);

  border-radius: 10px;

  background:
    rgba(255, 255, 255, 0.02);
}


.faq-item summary {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  padding: 16px 0;

  color: var(--ink);

  font-family: var(--font-family);

  font-size: 17px;

  font-weight: 600;

  list-style: none;

  cursor: pointer;
}


.faq-item summary::-webkit-details-marker {

  display: none;
}


.faq-item summary::after {

  content: "+";

  flex-shrink: 0;

  color: var(--silver-bright);

  font-size: 20px;

  transition:
    transform 0.3s ease;
}


.faq-item[open] summary::after {

  transform: rotate(45deg);
}


.faq-item p {

  padding-bottom: 18px;

  color: var(--ink-dim);

  font-size: 13px;

  font-weight: 300;

  line-height: 1.85;
}


/* =========================================================
   22 — ATMOSFERA
   ========================================================= */

.atmosfera {

  position: relative;

  max-width: none;

  height: 60vh;

  min-height: 280px;

  padding: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  background:
    url("../images/cover_immage_unico_restaurant_xorlgj.jpeg")
    center 50% /
    cover
    no-repeat;

  text-align: center;
}


.atmosfera::before {

  content: "";

  position: absolute;

  inset: 0;

  background:
    rgba(20, 22, 18, 0.64);
}


.atmosfera-content {

  position: relative;

  z-index: 2;

  max-width: 640px;

  padding: 0 20px;
}


.atmosfera-content .eyebrow {

  display: block;

  margin-bottom: 18px;
}


.atmosfera-content h2 {

  color: var(--ink);

  font-family: var(--font-family);

  font-size: clamp(22px, 6vw, 40px);

  font-weight: 600;

  line-height: 1.35;
}


.atmosfera-content .divider {

  background: var(--olive);
}


.atmosfera-content .btn {

  width: auto;

  margin-top: 26px;
}


/* =========================================================
   23 — SOCIAL
   ========================================================= */

.social-section .section-head p {

  margin-top: 14px;

  color: var(--ink-dim);

  font-size: 13px;

  font-weight: 300;
}


.icon-row {

  display: flex;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  gap: 16px;

  margin-top: 36px;
}


.icon-btn {

  width: 54px;
  height: 54px;

  display: flex;

  align-items: center;

  justify-content: center;

  border:
    1px solid var(--line-strong);

  border-radius: 50%;

  background: transparent;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}


.icon-btn svg {

  width: 20px;
  height: 20px;

  fill: var(--ink);

  transition:
    fill 0.3s ease;
}


.icon-btn:hover {

  transform: translateY(-3px);

  background: var(--olive);

  border-color: var(--olive);
}


.icon-btn:hover svg {

  fill: #1c1f19;
}


/* =========================================================
   24 — CTA BAND
   ========================================================= */

.cta-band {

  position: relative;

  max-width: none;

  min-height: 420px;

  padding: 80px 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  background:
    url("../images/cover_immage_unico_restaurant_xorlgj1.jpg")
    center center /
    cover
    no-repeat;

  border-top:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);

  text-align: center;
}


.cta-band::before {

  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(20, 22, 18, 0.40) 0%,
      rgba(20, 22, 18, 0.78) 100%
    );

  pointer-events: none;
}


.cta-band-content {

  position: relative;

  z-index: 2;

  width: 100%;

  max-width: 760px;
}


.cta-band h2 {

  margin-top: 14px;

  color: var(--ink);

  font-family: var(--font-family);

  font-size: clamp(30px, 8vw, 42px);

  font-weight: 600;

  line-height: 1.08;
}


.cta-band .btn {

  position: relative;

  z-index: 3;

  width: auto;

  margin-top: 26px;
}


/* =========================================================
   25 — FOOTER
   ========================================================= */

footer {

  width: 100%;

  max-width: var(--content-width);

  margin: 0 auto;

  padding: 60px 20px 26px;
}


.footer-grid {

  display: grid;

  grid-template-columns: 1fr;

  gap: 40px;

  padding-bottom: 44px;

  border-bottom:
    1px solid var(--line);
}


.footer-brand img {

  height: 22px;

  margin-bottom: 14px;

  filter:
    brightness(0)
    invert(1);

  opacity: 0.9;
}


.footer-brand p {

  max-width: 280px;

  color: var(--ink-faint);

  font-size: 12px;

  font-weight: 300;

  line-height: 1.8;
}


.footer-col h4 {

  margin-bottom: 16px;

  color: var(--silver);

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 3px;

  text-transform: uppercase;
}


.footer-col ul {

  display: flex;

  flex-direction: column;

  gap: 12px;

  list-style: none;
}


.footer-col a {

  color: var(--ink-dim);

  text-decoration: none;

  font-size: 13px;

  font-weight: 300;

  transition:
    color 0.3s ease;
}


.footer-col a:hover {

  color: var(--silver-bright);
}


.footer-bottom {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 14px;

  padding-top: 26px;

  color: var(--ink-faint);

  font-size: 11px;

  font-weight: 300;

  letter-spacing: 0.5px;

  text-align: center;
}


.footer-bottom .icon-row {

  margin-top: 6px;
}


.footer-bottom .icon-btn {

  width: 40px;
  height: 40px;
}


.footer-bottom .icon-btn svg {

  width: 16px;
  height: 16px;
}


/* =========================================================
   26 — WHATSAPP
   ========================================================= */

.whatsapp {

  position: fixed;

  right: 20px;

  bottom:
    max(20px, env(safe-area-inset-bottom));

  z-index: 800;

  width: 56px;
  height: 56px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #25D366;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.3);

  cursor: pointer;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}


.whatsapp:hover {

  transform: translateY(-3px);

  background: #22c15e;

  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.4);
}


.whatsapp svg {

  width: 28px;
  height: 28px;

  fill: #fff;
}


/* =========================================================
   27 — REVEAL
   ========================================================= */

.reveal {

  opacity: 0;

  transform:
    translateY(24px);

  transition:
    opacity 1s ease,
    transform 1s ease;
}


.reveal.visible {

  opacity: 1;

  transform:
    translateY(0);
}


/* =========================================================
   28 — TABLET
   ========================================================= */

@media (min-width: 480px) {

  .hero-cta-row {

    width: auto;
  }


  .btn {

    width: auto;
  }

}


/* =========================================================
   29 — MOBILE
   ========================================================= */

@media (max-width: 768px) {

  /* -------------------------------------------------------
     NAV
     ------------------------------------------------------- */

  .nav {

    min-height: 74px;

    height: 74px;

    padding:
      0 18px;

    position: relative;
  }


  .nav-links {

    display: none !important;
  }


  .nav-logo {

    max-width: 105px;

    height: auto;
  }


  .nav-right {

    margin-left: auto;

    gap: 10px;
  }


  .nav-cta {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-right: 0;

    padding: 10px 14px;

    white-space: nowrap;

    font-size: 10px;

    letter-spacing: 2px;
  }


  .burger {

    display: flex;
  }


  /* -------------------------------------------------------
     MOBILE MENU
     ------------------------------------------------------- */

  .mobile-menu {

    position: fixed;

    top: 74px;
    left: 0;
    right: 0;

    z-index: 899;

    display: flex;

    flex-direction: column;

    padding:
      20px 22px 28px;

    background:
      rgba(28, 31, 25, 0.98);

    backdrop-filter:
      blur(14px);

    -webkit-backdrop-filter:
      blur(14px);

    border-top:
      1px solid var(--line);

    transform:
      translateY(-120%);

    opacity: 0;

    visibility: hidden;

    transition:
      transform 0.3s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }


  .mobile-menu.open {

    transform:
      translateY(0);

    opacity: 1;

    visibility: visible;
  }


  .mobile-menu > a {

    display: block;

    padding: 15px 4px;

    border-bottom:
      1px solid var(--line);

    color: var(--ink-dim);

    text-decoration: none;

    font-size: 14px;

    letter-spacing: 1px;
  }


  .mobile-menu > a[aria-current="page"] {

    color: var(--olive-bright);
  }


  .mobile-menu .mobile-menu-cta {

    margin-top: 18px;

    padding: 14px 18px;

    border: 0;

    border-radius: var(--radius-md);

    background: var(--olive-bright);

    color: #1c1f19;

    font-weight: 600;

    text-align: center;
  }


  /* -------------------------------------------------------
     HERO
     ------------------------------------------------------- */

  .hero {

    min-height:
      calc(100svh - 74px);
  }


  .hero-image {

    min-height: 52vh;
  }


  .hero-content {

    padding:
      32px 24px 56px;
  }


  .hero-text {

    margin-top: 28px;
  }


  /* -------------------------------------------------------
     GENERIC SECTIONS
     ------------------------------------------------------- */

  section {

    padding:
      80px 20px;
  }


  /* -------------------------------------------------------
     MENU VISUAL
     ------------------------------------------------------- */




  /* -------------------------------------------------------
     MENU PIATTI
     ------------------------------------------------------- */

  .menu-category > summary {

    padding:
      18px 2px;
  }


  .menu-category > summary h3 {

    font-size: 22px;
  }


  .menu-dish {

    gap: 14px;

    padding:
      15px 0;
  }


  .menu-dish-info h4 {

    font-size: 17px;
  }


  .menu-dish-info p {

    font-size: 12px;

    line-height: 1.7;
  }


  .menu-dish-price {

    font-size: 16px;
  }


  /* -------------------------------------------------------
     CTA
     ------------------------------------------------------- */

  .cta-band {

    min-height: 390px;

    padding:
      70px 20px;

    background-position:
      center center;
  }


  .cta-band h2 {

    font-size:
      clamp(30px, 8vw, 42px);
  }


  /* -------------------------------------------------------
     FOOTER
     ------------------------------------------------------- */

  footer {

    padding:
      60px 20px 26px;
  }


  .footer-grid {

    grid-template-columns: 1fr;

    gap: 40px;
  }


  /* -------------------------------------------------------
     WHATSAPP
     ------------------------------------------------------- */

  .whatsapp {

    right: 18px;

    width: 56px;
    height: 56px;
  }

}


/* =========================================================
   30 — SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

  .hero-text h1 {

    font-size:
      clamp(29px, 8vw, 42px);
  }


  .btn {

    padding:
      14px 20px;

    font-size: 9px;

    letter-spacing: 3px;
  }

}


/* =========================================================
   31 — DESKTOP
   ========================================================= */

@media (min-width: 860px) {

  /* -------------------------------------------------------
     NAV
     ------------------------------------------------------- */

  .nav {

    display: grid;

    grid-template-columns:
      1fr auto 1fr;

    align-items: center;

    padding:
      20px 32px;
  }


  .nav.scrolled {

    padding:
      16px 32px;
  }


  .nav-logo {

    height: 52px;
  }


  .nav-links {

    display: flex;
  }


  .nav-links-left {

    justify-self: start;
  }


  .nav-cta {

    display: inline-flex;
  }


  .nav-right {

    justify-self: end;
  }


  .burger,
  .mobile-menu {

    display: none !important;
  }


  /* -------------------------------------------------------
     HERO
     ------------------------------------------------------- */

  .hero {

    flex-direction: row;

    min-height:
      calc(100svh - 78px);
  }


  .hero-image {

    order: 2;

    width: 55%;

    min-height: auto;
  }


  .hero-content {

    order: 1;

    width: 45%;

    min-width: 420px;

    padding:
      0 60px;

    align-items: flex-start;
  }


  .hero-text {

    order: 1;

    margin-top: 0;
  }


  .hero-cta-row {

    order: 2;

    margin-top: 28px;
  }


  /* -------------------------------------------------------
     SECTIONS
     ------------------------------------------------------- */

  section {

    padding:
      160px 24px;
  }


  /* -------------------------------------------------------
     PLAN
     ------------------------------------------------------- */

  .plan-grid {

    grid-template-columns:
      repeat(3, 1fr);

    gap: 60px;
  }


  .plan-col {

    text-align: left;
  }


  .plan-col .plan-link {

    justify-content: flex-start;
  }


  .social-inline {

    justify-content: flex-start;

    margin-left: 0;
  }


  /* -------------------------------------------------------
     GALLERY
     ------------------------------------------------------- */

  .gallery-grid {

    grid-template-columns:
      repeat(4, 1fr);

    gap: 16px;
  }


  /* -------------------------------------------------------
     MAP
     ------------------------------------------------------- */

  .map-wrap {

    margin-top: 80px;
  }


  .map-wrap iframe {

    height: 280px;
  }


  /* -------------------------------------------------------
     ATMOSFERA
     ------------------------------------------------------- */

  .atmosfera {

    height: 70vh;

    min-height: 480px;

    background-attachment:
      fixed;
  }


  /* -------------------------------------------------------
     CTA
     ------------------------------------------------------- */

  .cta-band {

    min-height: 480px;

    padding:
      100px 40px;

    background-position:
      center 50%;
  }


  .cta-band h2 {

    max-width: 760px;

    margin-left: auto;

    margin-right: auto;

    font-size:
      clamp(34px, 4vw, 52px);
  }


  /* -------------------------------------------------------
     FOOTER
     ------------------------------------------------------- */

  .footer-grid {

    gap: 48px;
  }


  /* -------------------------------------------------------
     WHATSAPP
     ------------------------------------------------------- */

  .whatsapp {

    width: 62px;
    height: 62px;

    right: 24px;

    bottom: 24px;
  }


  .whatsapp svg {

    width: 26px;
    height: 26px;
  }

}


/* =========================================================
   32 — REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {

    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

    scroll-behavior: auto !important;
  }


  .reveal {

    opacity: 1;

    transform: none;

    transition: none;
  }


  .scroll-cue .line-anim::after {

    animation: none;
  }


  .menu-skeleton-row {

    animation: none;
  }

}


/* =========================================================
   33 — MULTI PAGE ACTIVE STATE
   ========================================================= */

.nav-links a[aria-current="page"],
.mobile-menu a[aria-current="page"],
.menu-content a[aria-current="page"] {

  color: var(--olive-bright);
}


.content-block a {

  color: var(--olive-bright);
}



/* =========================================================
   99 — SFONDO "FERRO" / GHISA — MOBILE FIRST
   Base (mobile): tile 512px seamless (images/ferro.webp, pochi KB) ripetuto
   su html, scroll normale, nessun filtro live -> leggero su telefono.
   Da 860px in su: vignettatura fissa in più.
   Regolazioni: --iron-base (colore), --bg-panel (scurezza dei riquadri).
   ========================================================= */

:root {
  --iron-base: #222221;

  /* i pannelli diventano veli scuri semitrasparenti */
  --bg: transparent;
  --bg-panel: rgba(0, 0, 0, 0.30);
  --bg-soft: rgba(0, 0, 0, 0.22);
}

html {
  background-color: var(--iron-base);
  background-image: url("../images/ferro.webp");
  background-size: 512px 512px;
  background-repeat: repeat;
}

body {
  background: transparent;
}

/* Fondi pieni -> trasparenti, così si vede il ferro */
.hero,
.hero-image,
.hero-content {
  background-color: transparent;
}

.nav,
.nav.scrolled {
  background: rgba(16, 16, 15, 0.92);
}

.menu {
  background: rgba(12, 12, 11, 0.95);
}

/* Solo dove c'è potenza di calcolo: blur e vignettatura */
@media (min-width: 860px) {
  .nav,
  .nav.scrolled {
    background: rgba(14, 14, 13, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.5) 100%);
  }
}
