/* ============================================================
   DA MARIO — Pizzeria V1 · Napoli Classico
   style.css — Mobile First · Famara Web Studio
   Paleta: Tricolore italiana — Verde · Bianco · Rosso
   ============================================================ */

/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ─── VARIABLES — TRICOLORE ITALIANA ─── */
:root {
  /* ROSSO — brutalist trattoria: hormigón + rojo tomate + negro */
  --rosso: #d81e05;
  --rosso2: #ac1704;
  --rosso3: #f0330f;
  --verde: #141210;   /* verde tricolore NEUTRALIZADO → negro estructural */
  --verde2: #141210;
  --verde3: #2a2a27;
  --panna: #d9d5ca;   /* hormigón cálido (fondo) */
  --panna2: #cfcabd;  /* hormigón medio */
  --panna3: #c2bcac;  /* hormigón oscuro */
  --nero: #141210;
  --nero2: #1b1917;
  --carbone: #201e1b;
  --grigio: #57534b;
  --grigio2: #857f73;
  --red: var(--rosso);
  --red2: var(--rosso2);
  --red3: var(--rosso3);
  --cream: var(--panna);
  --cream2: var(--panna2);
  --black: var(--nero);
  --black2: var(--nero2);
  --black3: var(--carbone);
  --muted: var(--grigio);
  --muted2: var(--grigio2);
  --accent: var(--rosso);
  --line: rgba(14, 14, 12, 0.08);
  --line2: rgba(14, 14, 12, 0.15);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --cond: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --header-h: 68px;
}

/* ─── BASE ─── */
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--carbone);
  background: var(--panna);
  animation: pageFadeIn 0.5s ease forwards;
}
body.page-exit {
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  line-height: 1.15;
}
.italic {
  font-style: italic;
}
.red {
  color: var(--rosso);
}
.outline {
  -webkit-text-stroke: 2px var(--rosso);
  color: transparent;
  font-style: italic;
}
.reveal-d1 {
  --d: 0.12s;
}
.reveal-d2 {
  --d: 0.24s;
}
.reveal-d3 {
  --d: 0.36s;
}

/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(14, 14, 12, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: var(--header-h);
  gap: 1.5rem;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
}
.logo-main {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--panna);
  letter-spacing: -0.01em;
}
.logo-main span {
  color: var(--rosso3);
  font-style: italic;
}
.logo-sub {
  font-family: var(--cond);
  font-size: 0.57rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grigio2);
}
.header-stripe {
  height: 3px;
  background: var(--rosso);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}
.nav a {
  font-family: var(--cond);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.6);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1.5px;
  background: var(--rosso3);
  transition: right 0.3s var(--ease);
}
.nav a:hover,
.nav a.active {
  color: var(--panna);
}
.nav a:hover::after,
.nav a.active::after {
  right: 0;
}
.nav a.nav-cta {
  background: var(--rosso);
  color: #fff;
  padding: 8px 18px;
  border-radius: 2px;
  transition: background 0.25s;
}
.nav a.nav-cta::after {
  display: none;
}
.nav a.nav-cta:hover {
  background: var(--rosso2);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang-toggle {
  display: flex;
  background: rgba(250, 247, 240, 0.07);
  border-radius: 3px;
  overflow: hidden;
}
.lang-btn {
  font-family: var(--cond);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(250, 247, 240, 0.4);
  padding: 5px 10px;
  transition:
    color 0.2s,
    background 0.2s;
}
.lang-btn.active,
.lang-btn:hover {
  color: var(--panna);
  background: rgba(250, 247, 240, 0.1);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
@media (min-width: 900px) {
  .hamburger {
    display: none;
  }
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--panna);
  transition:
    transform 0.3s var(--ease),
    opacity 0.25s;
  border-radius: 1px;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ════════════════════════════════════════════
   MOBILE NAV
════════════════════════════════════════════ */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--nero2);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav a {
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  color: rgba(250, 247, 240, 0.8);
  transition: color 0.2s;
}
.mobile-nav a:hover {
  color: var(--rosso3);
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  background:
    linear-gradient(
      to top,
      rgba(14, 14, 12, 0.92) 0%,
      rgba(14, 14, 12, 0.45) 55%,
      rgba(14, 14, 12, 0.2) 100%
    ),
    url("https://images.unsplash.com/photo-1513104890138-7c749659a591?w=1400&q=85&auto=format&fit=crop")
      center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 2.5rem) 1.25rem 3.5rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero {
    padding: calc(var(--header-h) + 4rem) 5vw 6rem;
  }
}

.hero-flag-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero-flag-tag-bar {
  display: flex;
  gap: 3px;
}
.hero-flag-tag-bar span {
  display: block;
  width: 4px;
  height: 18px;
  border-radius: 2px;
}
.hero-flag-tag-bar .g {
  background: var(--verde);
}
.hero-flag-tag-bar .w {
  background: #fff;
}
.hero-flag-tag-bar .r {
  background: var(--rosso);
}
.hero-flag-tag-text {
  font-family: var(--cond);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.65);
}

.hero h1 {
  font-size: clamp(3.2rem, 11vw, 8rem);
  font-weight: 900;
  color: var(--panna);
  line-height: 0.92;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s var(--ease) 0.4s forwards;
}
.hero-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: rgba(250, 247, 240, 0.75);
  max-width: 500px;
  margin-bottom: 2.25rem;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s var(--ease) 0.7s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s var(--ease) 0.9s forwards;
}

