/* Coyote Ugly RistoPub — migrazione fedele SS → Cloudflare */
:root {
  --bg: #0a0a0a;
  --text: #f5f0e6;
  --muted: #dbb47d;
  --red: #c42629;
  --gold: #dbb47d;
  --beige: #f5f0e6;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "PT Serif", Georgia, serif;
  --container: 1200px;
  --gap: 20px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff; padding: 12px 16px; z-index: 10000;
}
.skip:focus { left: 12px; top: 12px; }

.header {
  position: absolute; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap);
  padding: 14px clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(0,0,0,.75), transparent);
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}
.nav {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px;
  font-family: var(--font-display);
  font-size: 0.9rem;
}
.nav a {
  text-decoration: none; color: #fff; opacity: 0.9;
  transition: color .2s, opacity .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); opacity: 1; }

.menu {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; padding: 12px; cursor: pointer;
}
.menu span {
  display: block; height: 1px; background: #fff; margin: 8px 0;
}

@media (max-width: 900px) {
  .menu { display: block; }
  .nav {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.96);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 28px; font-size: 1.25rem; z-index: 60;
  }
  .nav.is-open { display: flex; }
  .menu { position: relative; z-index: 70; }
}

.hero {
  min-height: 70vh;
  display: grid; place-items: center;
  background:
    linear-gradient(rgba(0,0,0,.46), rgba(0,0,0,.46)),
    var(--hero-bg) center / cover no-repeat;
  text-align: center;
  padding: calc(var(--header-h) + 40px) 20px 64px;
}
.hero--home {
  min-height: min(88vh, 920px);
  background: var(--hero-bg) center / cover no-repeat;
  padding: calc(var(--header-h) + 24px) 20px 28px;
}
.hero--home .hero__content { width: min(100%, 720px); }
.hero--short { min-height: 42vh; }
.hero--low {
  align-items: end;
  min-height: min(72vh, 760px);
  padding: calc(var(--header-h) + 40px) 20px 56px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.72) 100%),
    var(--hero-bg) center / cover no-repeat;
}
.hero--low .hero__content h1 {
  text-decoration: none;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
  border-bottom: 2px solid var(--red);
  display: inline-block;
  padding-bottom: 8px;
}
.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-decoration: underline;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}
.hero__content h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-weight: 400;
  margin: 0;
}
.hero__addr a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: underline;
}
.hero__tag {
  color: #fff;
  font-style: italic;
  font-size: 1.15rem;
  max-width: 42rem;
  margin: 16px auto 0;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Striscia rossa sotto hero home */
.hero-ribbon {
  background: var(--red);
  color: var(--beige);
  text-align: center;
  padding: 14px 20px;
  border-top: 1px solid rgba(245,240,230,.18);
  border-bottom: 1px solid rgba(0,0,0,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.hero-ribbon p {
  margin: 0 auto;
  max-width: 52rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.section { padding: 48px 20px; }
.section--black { background: #000; }
.section--wood,
.ss-brick {
  background-color: #1a1010;
  background-image:
    linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.42)),
    url("https://images.squarespace-cdn.com/content/v1/68a5cac89f96dc37f8625ad4/1756058549532-IG8X7OAUS9XROZLQRBH8/unsplash-image-XEsx2NVpqWY.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.container { width: min(100% - 2 * var(--gap), var(--container)); margin-inline: auto; }

.welcome {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 800px) {
  .welcome { grid-template-columns: 1fr; }
}
.welcome figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(219,180,125,.35);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  max-height: 520px;
}
.welcome figure img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}
.welcome__copy h2 {
  font-family: var(--font-display);
  color: var(--red);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
}
.welcome__copy .lead { color: var(--gold); font-style: italic; font-size: 1.15rem; }
.welcome__copy p { color: var(--beige); }
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--beige);
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  margin-top: 12px;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--gold); color: #000; transform: scale(1.03); }

.gallery-title {
  text-align: center;
  font-family: var(--font-display);
  color: var(--red);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 28px;
}
.gallery-frame {
  overflow: hidden;
  border: 1px solid rgba(196, 38, 41, 0.4);
  background: #0a0a0a;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: #0a0a0a;
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #111;
  aspect-ratio: 1 / 1;
  min-width: 0;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}
.gallery__item:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .gallery__item:hover img { transform: none; }
}

