:root {
  color-scheme: light;
  --ink: #17110d;
  --muted: #74675d;
  --line: #eadbc9;
  --paper: #fbf6ef;
  --panel: #ffffff;
  --accent: #8d4f24;
  --accent-dark: #5f3418;
  --gold: #d3ad67;
  --gold-soft: #f4ead9;
  --jade: #7a481f;
  --blush: #fff0f3;
  --rose: #b94958;
  --charcoal: #141414;
  --shadow: 0 18px 45px rgba(85, 46, 19, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(211, 173, 103, 0.18), transparent 32%),
    linear-gradient(180deg, #fffaf3 0%, var(--paper) 48%, #efe1d0 100%);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(211, 173, 103, 0.3);
  background: rgba(255, 250, 243, 0.9);
  color: var(--ink);
  backdrop-filter: blur(16px);
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 220ms ease;
}

.brand-logo-wrap {
  display: grid;
  width: 44px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(211, 173, 103, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(92, 50, 21, 0.12);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.brand-logo-wrap img {
  display: block;
  width: 88%;
  height: 88%;
  object-fit: contain;
  transform: none;
  filter: saturate(1.05) contrast(1.06);
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease, color 180ms ease;
}

.nav a:hover {
  background: #f6ead8;
  color: var(--ink);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  min-height: 600px;
  padding: clamp(56px, 8vw, 100px) clamp(18px, 4vw, 56px);
  background:
    radial-gradient(circle at 83% 14%, rgba(211, 173, 103, 0.22), transparent 30%),
    linear-gradient(100deg, rgba(29, 17, 10, 0.78), rgba(55, 28, 14, 0.42), rgba(141, 79, 36, 0.16)),
    url("assets/gohan-hero-ai.jpg") center/cover;
  color: white;
  background-attachment: fixed;
}

.hero-copy {
  max-width: 720px;
}

.hero-logo {
  display: block;
  width: min(150px, 42vw);
  height: auto;
  margin: 0 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  padding: 0;
  box-shadow: none;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.36));
}

.eyebrow {
  margin: 0 0 10px;
  color: #f1cf8b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.admin-login h1,
.admin-panel h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 18px 38px rgba(28, 14, 7, 0.46);
  animation: titleRise 800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 30px;
  color: rgba(255, 250, 243, 0.9);
  font-size: 1.1rem;
  line-height: 1.75;
}

.primary-action,
.submit-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-action,
.submit-button {
  padding: 0 22px;
  border: 1px solid rgba(239, 204, 139, 0.82);
  background: linear-gradient(135deg, #22140d, #8d4f24);
  color: white;
  box-shadow: 0 14px 28px rgba(20, 15, 10, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.primary-action:hover,
.submit-button:hover {
  background: linear-gradient(135deg, #140b07, #6f3b1a);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 18px 38px rgba(50, 28, 14, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.primary-action:active,
.submit-button:active,
.secondary-button:active,
.nav a:active {
  transform: scale(0.98);
}

.secondary-button {
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.secondary-button:hover {
  border-color: var(--gold);
  background: #fff8ec;
  transform: translateY(-2px);
}

.whatsapp-button {
  border-color: rgba(211, 173, 103, 0.82);
  background: linear-gradient(135deg, #21130c, #8d4f24);
  color: white;
}

.whatsapp-button:hover {
  background: linear-gradient(135deg, #140b07, #6f3b1a);
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.hero-panel div,
.info-block,
.ticket,
.admin-login,
.record-card,
.stats div {
  border: 1px solid rgba(234, 219, 201, 0.88);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.hero-panel div {
  padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 22px 55px rgba(68, 36, 16, 0.16);
}

.hero-panel div:hover,
.info-block:hover,
.ticket:hover,
.record-card:hover {
  border-color: rgba(211, 173, 103, 0.72);
  box-shadow: 0 24px 58px rgba(85, 46, 19, 0.18);
  transform: translateY(-3px) scale(1.01);
}

.hero-panel span,
.stats span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}

.content-grid,
.photo-section,
.tickets,
.map-section,
.admin-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(250px, 0.52fr);
  gap: 24px;
  padding: 52px 0 30px;
}

.booking-area {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 18px 45px rgba(85, 46, 19, 0.12);
  padding: clamp(18px, 2.4vw, 28px);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.booking-area:hover {
  border-color: rgba(211, 173, 103, 0.58);
  box-shadow: 0 26px 70px rgba(85, 46, 19, 0.16);
  transform: translateY(-2px);
}

.section-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  letter-spacing: 0.01em;
}

.booking-form {
  display: grid;
  gap: 14px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 13px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

textarea {
  resize: vertical;
  min-height: 96px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 148, 82, 0.14);
  background: #fff;
  transform: scale(1.006);
}

input[readonly] {
  cursor: default;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-row-main {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(90px, 0.42fr);
}

.service-field {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.service-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.service-toggle label {
  display: block;
  cursor: pointer;
}

.service-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.service-toggle span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-toggle input:checked + span {
  border-color: var(--gold);
  background: linear-gradient(135deg, #21130c, #8d4f24);
  color: white;
  box-shadow: 0 10px 24px rgba(20, 15, 10, 0.18);
}

.service-toggle span:hover {
  border-color: var(--gold);
  background: #fbf6ed;
  transform: translateY(-1px);
}

.service-toggle input:checked + span:hover {
  background: linear-gradient(135deg, #140b07, #6f3b1a);
}

.calendar-widget {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.92);
  padding: 12px;
  box-shadow: 0 12px 32px rgba(85, 46, 19, 0.1);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.calendar-widget:hover {
  box-shadow: 0 18px 46px rgba(85, 46, 19, 0.13);
  transform: translateY(-1px);
}

.calendar-head {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.calendar-head strong {
  text-align: center;
  font-size: 1.05rem;
}

.calendar-head button,
.calendar-day {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.calendar-head button {
  min-height: 34px;
  font-size: 1.25rem;
  line-height: 1;
}

.calendar-head button:hover,
.calendar-day:hover {
  border-color: var(--gold);
  background: #fbf6ed;
  transform: translateY(-1px) scale(1.02);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.calendar-day,
.calendar-spacer {
  min-height: 38px;
}

.calendar-day.weekend {
  background: #fff8ec;
  border-color: #e6d4b6;
}

.calendar-day.selected {
  background: linear-gradient(135deg, #21130c, #8d4f24);
  border-color: var(--gold);
  color: white;
  box-shadow: 0 10px 22px rgba(85, 46, 19, 0.18);
}

.calendar-day.past,
.calendar-day:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.form-message {
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.privacy-note,
.ticket-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.notice {
  margin: -4px 0 0;
  border: 1px solid #e6d4b6;
  border-radius: 8px;
  background: #fbf6ed;
  color: #5d451f;
  padding: 10px 12px;
  line-height: 1.5;
  font-weight: 800;
  font-size: 0.93rem;
}

.form-message.success {
  border: 1px solid #d9c18e;
  border-radius: 8px;
  background: #fbf6ed;
  color: #5c3d10;
  padding: 12px 14px;
}

.form-message.error {
  border: 1px solid #efc3ca;
  border-radius: 8px;
  background: #fff0f3;
  color: var(--rose);
  padding: 12px 14px;
}

.info-area {
  display: grid;
  align-content: start;
  gap: 12px;
}

.info-block {
  padding: 18px;
}

.info-block h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.info-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.95rem;
}

.address-block {
  background: linear-gradient(180deg, #fff, #fbf1e5);
}

.assistant-block {
  background: linear-gradient(180deg, #fff, #fbf1e5);
}

.assistant-block .eyebrow {
  margin-bottom: 8px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 800;
}

.phone-link,
.notice a {
  color: #6c4815;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.photo-section {
  padding: 30px 0 48px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, 1fr);
  gap: 16px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
  box-shadow: var(--shadow);
  transform: translateZ(0);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.photo-card:hover img {
  transform: scale(1.075);
}

.photo-card:hover {
  border-color: rgba(211, 173, 103, 0.68);
  box-shadow: 0 26px 72px rgba(85, 46, 19, 0.2);
  transform: translateY(-4px) scale(1.01);
}

.large-photo {
  grid-column: span 2;
  min-height: 460px;
}

.wide-photo {
  grid-column: span 2;
}

.photo-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  border-radius: 8px;
  background: rgba(35, 20, 12, 0.82);
  color: white;
  border: 1px solid rgba(211, 173, 103, 0.38);
  padding: 8px 13px;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(24, 33, 31, 0.16);
}

.tickets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 28px 0 50px;
}

.ticket {
  padding: 24px;
}

.manager-ticket {
  display: grid;
  align-content: start;
  gap: 12px;
}

.ticket h2 {
  margin: 0 0 18px;
}

dl {
  margin: 0;
}

.ticket dl,
.record-details {
  display: grid;
  gap: 10px;
}

.ticket dl div,
.record-details div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.map-section {
  padding: 34px 0 70px;
}

.map-address {
  margin: -12px 0 20px;
  color: var(--muted);
  font-weight: 800;
}

.map-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 8;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.map-shell:hover {
  border-color: rgba(211, 173, 103, 0.68);
  box-shadow: 0 26px 72px rgba(85, 46, 19, 0.18);
  transform: translateY(-3px);
}

.map-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer a {
  min-height: 40px;
  border: 1px solid rgba(211, 173, 103, 0.4);
  border-radius: 8px;
  background: #fffaf3;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  font-weight: 800;
}

.widget-page {
  background: transparent;
}

.widget-shell {
  display: grid;
  gap: 18px;
  width: min(760px, calc(100% - 24px));
  margin: 0 auto;
  padding: 12px 0;
}

.widget-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.widget-brand img {
  width: 86px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.2));
}

.widget-brand h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1;
}

.widget-info {
  display: block;
}

.widget-shell .tickets {
  width: 100%;
  padding: 0 0 20px;
}

.admin-main {
  padding: 54px 0;
}

.admin-login {
  max-width: 520px;
  padding: 30px;
}

.compact-form {
  margin-top: 24px;
}

.admin-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.admin-actions,
.record-actions,
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 18px;
}

.stats div {
  padding: 20px;
}

.stats strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
}

.filters {
  margin: 0 0 18px;
}

.filters input {
  flex: 1 1 280px;
}

.filters select {
  flex: 0 1 180px;
}

.records-list {
  display: grid;
  gap: 14px;
}

.record-card {
  padding: 20px;
}

.record-main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.record-main h2 {
  margin: 4px 0;
  font-size: 1.35rem;
}

.record-main p,
.record-id {
  margin: 0;
  color: var(--muted);
}

.status {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff1d0;
  color: #7b4d07;
  padding: 7px 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.status.cancelled {
  background: #fae8eb;
  color: var(--rose);
}

.record-actions {
  margin-top: 18px;
}

.record-actions button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 14px;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.hidden {
  display: none !important;
}

.reveal-on-scroll {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(26px) scale(0.985);
  transition:
    opacity 700ms ease,
    filter 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, filter, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.touch-lift {
  transform: translateY(-2px) scale(1.012);
}

@keyframes titleRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 820px) {
  .topbar,
  .footer,
  .admin-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .content-grid,
  .photo-grid,
  .tickets {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-rows: none;
  }

  .large-photo {
    grid-column: auto;
    min-height: 260px;
  }

  .wide-photo {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
    background-attachment: scroll;
  }

  .hero-logo {
    width: min(150px, 50vw);
    height: 120px;
  }

  .brand-logo-wrap {
    width: 46px;
    height: 38px;
  }

  .form-row,
  .stats {
    grid-template-columns: 1fr;
  }

  .map-shell {
    aspect-ratio: 1 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media print {
  .topbar,
  .hero,
  .content-grid,
  .map-section,
  .footer,
  .manager-ticket,
  #printTicket {
    display: none !important;
  }

  .tickets {
    display: block;
    width: 100%;
    padding: 0;
  }

  .ticket {
    box-shadow: none;
  }
}

/* Sales demo additions */
.sales-hero {
  align-items: center;
  min-height: 720px;
}

.demo-ribbon,
.demo-note {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(241, 207, 139, 0.42);
  border-radius: 999px;
  background: rgba(22, 11, 6, 0.48);
  color: #ffe3a4;
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
}

.demo-note {
  display: block;
  max-width: 610px;
  margin: 10px 0 12px;
  border-radius: 8px;
  color: rgba(255, 250, 243, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-secondary {
  min-height: 48px;
  border-color: rgba(239, 204, 139, 0.66);
  background: rgba(255, 252, 247, 0.12);
  color: #fff;
  backdrop-filter: blur(10px);
}

.demo-intro,
.digital-menu-section,
.qr-section,
.owner-section,
.review-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.demo-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 8px;
}

.demo-intro p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}

.language-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lang-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 9px 13px;
}

.lang-button.active {
  border-color: var(--gold);
  background: linear-gradient(135deg, #21130c, #8d4f24);
  color: #fff;
}

.digital-menu-section,
.owner-section,
.review-section {
  padding: 48px 0;
}

.menu-lead {
  margin: -8px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 700;
}

.menu-category-grid,
.owner-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.menu-category-card,
.owner-grid div,
.review-grid div,
.qr-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.94);
  box-shadow: var(--shadow);
}

.menu-category-card {
  padding: 20px;
}

.menu-category-card h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.dish-card {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.dish-card.recommended::before {
  content: "Consigliato";
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #fff1d2;
  color: #7b4a0b;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 900;
}

.dish-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.02rem;
}

.dish-card p,
.dish-card small,
.owner-grid p,
.review-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.dish-card small {
  font-weight: 800;
}

.dish-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dish-tags span {
  border-radius: 999px;
  background: #f8ead4;
  color: var(--accent-dark);
  padding: 5px 8px;
  font-size: 0.76rem;
  font-weight: 900;
}

.qr-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(220px, 0.28fr);
  gap: 24px;
  align-items: center;
  padding: 54px 0;
}

.qr-copy {
  padding: clamp(24px, 4vw, 40px);
}

.qr-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.qr-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.68;
  font-size: 1.05rem;
}

.qr-mockup {
  display: grid;
  width: min(240px, 70vw);
  aspect-ratio: 1;
  place-items: center;
  border: 12px solid #fff;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #1b120d 13px, transparent 13px) 0 0 / 34px 34px,
    linear-gradient(#1b120d 13px, transparent 13px) 0 0 / 34px 34px,
    #fff;
  box-shadow: var(--shadow);
}

.qr-mockup span {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 8px;
  background: #fff8ec;
  color: var(--accent-dark);
  font-weight: 950;
}

.owner-grid div,
.review-grid div {
  padding: 20px;
}

.owner-grid strong,
.review-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.map-fallback-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.92);
  padding: 14px;
  color: var(--muted);
  font-weight: 800;
}

.mobile-bottom-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 50;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(234, 219, 201, 0.9);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.96);
  padding: 8px;
  box-shadow: 0 20px 55px rgba(29, 17, 10, 0.2);
  backdrop-filter: blur(16px);
}

.mobile-bottom-cta a {
  display: grid;
  min-height: 46px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #21130c, #8d4f24);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 950;
}

@media (max-width: 900px) {
  .qr-section {
    grid-template-columns: 1fr;
  }

  .demo-intro {
    display: grid;
  }

  .menu-category-grid,
  .owner-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .form-row-main {
    grid-template-columns: 1fr !important;
  }

  .mobile-bottom-cta {
    display: grid;
  }

  body {
    padding-bottom: 78px;
  }
}

@media (max-width: 560px) {
  .sales-hero {
    min-height: 760px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 4.2rem);
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-button {
    width: 100%;
  }

  .language-switch {
    width: 100%;
  }

  .lang-button {
    flex: 1 1 auto;
  }

  .qr-mockup {
    margin: 0 auto;
  }
}