/* ════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn-red {
  background: var(--rosso);
  color: #fff;
  box-shadow: 0 2px 14px rgba(206, 43, 55, 0.4);
}
.btn-red:hover {
  background: var(--rosso2);
  box-shadow: 0 4px 20px rgba(206, 43, 55, 0.5);
}
.btn-outline-cream {
  background: transparent;
  color: var(--panna);
  border: 1.5px solid rgba(250, 247, 240, 0.4);
}
.btn-outline-cream:hover {
  background: rgba(250, 247, 240, 0.08);
  border-color: rgba(250, 247, 240, 0.75);
}

/* ════════════════════════════════════════════
   TICKER
════════════════════════════════════════════ */
.specials-banner {
  background: var(--rosso);
  overflow: hidden;
  padding: 10px 0;
}
.specials-ticker-wrap {
  overflow: hidden;
}
.specials-ticker {
  display: inline-flex;
  animation: tickerMove 40s linear infinite !important;
}
.specials-ticker span {
  font-family: var(--cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  padding-right: 2.5rem;
  white-space: nowrap;
}

/* ════════════════════════════════════════════
   SECTIONS — SHARED
════════════════════════════════════════════ */
.section {
  padding: 5rem 0;
}
@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}
.section-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}
.section-eyebrow {
  font-family: var(--cond);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grigio);
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-title-dark {
  color: var(--nero);
}
.section-title-light {
  color: var(--panna);
}
.section-lead {
  font-size: 1.05rem;
  color: var(--grigio);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.section-lead-light {
  color: rgba(250, 247, 240, 0.55);
}

/* ════════════════════════════════════════════
   MENU SECTION
════════════════════════════════════════════ */
.menu-section {
  background: var(--nero);
}
.menu-section .section-eyebrow {
  color: var(--rosso3);
}

.menu-category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.menu-cat-btn {
  font-family: var(--cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 22px;
  border: 1.5px solid rgba(250, 247, 240, 0.2);
  color: rgba(250, 247, 240, 0.5);
  border-radius: 2px;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.menu-cat-btn:hover {
  border-color: rgba(250, 247, 240, 0.45);
  color: var(--panna);
}
.menu-cat-btn.active {
  background: var(--rosso);
  border-color: var(--rosso);
  color: #fff;
}

.menu-panel {
  display: none;
}
.menu-panel.active {
  display: block;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
}
@media (min-width: 600px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.menu-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.menu-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rosso);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
@media (hover: hover) {
  .menu-card:hover {
    background: rgba(255, 255, 255, 0.06);
  }
  .menu-card:hover::after {
    transform: scaleX(1);
  }
}
.menu-card-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--panna);
}
.menu-card-desc {
  font-size: 0.85rem;
  color: rgba(250, 247, 240, 0.45);
  line-height: 1.55;
  flex: 1;
}
.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.menu-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.menu-tag {
  font-family: var(--cond);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  background: rgba(250, 247, 240, 0.07);
  color: rgba(250, 247, 240, 0.45);
}
.menu-tag.green {
  background: rgba(0, 146, 70, 0.18);
  color: var(--verde3);
}
.menu-card-price {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rosso3);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════
   BOOK SECTION
════════════════════════════════════════════ */
.book-section {
  background: var(--nero2);
}
.book-section .section-eyebrow {
  color: var(--rosso3);
}
.book-section .section-title {
  color: var(--panna);
  text-align: center;
}
.book-section .section-lead {
  color: rgba(250, 247, 240, 0.5);
  text-align: center;
}
.book-section .section-eyebrow {
  text-align: center;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}
@media (min-width: 860px) {
  .book-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}
.form-label {
  font-family: var(--cond);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.5);
}
.form-input {
  background: rgba(250, 247, 240, 0.06);
  border: 1.5px solid rgba(250, 247, 240, 0.18);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--panna);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.form-input::placeholder {
  color: rgba(250, 247, 240, 0.25);
}
.form-input:focus {
  outline: none;
  border-color: var(--rosso3);
  background: rgba(250, 247, 240, 0.09);
}
.form-textarea {
  resize: vertical;
  min-height: 95px;
}
select.form-input {
  cursor: pointer;
}
select.form-input option {
  background: var(--nero2);
  color: var(--panna);
}

.btn-submit {
  width: 100%;
  background: var(--rosso);
  color: #fff;
  font-family: var(--cond);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px;
  border-radius: 4px;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
  margin-top: 0.25rem;
  box-shadow: 0 2px 14px rgba(206, 43, 55, 0.4);
}
.btn-submit:hover {
  background: var(--rosso2);
  box-shadow: 0 4px 22px rgba(206, 43, 55, 0.5);
}
.btn-submit:active {
  transform: scale(0.98);
}
.form-small {
  font-size: 0.82rem;
  color: rgba(250, 247, 240, 0.35);
  margin-top: 0.85rem;
  text-align: center;
}
.form-wa-link {
  color: #5dd47a;
  text-decoration: underline;
}

.book-info-block {
  padding: 1.25rem 1.4rem;
  background: rgba(250, 247, 240, 0.04);
  border: 1.5px solid rgba(250, 247, 240, 0.1);
  border-radius: 6px;
  margin-bottom: 1rem;
}
.book-info-block h4 {
  font-family: var(--cond);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rosso3);
  margin-bottom: 0.75rem;
}
.book-info-block p,
.book-info-block a {
  font-size: 0.88rem;
  color: rgba(250, 247, 240, 0.6);
  display: block;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}