/* Divisori — ritmo VG */
.red-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 20px;
  background: #000;
}
.red-divider__line {
  flex: 1;
  max-width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,38,41,.85), transparent);
}
.red-divider__mark {
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--red);
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(196,38,41,.12);
}
.ss-block { color: var(--gold); }
.ss-block section { max-width: 100%; }
.ss-brick {
  padding-block: 64px;
  min-height: 140px;
}
.ss-brick--strong {
  background-color: #1a1010 !important;
  background-image:
    linear-gradient(rgba(0,0,0,.32), rgba(0,0,0,.32)),
    url("https://images.squarespace-cdn.com/content/v1/68a5cac89f96dc37f8625ad4/1756058549532-IG8X7OAUS9XROZLQRBH8/unsplash-image-XEsx2NVpqWY.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
.ss-black {
  background: #000 !important;
  background-image: none !important;
  padding-block: 64px;
}
.section--black { background: #000; }
.section--wood {
  padding-block: 64px;
}

.menu-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 20px 64px;
  width: min(100% - 2 * var(--gap), 1400px);
  margin-inline: auto;
  color: var(--gold);
}
.menu-page--single {
  grid-template-columns: 1fr;
  max-width: 820px;
}
@media (max-width: 900px) {
  .menu-page { grid-template-columns: 1fr; }
}

.footer {
  background: #000;
  border-top: 1px solid rgba(219,180,125,.25);
  padding: 40px 20px;
  text-align: center;
  color: var(--gold);
  font-size: 0.95rem;
}
.footer a { color: var(--gold); }
.footer__copy { opacity: 0.85; font-size: 0.85rem; }
.footer__info { margin: 16px 0; }
.footer__info p { margin: 4px 0; }
.linkish {
  background: none; border: 0; padding: 0;
  color: var(--gold); text-decoration: underline; cursor: pointer;
}

/* Float WA assist — utile, stile Coyote */
.wa-assist {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-width: min(320px, calc(100vw - 32px));
}
.wa-assist__fab {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.wa-assist__label {
  background: #000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.wa-assist__icon {
  display: block;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 6px 18px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.wa-assist__icon::before {
  content: "";
  background: url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg") center / 58% no-repeat;
  position: absolute;
  inset: 0;
}
.wa-assist__fab:hover .wa-assist__icon,
.wa-assist__fab[aria-expanded="true"] .wa-assist__icon {
  transform: scale(1.06);
}
.wa-assist__panel {
  width: min(300px, calc(100vw - 32px));
  background: #111;
  color: var(--beige);
  border: 1px solid rgba(219,180,125,.35);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
}
.wa-assist__panel[hidden] { display: none !important; }
.wa-assist__eyebrow {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.wa-assist__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.wa-assist__lead {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(245,240,230,.82);
}
.wa-assist__actions {
  display: grid;
  gap: 8px;
}
.wa-assist__btn {
  display: block;
  text-align: left;
  text-decoration: none;
  background: var(--red);
  color: var(--beige);
  padding: 12px 14px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 44px;
  transition: background .2s, color .2s;
}
.wa-assist__btn:hover { background: var(--gold); color: #000; }
.wa-assist__btn--ghost {
  background: transparent;
  border: 1px solid rgba(219,180,125,.45);
  color: var(--gold);
}
.wa-assist__btn--ghost:hover {
  background: rgba(219,180,125,.15);
  color: #fff;
}
body.has-cookie .wa-assist { bottom: 120px; }

.cookie {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 10000; background: #111; color: #eee; border: 1px solid rgba(219,180,125,.35);
  border-radius: 12px; padding: 16px 18px; max-width: 720px; margin-inline: auto;
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
}
.cookie.is-open { display: block; }
.cookie p { margin: 0 0 12px; font-size: 0.92rem; line-height: 1.5; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__actions button {
  min-height: 44px; padding: 10px 16px; border-radius: 8px; border: 1px solid #555;
  background: transparent; color: #fff; cursor: pointer;
}
.cookie__actions .accept { background: var(--red); border-color: var(--red); }

.page-stub {
  min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 40px 20px;
}
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 20px 64px;
  color: var(--beige);
  line-height: 1.7;
}
.legal h1 {
  font-family: var(--font-display);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}
.legal h2 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.legal p, .legal li { color: var(--beige); }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--gold); }
.legal .legal__meta { color: var(--gold); font-size: 0.95rem; margin-bottom: 1.5rem; }

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;}
