:root {
  --ink: #111814;
  --muted: #5e6861;
  --paper: #f7f2e8;
  --panel: #fffaf1;
  --line: #dfd5c3;
  --green: #1f6a4b;
  --tomato: #7c2a17;
  --gold: #e3a83b;
  --blue: #315c79;
  --shadow: 0 22px 60px rgba(17, 24, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(247, 242, 232, 0.88);
  border-bottom: 1px solid rgba(223, 213, 195, 0.8);
  backdrop-filter: blur(16px);
}

.brand,
.desktop-nav,
.header-tools,
.hero-actions,
.hero-metrics,
.phone-top,
.category-tabs,
.panel-toolbar,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--panel);
  background: var(--ink);
  border-radius: 8px;
}

.brand-lockup {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name,
.footer-brand {
  font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-byline,
.footer-byline {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand {
  display: block;
  color: var(--panel);
  font-size: 1.86rem;
}

.footer-byline {
  display: block;
  margin-top: -2px;
  color: #c7d1c9;
}

.desktop-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.header-tools {
  gap: 8px;
}

.lang-button {
  width: 38px;
  height: 38px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.lang-button.active {
  color: var(--panel);
  background: var(--ink);
  border-color: var(--ink);
}

.header-action,
.primary-button,
.secondary-button,
.text-button,
.small-button,
.price-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 750;
}

.header-action,
.primary-button,
.price-card a {
  color: var(--panel);
  background: var(--ink);
}

.secondary-button,
.small-button,
.text-button {
  color: var(--ink);
  background: transparent;
}

.text-button {
  padding-inline: 6px;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 64px) 40px;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--tomato);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(4rem, 9vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.15;
}

.hero-subtitle,
.section-heading p,
.demo-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.hero-metrics div {
  min-width: 128px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}

.hero-metrics dt {
  font-size: 1.5rem;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  align-self: center;
  min-height: 620px;
}

.phone-preview {
  position: relative;
  z-index: 1;
  max-width: 390px;
  min-height: 620px;
  margin-left: auto;
  padding: 20px;
  overflow: hidden;
  background: #121815;
  border: 12px solid #2a2d28;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-top {
  justify-content: space-between;
  color: var(--panel);
  margin-bottom: 18px;
}

.live-pill {
  padding: 5px 10px;
  color: #132016;
  background: #bfe8c8;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.dish-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 190px;
  padding: 18px;
  color: #fffaf1;
  background:
    linear-gradient(140deg, rgba(17, 24, 20, 0.18), rgba(17, 24, 20, 0.78)),
    radial-gradient(circle at 20% 18%, #efc36d 0 12%, transparent 13%),
    radial-gradient(circle at 74% 28%, #d05b36 0 11%, transparent 12%),
    radial-gradient(circle at 42% 68%, #315c79 0 10%, transparent 11%),
    #37614b;
  border-radius: 22px;
}

.dish-hero p {
  margin-bottom: 6px;
  color: rgba(255, 250, 241, 0.78);
}

.dish-hero h2 {
  max-width: 230px;
  margin: 0;
  font-size: 1.62rem;
  line-height: 1.05;
}

.dish-hero strong {
  font-size: 1.55rem;
}

.category-tabs {
  gap: 8px;
  margin: 18px 0;
  overflow-x: auto;
}

.category-tabs span {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: #cdd6ce;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 999px;
}

.category-tabs .active {
  color: var(--ink);
  background: var(--panel);
}

.menu-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 12px;
  color: var(--panel);
  background: rgba(255, 250, 241, 0.08);
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-radius: 16px;
}

.menu-card h3 {
  margin: 0 0 3px;
  font-size: 0.98rem;
}

.menu-card p {
  margin: 0;
  color: #bac4bc;
  font-size: 0.83rem;
  line-height: 1.35;
}

.dish-thumb {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.thumb-one {
  background:
    radial-gradient(circle at 35% 40%, #f1dba8 0 18%, transparent 19%),
    radial-gradient(circle at 66% 62%, #f1dba8 0 17%, transparent 18%),
    #9f5438;
}

.thumb-two {
  background:
    radial-gradient(circle at 45% 44%, #d64334 0 24%, transparent 25%),
    radial-gradient(circle at 64% 66%, #f8d785 0 12%, transparent 13%),
    #1f6a4b;
}

.qr-panel {
  position: absolute;
  right: 300px;
  bottom: 70px;
  width: 168px;
  padding: 14px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.qr-grid {
  width: 138px;
  height: 138px;
  margin-bottom: 8px;
  background:
    linear-gradient(90deg, var(--ink) 10px, transparent 10px 20px, var(--ink) 20px 30px, transparent 30px),
    linear-gradient(var(--ink) 10px, transparent 10px 20px, var(--ink) 20px 30px, transparent 30px);
  background-size: 38px 38px;
  border: 10px solid var(--ink);
}

.signal-strip {
  display: flex;
  gap: 12px;
  padding: 14px clamp(18px, 5vw, 64px);
  overflow-x: auto;
  color: var(--panel);
  background: var(--ink);
}

.signal-strip span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 999px;
}

.section {
  padding: clamp(64px, 8vw, 116px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.seo-grid article,
.price-card,
.demo-form,
.workspace,
.billing-status,
.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid article {
  min-height: 220px;
  padding: 22px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 32px;
  color: var(--panel);
  background: var(--green);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 900;
}

.feature-grid article:nth-child(2) .feature-icon {
  background: #7c2a17;
}

.feature-grid article:nth-child(3) .feature-icon {
  background: var(--gold);
  color: var(--ink);
}

.feature-grid article:nth-child(4) .feature-icon {
  background: var(--blue);
}

.feature-grid article:nth-child(5) .feature-icon {
  background: #635bff;
}

.feature-grid article:nth-child(6) .feature-icon {
  background: #1f6a4b;
}

.feature-grid p,
.seo-grid p,
.price-card p,
.price-card li,
.site-footer p,
.billing-status p,
.faq-list p {
  color: var(--muted);
  line-height: 1.5;
}

.seo-section {
  background: #f0eadf;
}

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

.seo-grid article {
  min-height: 210px;
  padding: 24px;
}

.conversion-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 64px);
  color: #f7f2e8;
  background: #111814;
}

.conversion-band h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 4.8rem);
}

.conversion-band p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(247, 242, 232, 0.76);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.55;
}

.conversion-band .eyebrow {
  color: #ffb84d;
}

.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.conversion-actions .primary-button {
  color: var(--ink);
  background: #ffb84d;
  border-color: #ffb84d;
}

.conversion-actions .secondary-button {
  color: #f7f2e8;
  border-color: rgba(247, 242, 232, 0.58);
}

.workspace-section {
  background: #e8dfcf;
}

.workspace {
  display: grid;
  grid-template-columns: 230px 1fr;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.workspace-sidebar {
  padding: 20px;
  background: var(--ink);
  color: var(--panel);
}

.workspace-sidebar strong {
  display: block;
  margin-bottom: 18px;
  font-size: 1.15rem;
}

.workspace-sidebar nav {
  display: grid;
  gap: 8px;
}

.panel-tab {
  min-height: 42px;
  padding: 0 12px;
  color: #d9ded9;
  text-align: left;
  background: transparent;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 8px;
  cursor: pointer;
}

.panel-tab.active {
  color: var(--ink);
  background: var(--panel);
}

.workspace-main {
  min-height: 520px;
  padding: 24px;
}

.panel-view {
  display: none;
}

.panel-view.active {
  display: block;
}

.panel-toolbar {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-toolbar h3 {
  margin: 0;
}

.editor-list {
  display: grid;
  gap: 12px;
}

.editor-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 90px 92px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.editor-row input {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.toggle-button {
  min-height: 42px;
  color: var(--green);
  background: #eaf4ed;
  border: 1px solid #bcd8c6;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.toggle-button.off {
  color: var(--muted);
  background: #f1eee7;
  border-color: var(--line);
}

.customer-menu {
  max-width: 430px;
  margin: 0 auto;
  padding: 18px;
  color: var(--panel);
  background: var(--ink);
  border-radius: 26px;
}

.customer-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.customer-menu-header h3 {
  margin: 0;
}

.customer-menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 250, 241, 0.12);
}

.customer-menu-item p {
  margin: 4px 0 0;
  color: #bbc4bd;
}

.billing-status {
  padding: 22px;
  margin-bottom: 14px;
}

.billing-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.reservations-section {
  background: #f0eadf;
}

.reservation-demo {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: stretch;
}

.reservation-controls,
.table-map-card {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reservation-controls {
  display: grid;
  gap: 18px;
}

.reservation-controls label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.time-slot {
  min-height: 44px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
}

.time-slot.active {
  color: var(--panel);
  background: var(--ink);
  border-color: var(--ink);
}

.reservation-fee-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reservation-fee-card p {
  color: var(--muted);
  line-height: 1.5;
}

.table-map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.table-map-head strong {
  display: block;
  font-size: 1.08rem;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.legend-dot.available {
  background: var(--green);
}

.legend-dot.selected {
  background: var(--gold);
}

.legend-dot.booked {
  background: #a8ada8;
}

.table-map {
  display: grid;
  grid-template-areas:
    "t1 t2 bar"
    "t3 t4 bar"
    "terrace terrace t5"
    "t6 t6 t5";
  grid-template-columns: repeat(3, minmax(74px, 1fr));
  grid-auto-rows: minmax(74px, auto);
  gap: 12px;
  min-height: 360px;
  padding: 14px;
  background:
    linear-gradient(90deg, rgba(17, 24, 20, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 20, 0.06) 1px, transparent 1px),
    #fff;
  background-size: 28px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-node,
.bar-zone,
.terrace-zone {
  display: grid;
  place-items: center;
  min-height: 72px;
  border-radius: 8px;
  font-weight: 900;
}

.table-node {
  position: relative;
  color: var(--ink);
  background: #eaf4ed;
  border: 2px solid #9fc9ad;
  cursor: pointer;
}

.table-node.large {
  border-radius: 18px;
}

.table-node.selected {
  background: #ffe3a6;
  border-color: #a66d0a;
  box-shadow: 0 0 0 4px rgba(227, 168, 59, 0.22);
}

.table-node.booked {
  color: #5d625d;
  background: #e6e4df;
  border-color: #c6c1b8;
  cursor: not-allowed;
}

.table-node.booked::after {
  content: "B";
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #fffaf1;
  background: #c7352a;
  border-radius: 999px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(255, 250, 241, 0.9);
}

.bar-zone,
.terrace-zone {
  color: #536058;
  background: rgba(49, 92, 121, 0.12);
  border: 1px dashed rgba(49, 92, 121, 0.45);
}

.insights-section {
  background: #e8dfcf;
}

.insights-demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.insight-card,
.insight-action-card {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.insight-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.insight-card-head strong {
  color: var(--muted);
  font-size: 0.92rem;
}

.dish-stats {
  display: grid;
  gap: 16px;
}

.dish-stat {
  display: grid;
  grid-template-columns: minmax(92px, 0.52fr) minmax(120px, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.dish-stat span,
.dish-stat strong {
  font-size: 0.92rem;
}

.dish-stat div {
  height: 12px;
  overflow: hidden;
  background: #eadfcc;
  border-radius: 999px;
}

.dish-stat i {
  display: block;
  width: var(--value);
  height: 100%;
  background: var(--green);
  border-radius: inherit;
}

.hour-chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  min-height: 230px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hour-chart span {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  align-items: end;
  min-height: 190px;
  text-align: center;
}

.hour-chart i {
  display: block;
  width: 100%;
  height: var(--height);
  min-height: 24px;
  background: #315c79;
  border-radius: 8px 8px 3px 3px;
}

.hour-chart .peak i {
  background: var(--tomato);
}

.hour-chart small {
  color: var(--muted);
  font-weight: 850;
}

.insight-action-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  color: var(--panel);
  background: var(--ink);
  border-color: var(--ink);
}

.insight-action-card p {
  color: #dce7df;
  line-height: 1.55;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
}

.price-card.featured {
  color: var(--panel);
  background: var(--ink);
  border-color: var(--ink);
}

.price-card.featured p,
.price-card.featured li {
  color: #edf4ef;
}

.site-footer p {
  color: #dce7df;
}

.price-card .plan {
  color: var(--tomato);
  font-weight: 850;
}

.price-card h3 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.price-card h3 span {
  color: var(--muted);
  font-size: 1rem;
}

.price-card.featured h3 span {
  color: #c9d1cb;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 26px;
  padding-left: 19px;
}

.price-card a {
  margin-top: auto;
}

.price-card.featured a {
  color: var(--ink);
  background: var(--panel);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 12px 0 0;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 34px;
  align-items: center;
  background: #f0eadf;
}

.demo-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.demo-form label,
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.demo-form input,
.contact-form input {
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: 34px;
  align-items: start;
}

.contact-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.contact-form textarea {
  min-height: 150px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  resize: vertical;
}

.hidden-field {
  display: none;
}

.demo-disabled-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.demo-disabled-panel h3,
.demo-disabled-panel p {
  margin: 0;
}

.demo-disabled-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.demo-disabled-panel .primary-button {
  justify-self: start;
  margin-top: 8px;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--panel);
  background: var(--ink);
}

.site-footer p {
  margin: 5px 0 0;
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(140deg, rgba(17, 24, 20, 0.72), rgba(17, 24, 20, 0.86)),
    radial-gradient(circle at 18% 18%, #d05b36 0 10%, transparent 11%),
    radial-gradient(circle at 82% 16%, #e3a83b 0 9%, transparent 10%),
    radial-gradient(circle at 70% 72%, #315c79 0 12%, transparent 13%),
    var(--ink);
}

.admin-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 28px;
}

.admin-card {
  width: min(100%, 920px);
  padding: clamp(22px, 4vw, 40px);
  background: var(--paper);
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login {
  display: grid;
  gap: 18px;
  max-width: 620px;
  margin-top: 54px;
}

.admin-login h1 {
  margin-bottom: 0;
  font-size: clamp(4rem, 10vw, 7rem);
}

.admin-login p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
}

.admin-auth-message {
  min-height: 24px;
  margin: 0;
  color: var(--tomato);
  font-size: 0.95rem;
  font-weight: 750;
}

.admin-panel {
  margin-top: 42px;
}

.admin-panel-head,
.admin-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-panel-head {
  margin-bottom: 18px;
}

.admin-panel-head h2 {
  margin: 0;
}

.admin-toggle-row,
.admin-note {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-toggle-row p,
.admin-note p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.admin-note {
  margin-top: 14px;
}

.admin-note.compact {
  margin: 0;
  padding: 14px;
}

.admin-analytics {
  margin-top: 28px;
}

.admin-metric-grid,
.admin-insight-grid {
  display: grid;
  gap: 12px;
}

.admin-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.admin-insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-metric-grid article,
.admin-insight-grid article,
.admin-recommendations {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-metric-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-metric-grid strong {
  display: block;
  margin: 10px 0 6px;
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  line-height: 1;
}

.admin-metric-grid p {
  margin: 0;
  color: var(--muted);
}

.admin-insight-grid h3,
.admin-recommendations h3 {
  margin-bottom: 12px;
}

.admin-insight-grid ul,
.admin-recommendations ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-insight-grid li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.admin-insight-grid li strong {
  color: var(--ink);
}

.admin-recommendations {
  margin-top: 12px;
}

.admin-recommendations li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.admin-recommendations li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--tomato);
  border-radius: 50%;
}

.switch {
  position: relative;
  display: inline-flex;
  width: 62px;
  height: 36px;
  flex: 0 0 auto;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch span {
  width: 100%;
  height: 100%;
  background: #d8d1c5;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease;
}

.switch span::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 26px;
  height: 26px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 3px 12px rgba(17, 24, 20, 0.18);
  transition: transform 160ms ease;
}

.switch input:checked + span {
  background: var(--green);
}

.switch input:checked + span::after {
  transform: translateX(26px);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero,
  .demo-section,
  .contact-section,
  .conversion-band,
  .reservation-demo,
  .insights-demo,
  .insight-action-card {
    grid-template-columns: 1fr;
  }

  .conversion-actions {
    justify-content: flex-start;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-preview {
    margin: 0 auto;
  }

  .qr-panel {
    right: calc(50% + 88px);
    bottom: 34px;
  }

  .feature-grid,
  .seo-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-visual {
    min-height: auto;
  }

  .phone-preview {
    min-height: 540px;
    border-width: 8px;
  }

  .qr-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -40px auto 0;
  }

  .feature-grid,
  .seo-grid,
  .pricing-grid,
  .dish-stat,
  .form-grid,
  .workspace,
  .editor-row {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    padding: 16px;
  }

  .workspace-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .panel-tab {
    text-align: center;
    padding: 0 8px;
    font-size: 0.84rem;
  }

  .workspace-main {
    padding: 16px;
  }

  .panel-toolbar,
  .table-map-head,
  .site-footer,
  .admin-panel-head,
  .admin-toggle-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-metric-grid,
  .admin-insight-grid {
    grid-template-columns: 1fr;
  }

  .table-map {
    grid-template-areas:
      "t1 t2"
      "t3 t4"
      "bar bar"
      "terrace terrace"
      "t6 t5";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }

  .insight-card-head {
    flex-direction: column;
  }
}