.book-info-block a:hover {
  color: var(--panna);
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(250, 247, 240, 0.5);
  padding: 5px 0;
  border-bottom: 1px solid rgba(250, 247, 240, 0.06);
}
.hours-row:last-child {
  border-bottom: none;
}
.hours-row.highlight {
  color: var(--panna);
  font-weight: 500;
}

.book-wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-family: var(--cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 20px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  transition:
    background 0.25s,
    transform 0.25s;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}
.book-wa-btn:hover {
  background: #1ab956;
  transform: translateY(-2px);
}
.book-wa-sub {
  font-size: 0.78rem;
  color: rgba(250, 247, 240, 0.3);
  text-align: center;
  margin-bottom: 1rem;
}
.book-map {
  margin-top: 0.5rem;
}
.book-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 4px;
}

/* ════════════════════════════════════════════
   REVIEWS MARQUEE
════════════════════════════════════════════ */
.reviews-wrap {
  position: relative;
  overflow: hidden;
}
.reviews-wrap::before,
.reviews-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.reviews-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--panna), transparent);
}
.reviews-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--panna), transparent);
}
.reviews-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  padding: 1rem 0.75rem;
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.reviews-wrap {
  cursor: grab;
}
@media (hover: none) and (pointer: coarse) {
  .reviews-wrap { touch-action: pan-y; }
}

.review-card {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 1.25rem;
  width: 300px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    border-color 0.3s;
}
.review-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rosso);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
@media (hover: hover) {
  .review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(206, 43, 55, 0.25);
  }
  .review-card:hover::after {
    transform: scaleX(1);
  }
}
.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}
.review-stars span {
  color: #e8a020;
  font-size: 0.9rem;
}
.review-text {
  font-size: 0.88rem;
  color: var(--carbone);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rosso);
  color: #fff;
  font-family: var(--cond);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nero);
}
.review-platform {
  font-size: 0.75rem;
  color: var(--grigio2);
}

/* ════════════════════════════════════════════
   STORY SECTION
════════════════════════════════════════════ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 860px) {
  .story-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
    gap: 4rem;
  }
}
.story-img {
  position: relative;
}
.story-img-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/5;
}
.story-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-img-caption {
  font-family: var(--cond);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grigio);
  margin-top: 0.75rem;
  text-align: center;
}
.story-accent {
  position: absolute;
  top: 1.5rem;
  left: -1rem;
  width: 80%;
  height: 85%;
  border: 1.5px solid var(--rosso);
  border-radius: 3px;
  z-index: -1;
  opacity: 0.2;
}
.story-stats {
  display: flex;
  background: var(--panna2);
  border: 1px solid var(--line2);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
}
.story-stat {
  flex: 1;
  padding: 1.1rem 0.5rem;
  text-align: center;
  border-right: 1px solid var(--line2);
}
.story-stat:last-child {
  border-right: none;
}
.story-stat-num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--rosso);
  line-height: 1;
  margin-bottom: 4px;
}
.story-stat-label {
  font-family: var(--cond);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grigio);
}
.story-text {
  padding-top: 0.5rem;
}
.story-text .section-eyebrow {
  text-align: left;
  color: var(--rosso);
}
.story-text .section-title {
  text-align: left;
}
.story-text .section-lead {
  text-align: left;
  margin: 0 0 1.25rem;
}

/* ════════════════════════════════════════════
   EVENTS SECTION — HORIZONTAL SCROLL
════════════════════════════════════════════ */
.events-section {
  background: var(--panna2);
}
.events-scroll-wrap {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2.5rem 1.25rem 1rem;
  cursor: grab;
}
.events-scroll-wrap::-webkit-scrollbar {
  display: none;
}
.events-scroll-wrap:active {
  cursor: grabbing;
}
.events-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}
.events-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0.5rem 0 1rem;
}
.ev-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(14, 14, 12, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, width 0.3s var(--ease);
}
.ev-dot.active {
  background: var(--rosso);
  width: 24px;
}

.event-card {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
  width: 280px;
  flex-shrink: 0;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .event-card {
    width: 300px;
  }
}
.event-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rosso);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
@media (hover: hover) {
  .event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(14, 14, 12, 0.1);
  }
  .event-card:hover::after {
    transform: scaleX(1);
  }
}
.event-tag {
  display: inline-block;
  font-family: var(--cond);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  background: rgba(206, 43, 55, 0.1);
  color: var(--rosso2);
  margin-bottom: 0.25rem;
  align-self: flex-start;
}
.event-tag--special {
  background: rgba(232, 160, 32, 0.12);
  color: #8a5e08;
}
.event-tag--family {
  background: rgba(0, 146, 70, 0.1);
  color: var(--verde2);
}
.event-tag--wine {
  background: rgba(100, 30, 120, 0.1);
  color: #6b2fa0;
}
.event-tag--aperitivo {
  background: rgba(232, 132, 32, 0.12);
  color: #b05a00;
}
.event-day {
  font-family: var(--cond);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grigio2);
}
.event-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nero);
}
.event-desc {
  font-size: 0.88rem;
  color: var(--grigio);
  line-height: 1.65;
}

/* ════════════════════════════════════════════
   GALLERY SECTION
════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 2.5rem 0 0;
}
@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
  background: var(--panna2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
  display: block;
}
@media (hover: hover) {
  .gallery-item:hover img {
    transform: scale(1.06);
  }
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 12, 0.52);
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-overlay-label {
  font-family: var(--cond);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--panna);
}

/* ════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 12, 0.94);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-inner {
  position: relative;
  text-align: center;
  padding: 2rem;
}
.lightbox-close {
  position: absolute;
  top: -1rem;
  right: 0;
  color: rgba(250, 247, 240, 0.5);
  font-size: 1.4rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
  padding: 4px 8px;
}
.lightbox-close:hover {
  color: var(--panna);
}
.lb-label {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--panna);
  font-style: italic;
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  background: var(--nero);
  color: var(--panna);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--rosso);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 247, 240, 0.07);
}
@media (min-width: 540px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}
.footer-brand .logo-main {
  color: var(--panna);
}
.footer-brand .logo-sub {
  display: block;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(250, 247, 240, 0.4);
  line-height: 1.75;
  margin-top: 0.5rem;
}
.footer-col h4 {
  font-family: var(--cond);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rosso3);
  margin-bottom: 1rem;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.85rem;
  color: rgba(250, 247, 240, 0.45);
  margin-bottom: 0.45rem;
  transition: color 0.2s;
  line-height: 1.5;
}
.footer-col a:hover {
  color: var(--panna);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-right: 5rem;
}
@media (max-width: 768px) {
  .footer-bottom {
    padding-right: 4.5rem;
  }
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(250, 247, 240, 0.28);
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(250, 247, 240, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 247, 240, 0.45);
  transition:
    color 0.25s,
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
}
.footer-social a:hover {
  color: var(--panna);
  transform: translateY(-2px);
}
.footer-social a[aria-label="Instagram"]:hover {
  border-color: #e1306c;
  background: rgba(225, 48, 108, 0.15);
}
.footer-social a[aria-label="Facebook"]:hover {
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.15);
}
.footer-social a[aria-label="TripAdvisor"]:hover {
  border-color: #34e0a1;
  background: rgba(52, 224, 161, 0.15);
}
.footer-social svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ════════════════════════════════════════════
   WHATSAPP FLOAT
════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: waPulse 3s ease infinite;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s;
}
.wa-float:hover {
  transform: scale(1.1);
  animation-play-state: paused;
}
@media (max-width: 768px) {
  .wa-float {
    bottom: 1.2rem;
    right: 1.2rem;
  }
}

/* ════════════════════════════════════════════
   SCROLL TO TOP — IZQUIERDA
════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rosso);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s,
    transform 0.3s var(--ease),
    background 0.25s;
  pointer-events: none;
  z-index: 190;
  box-shadow: 0 2px 12px rgba(206, 43, 55, 0.35);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top:hover {
  background: var(--rosso2);
}
@media (max-width: 768px) {
  .scroll-top {
    bottom: 5.5rem;
    right: 1.2rem;
  }
}

/* ════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════ */
@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes marqueeSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  60% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ════════════════════════════════════════════
   REVEAL ON SCROLL
════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════
   CARTA PAGE — HERO HEADER
════════════════════════════════════════════ */
.carta-hero {
  background: var(--nero);
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ════════════════════════════════════════════
   CARTA PAGE — GALLERY CAROUSEL
════════════════════════════════════════════ */
.carta-carousel-section {
  background: var(--panna2);
}
.carta-carousel-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}
.carta-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carta-carousel::-webkit-scrollbar {
  display: none;
}
.carta-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
}
@media (min-width: 768px) {
  .carta-slide {
    aspect-ratio: 21 / 9;
  }
}
.carta-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
  display: block;
}
@media (hover: hover) {
  .carta-slide:hover img {
    transform: scale(1.04);
  }
  .carta-slide:hover .carta-slide-overlay {
    opacity: 1;
  }
}
.carta-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 12, 0.45);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.carta-slide-label {
  font-family: var(--cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--panna);
}
.carta-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 14, 12, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--panna);
  transition:
    background 0.25s,
    transform 0.25s;
  z-index: 2;
  border: 1px solid rgba(250, 247, 240, 0.15);
}
.carta-arrow:hover {
  background: rgba(206, 43, 55, 0.85);
  transform: translateY(-50%) scale(1.08);
}
.carta-arrow-prev {
  left: 1rem;
}
.carta-arrow-next {
  right: 1rem;
}
@media (max-width: 480px) {
  .carta-arrow {
    display: none;
  }
}
.carta-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 1.25rem 0 2.5rem;
}
.carta-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(14, 14, 12, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.25s,
    width 0.3s var(--ease);
}
.carta-dot.active {
  background: var(--rosso);
  width: 24px;
}

/* ════════════════════════════════════════════
   CARTA PAGE — FAQ
════════════════════════════════════════════ */
.carta-faq-section {
  background: var(--panna);
}
.carta-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: left;
  margin-top: 2.5rem;
}
@media (min-width: 680px) {
  .carta-faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.carta-faq-item {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.carta-faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--rosso);
  opacity: 0;
  transition: opacity 0.25s;
}
@media (hover: hover) {
  .carta-faq-item:hover {
    border-color: rgba(206, 43, 55, 0.2);
    box-shadow: 0 4px 18px rgba(14, 14, 12, 0.07);
  }
  .carta-faq-item:hover::before {
    opacity: 1;
  }
}
.carta-faq-q {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--nero);
  margin-bottom: 0.6rem;
}
.carta-faq-a {
  font-size: 0.88rem;
  color: var(--grigio);
  line-height: 1.75;
}
.carta-faq-a a {
  color: var(--rosso);
  text-decoration: underline;
}

/* ════════════════════════════════════════════
   DEMO CHATBOT
════════════════════════════════════════════ */
.chat-bubble {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  left: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rosso);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8000;
  box-shadow: 0 4px 18px rgba(206, 43, 55, 0.4);
  transition: transform 0.3s var(--ease), background 0.25s;
  border: none;
  cursor: pointer;
}
.chat-bubble:hover {
  transform: scale(1.1);
  background: var(--rosso2);
}
@media (max-width: 768px) {
  .chat-bubble {
    bottom: 5rem;
    right: 1.2rem;
    left: auto;
    width: 46px;
    height: 46px;
  }
}

.chat-panel {
  position: fixed;
  bottom: 9.75rem;
  right: 2rem;
  left: auto;
  width: 320px;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(14, 14, 12, 0.18);
  z-index: 7999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  transform-origin: bottom right;
}
.chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
@media (max-width: 768px) {
  .chat-panel {
    bottom: 9rem;
    right: 0.5rem;
    left: auto;
    width: calc(100vw - 1rem);
    transform-origin: bottom right;
  }
}

.chat-header {
  background: var(--rosso);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.chat-title {
  font-family: var(--cond);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
}
.chat-subtitle {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
}
.chat-close {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  padding: 4px 6px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s;
  flex-shrink: 0;
}
.chat-close:hover {
  color: #fff;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 160px;
  max-height: 220px;
  background: #faf7f0;
}
.chat-msg {
  display: flex;
  max-width: 85%;
}
.chat-msg span {
  font-size: 0.84rem;
  line-height: 1.55;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
}
.chat-msg--bot {
  align-self: flex-start;
}
.chat-msg--bot span {
  background: #fff;
  border: 1px solid var(--line2);
  color: var(--carbone);
  border-radius: 2px 10px 10px 10px;
}
.chat-msg--user {
  align-self: flex-end;
}
.chat-msg--user span {
  background: var(--rosso);
  color: #fff;
  border-radius: 10px 10px 2px 10px;
}

.chat-input-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
  background: #fff;
}
.chat-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.7rem 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--carbone);
  background: transparent;
}
.chat-input::placeholder {
  color: var(--grigio2);
}
.chat-send {
  width: 44px;
  background: var(--rosso);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.chat-send:hover {
  background: var(--rosso2);
}

.chat-demo-note {
  font-size: 0.65rem;
  color: var(--grigio2);
  text-align: center;
  padding: 4px 8px 6px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-family: var(--cond);
  letter-spacing: 0.04em;
}

/* ════════════════════════════════════════════════════════════
   LUXURY — OS QUIET LUXURY v3 · DA MARIO EDITION
   Palette: --oro (warm Italian gold) · --rosso accent
   ════════════════════════════════════════════════════════════ */

:root {
  --oro:  #c8962a;
  --oro2: #ddb04a;
  --oro3: #f0ca7a;
}

/* ─── SCROLL-TOP → LEFT ─── */
.scroll-top {
  right: auto !important;
  left: 2rem !important;
  bottom: 2rem !important;
}
@media (max-width: 768px) {
  .scroll-top { left: 1.2rem !important; bottom: 1.2rem !important; }
}

/* ─── GRAIN OVERLAY (light theme: lower opacity) ─── */
.lux-grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ─── CUSTOM CURSOR ─── */
.lux-cursor-active,
.lux-cursor-active * { cursor: none !important; }

.lux-cursor-dot,
.lux-cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  will-change: left, top;
}
.lux-cursor-dot {
  width: 5px; height: 5px;
  background: var(--rosso);
  transition: width 0.18s, height 0.18s, background 0.18s, border-radius 0.18s, opacity 0.3s;
}
.lux-cursor-ring {
  width: 30px; height: 30px;
  border: 1.5px solid var(--rosso);
  opacity: 0.35;
  transition: width 0.32s var(--ease), height 0.32s var(--ease),
              opacity 0.3s, border-color 0.2s;
}
/* morph to bar on hover */
.lux-cursor-dot.lux-hover {
  width: 18px !important; height: 2px !important;
  border-radius: 1px !important;
  background: var(--oro) !important;
}
.lux-cursor-ring.lux-hover {
  width: 46px !important; height: 46px !important;
  opacity: 0.18 !important;
  border-color: var(--oro) !important;
}
.lux-cursor-dot.lux-click { transform: translate(-50%,-50%) scale(0.55); }

/* ─── INTRO SPLASH ─── */
.lux-splash {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: var(--nero);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.lux-splash.lux-gone { opacity: 0; visibility: hidden; pointer-events: none; }

.lux-splash-inner { text-align: center; }

.lux-splash-logo {
  font-family: var(--serif);
  font-size: clamp(3rem, 14vw, 7.5rem);
  font-weight: 900;
  font-style: italic;
  color: var(--panna);
  line-height: 0.9;
  opacity: 0;
  animation: luxSplashUp 0.85s 0.1s var(--ease) forwards;
}
.lux-splash-logo span { color: var(--rosso3); }

.lux-splash-rule {
  display: block;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rosso2), transparent);
  margin: 1rem auto;
  animation: luxSplashRule 1s 0.35s ease forwards;
}
.lux-splash-flag {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin: 0.4rem 0 0.75rem;
  opacity: 0;
  animation: luxSplashFade 0.5s 0.5s ease forwards;
}
.lux-splash-flag span {
  display: block;
  width: 4px; height: 16px;
  border-radius: 2px;
}
.lux-splash-flag .g { background: var(--verde); }
.lux-splash-flag .w { background: #fff; }
.lux-splash-flag .r { background: var(--rosso); }

.lux-splash-sub {
  font-family: var(--cond);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.55);
  opacity: 0;
  animation: luxSplashFade 0.6s 0.6s ease forwards;
}
.lux-splash-loader {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 2.5rem;
  opacity: 0;
  animation: luxSplashFade 0.4s 0.75s ease forwards;
}
.lux-splash-loader span {
  display: block; width: 5px; height: 5px;
  background: var(--rosso2);
  border-radius: 50%;
  animation: luxDotPulse 1.1s 0.85s ease-in-out infinite;
}
.lux-splash-loader span:nth-child(2) { animation-delay: 1.0s; }
.lux-splash-loader span:nth-child(3) { animation-delay: 1.15s; }

@keyframes luxSplashUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes luxSplashRule { to { width: min(240px, 52vw); } }
@keyframes luxSplashFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes luxDotPulse {
  0%, 100% { transform: scaleY(1);   opacity: 0.35; }
  50%       { transform: scaleY(1.9); opacity: 1; }
}

/* ─── SCROLL PROGRESS BAR ─── */
.lux-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--rosso2), var(--oro), var(--rosso3));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 10001;
  pointer-events: none;
}

/* ─── HEADER — oro border on scroll ─── */
.header { transition: border-color 0.4s ease; }
.header.lux-scrolled { border-bottom: 1px solid rgba(200, 150, 42, 0.25); }
/* Already has backdrop-filter — we just add the gold line */

/* ─── MOBILE NAV — link stagger ─── */
.mobile-nav a { opacity: 0; transform: translateX(24px); }
.mobile-nav.open a {
  animation: mobileNavLink 0.42s var(--ease) both;
}
.mobile-nav.open a:nth-child(1) { animation-delay: 0.06s; }
.mobile-nav.open a:nth-child(2) { animation-delay: 0.10s; }
.mobile-nav.open a:nth-child(3) { animation-delay: 0.14s; }
.mobile-nav.open a:nth-child(4) { animation-delay: 0.18s; }
.mobile-nav.open a:nth-child(5) { animation-delay: 0.22s; }
@keyframes mobileNavLink {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ─── DEEP MOBILE REVEALS ─── */
@media (max-width: 767px) {
  .reveal {
    transform: translateY(72px) scale(0.95) !important;
    transition: opacity 1s ease,
                transform 1s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transition-delay: var(--d, 0s) !important;
  }
  .reveal.visible {
    transform: translateY(0) scale(1) !important;
  }
  .section-title.reveal.visible {
    animation: luxTitleGlow 1.1s ease forwards;
  }
}
@keyframes luxTitleGlow {
  0%   { text-shadow: 0 0 28px rgba(206, 43, 55, 0.35); }
  100% { text-shadow: none; }
}

/* ─── TOUCH FEEDBACK ─── */
@media (hover: none) {
  .btn:active { transform: scale(0.94) !important; opacity: 0.86; }
  .btn-red:active { background: var(--rosso2) !important; }
  .btn-submit:active { background: var(--rosso2) !important; transform: scale(0.97) !important; }
  .menu-card:active  { background: rgba(206,43,55,0.06) !important; }
  .event-card:active { transform: scale(0.975) !important; border-color: rgba(206,43,55,0.3) !important; }
  .review-card:active { transform: scale(0.985) !important; }
  .carta-slide:active img { transform: scale(0.98) !important; }
  .lang-btn:active { background: rgba(250,247,240,0.15) !important; color: var(--panna) !important; }
  .ev-dot:active { transform: scale(1.5) !important; background: var(--rosso) !important; }
}

/* ─── 3D TILT PREP ─── */
.review-card,
.event-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ─── CTA BUTTONS — periodic shine ─── */
.btn-red,
.btn-submit { position: relative; overflow: hidden; }
.btn-red::before,
.btn-submit::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-200%);
  pointer-events: none;
  animation: luxBtnShine 5s 3s ease-in-out infinite;
}
@keyframes luxBtnShine {
  0%  { transform: translateX(-200%); }
  18% { transform: translateX(320%); }
  100%{ transform: translateX(320%); }
}
/* Ripple base */
.btn,
.btn-submit { position: relative; overflow: hidden; }
.lux-ripple {
  position: absolute;
  border-radius: 50%;
  width: 8px; height: 8px;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: luxRipple 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes luxRipple {
  to { transform: scale(50); opacity: 0; }
}

/* ─── SECTION TITLE ORNAMENT ─── */
.section-title { position: relative; }
.section-title::after {
  content: '';
  display: block;
  width: 28px; height: 1.5px;
  background: var(--rosso);
  margin: 0.75rem auto 0;   /* centrada por defecto */
  opacity: 0.45;
}
/* Secciones con texto alineado a la izquierda: rayita a la izquierda */
.story-text .section-title::after { margin: 0.75rem 0 0; }

/* ─── ORO ACCENTS ─── */
.story-stat-num { color: var(--oro) !important; }
.section-eyebrow { color: var(--oro) !important; }
.book-section .section-eyebrow,
.menu-section .section-eyebrow { color: var(--rosso3) !important; }

/* ─── MENU CARDS — shimmer ─── */
.menu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.04) 50%, transparent 75%);
  transform: translateX(-110%);
  transition: transform 0.55s ease;
  pointer-events: none;
  z-index: 1;
}
@media (hover: hover) {
  .menu-card:hover::before { transform: translateX(110%); }
}

/* ─── EVENT CARDS — shimmer ─── */
.event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(14,14,12,0.04) 50%, transparent 75%);
  transform: translateX(-110%);
  transition: transform 0.55s ease;
  pointer-events: none;
  z-index: 1;
}
@media (hover: hover) {
  .event-card:hover::before { transform: translateX(110%); }
}

/* ─── REVIEW CARDS — shimmer ─── */
.review-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(206,43,55,0.03) 50%, transparent 75%);
  transform: translateX(-110%);
  transition: transform 0.55s ease;
  pointer-events: none;
  z-index: 1;
}
@media (hover: hover) {
  .review-card:hover::before { transform: translateX(110%); }
}

/* ─── GALLERY SLIDES — organic zoom ─── */
.carta-slide:nth-child(odd)  img { transform-origin: 60% 40%; }
.carta-slide:nth-child(even) img { transform-origin: 40% 60%; }
@media (hover: hover) {
  .carta-slide:hover img { transform: scale(1.06); }
}

/* ─── FOOTER LINKS — underline slide ─── */
.footer-col a {
  position: relative;
  display: inline-block;
  padding-bottom: 1px;
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--panna);
  transition: width 0.28s var(--ease);
}
.footer-col a:hover::after { width: 100%; }

/* ─── FORM — oro focus ─── */
.form-input:focus {
  border-color: var(--oro) !important;
  box-shadow: 0 0 0 3px rgba(200, 150, 42, 0.08);
}

/* ─── BOOK INFO — hover ─── */
.book-info-block a:hover { color: var(--oro) !important; }
.hours-row.highlight { color: var(--oro) !important; }

/* ─── LONG PRESS (mobile) ─── */
.lux-long-press {
  box-shadow: 0 0 0 2px var(--rosso),
              0 8px 28px rgba(206, 43, 55, 0.2) !important;
}

/* ─── LENIS ─── */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  /* Reveals — show immediately */
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal.visible { opacity: 1 !important; transform: none !important; }
  body { animation: none !important; }
  .lux-splash-logo, .lux-splash-rule, .lux-splash-flag,
  .lux-splash-sub, .lux-splash-loader, .lux-splash-loader span {
    animation: none !important; opacity: 1 !important;
  }
  .lux-splash-rule { width: min(240px, 52vw); }
  .mobile-nav a { animation: none !important; opacity: 1 !important; transform: none !important; }
  .btn-red::before, .btn-submit::before,
  .btn-outline-cream::before, .nav a.nav-cta::before { animation: none !important; }
}

/* ════════════════════════════════════════════════════════════
   LUXURY — FULL CTA / CARD / TAB / REVEAL COVERAGE
   ════════════════════════════════════════════════════════════ */

/* ─── BTN-OUTLINE-CREAM — full luxury ─── */
.btn-outline-cream {
  position: relative; overflow: hidden;
  transition: background 0.2s, border-color 0.2s, color 0.2s,
              transform 0.22s var(--ease), box-shadow 0.22s !important;
}
.btn-outline-cream::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent);
  transform: translateX(-200%);
  pointer-events: none;
  animation: luxBtnShine 6.5s 5.5s ease-in-out infinite;
}
@media (hover: hover) { .btn-outline-cream:hover { transform: translateY(-2px); } }
@media (hover: none)  { .btn-outline-cream:active { background: rgba(250,247,240,0.12) !important; border-color: rgba(250,247,240,0.7) !important; transform: scale(0.95) !important; } }

/* ─── MENU-CAT-BTN — full luxury ─── */
.menu-cat-btn {
  position: relative; overflow: hidden;
  transition: background 0.25s, border-color 0.25s, color 0.25s,
              transform 0.2s var(--ease), box-shadow 0.25s !important;
}
.menu-cat-btn.active { box-shadow: 0 2px 16px rgba(206, 43, 55, 0.3); }
@media (hover: hover) { .menu-cat-btn:hover { transform: translateY(-1px); } }
@media (hover: none)  {
  .menu-cat-btn:active { background: var(--rosso) !important; border-color: var(--rosso) !important; color: #fff !important; transform: scale(0.96) !important; }
}

/* ─── NAV CTA — shine + ripple base ─── */
.nav a.nav-cta { position: relative; overflow: hidden; }
.nav a.nav-cta::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-200%);
  pointer-events: none;
  animation: luxBtnShine 7s 4.5s ease-in-out infinite;
}

/* ─── BOOK-WA-BTN — ripple base (magnetic done in JS) ─── */
.book-wa-btn { position: relative; overflow: hidden; }
@media (hover: none) { .book-wa-btn:active { background: #1ab956 !important; transform: scale(0.95) !important; } }

/* ─── CARTA ARROWS — luxury ─── */
.carta-arrow {
  transition: background 0.25s, transform 0.3s var(--ease), box-shadow 0.3s !important;
}
@media (hover: hover) {
  .carta-arrow:hover { box-shadow: 0 6px 20px rgba(206, 43, 55, 0.4) !important; }
}
@media (hover: none) {
  .carta-arrow:active { transform: translateY(-50%) scale(0.94) !important; background: rgba(206,43,55,0.85) !important; }
}

/* ─── STORY IMAGE — hover luxury ─── */
.story-img-frame { transition: box-shadow 0.35s var(--ease); }
@media (hover: hover) {
  .story-img-frame:hover { box-shadow: 0 10px 36px rgba(206, 43, 55, 0.14); }
}

/* ─── FAQ ITEMS — touch feedback ─── */
@media (hover: none) {
  .carta-faq-item:active { border-color: rgba(206,43,55,0.25) !important; box-shadow: 0 4px 18px rgba(14,14,12,0.07) !important; }
}

/* ─── FOOTER SOCIAL — touch ─── */
@media (hover: none) {
  .footer-social a:active { transform: translateY(-2px) !important; }
}

/* ─── DESKTOP REVEALS — deeper ─── */
.reveal {
  transform: translateY(28px) !important;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease) !important;
  transition-delay: var(--d, 0s) !important;
}
.reveal.visible { transform: translateY(0) !important; }

/* ─── EVENT TAG WORKSHOP ─── */
.event-tag--workshop {
  background: rgba(100, 80, 200, 0.1);
  color: #5b46b0;
}
.event-tag--exclusive {
  background: rgba(200, 150, 42, 0.12);
  color: var(--oro);
}

/* ─── STORY STATS — hover luxury ─── */
.story-stat {
  position: relative;
  transition: background 0.2s;
  overflow: hidden;
}
.story-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rosso);
  transform: scaleX(0);
  transition: transform 0.28s var(--ease);
}
@media (hover: hover) {
  .story-stat:hover { background: rgba(206,43,55,0.04); }
  .story-stat:hover::before { transform: scaleX(1); }
}
@media (hover: none) {
  .story-stat:active { background: rgba(206,43,55,0.06) !important; }
}

/* ─── BOOK INFO BLOCKS — hover luxury ─── */
.book-info-block {
  transition: border-color 0.25s, box-shadow 0.25s;
}
@media (hover: hover) {
  .book-info-block:hover {
    border-color: rgba(206,43,55,0.25);
    box-shadow: 0 4px 18px rgba(14,14,12,0.06);
  }
}

/* ─── HOURS ROW — luxury ─── */
.hours-row {
  transition: background 0.15s;
  border-radius: 2px;
  padding-left: 4px;
  padding-right: 4px;
}
@media (hover: hover) {
  .hours-row:hover { background: rgba(206,43,55,0.04); }
}

/* ─── EVENTS: GRID ON LARGE SCREENS ─── */
@media (min-width: 1200px) {
  .events-scroll-wrap {
    overflow-x: visible;
    cursor: default;
    padding: 2rem 2.5rem 0.5rem;
  }
  .events-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    width: 100%;
    gap: 1.25rem;
  }
  .event-card {
    width: auto;
    flex-shrink: 1;
    scroll-snap-align: none;
  }
  .events-dots { display: none !important; }
}
@media (min-width: 1800px) {
  .events-track {
    grid-template-columns: repeat(7, 1fr);
  }
}

/* ─── MOBILE — full optimization ─── */
@media (max-width: 767px) {
  /* Btn shine: 1 sola pasada, no loop */
  .btn-red::before,
  .btn-submit::before { animation-iteration-count: 1 !important; }

  /* Progress bar: oculto en mobile */
  .lux-progress { display: none !important; }

  /* Cursor elements: belt+suspenders */
  .lux-cursor-dot, .lux-cursor-ring { display: none !important; }

  /* Hero badge: sin animación ping */
  .hero-corner-badge { animation: none !important; }

  /* Touch targets min 44px */
  .menu-cat-btn    { min-height: 44px !important; padding: 10px 18px !important; }
  .ev-dot          { width: 12px !important; height: 12px !important; }
  .ev-dot.active   { width: 28px !important; }
  .carta-dot       { width: 10px !important; height: 10px !important; }
  .carta-dot.active{ width: 28px !important; }
  .lang-btn        { min-width: 40px !important; min-height: 36px !important; }
  .chat-close      { min-width: 44px !important; min-height: 44px !important; }

  /* Disable 3D transforms — performance */
  .review-card, .event-card {
    transform-style: flat !important;
    will-change: auto !important;
  }

  /* Section spacing */
  .section-inner { padding: 0 1rem !important; }
  .events-scroll-wrap { padding: 1.5rem 1rem 0.5rem !important; }
  .book-grid { gap: 2rem !important; }
  .story-grid { gap: 2rem !important; }

  /* Hero text readable */
  .hero h1 { font-size: clamp(2.8rem, 11vw, 8rem) !important; }

  /* Section title ornament smaller */
  .section-title::after { width: 20px !important; margin-top: 0.6rem !important; }

  /* Grain less visible on mobile */
  .lux-grain { opacity: 0.018 !important; }

  /* Chat panel - better mobile */
  .chat-panel {
    bottom: 8rem !important;
    max-height: min(360px, calc(100dvh - 9rem)) !important;
  }
}
