@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cormorant+Garamond:wght@500;600;700&family=Marcellus&display=swap");

:root {
  --apolo-burgundy-900: #160d09;
  --apolo-burgundy-800: #251711;
  --apolo-burgundy-700: #8f1f49;
  --apolo-rose-700: #8f1f49;
  --apolo-rose-600: #bd2e61;
  --apolo-rose-500: #d94776;
  --apolo-rose-100: #ffd9e5;
  --apolo-wood-950: #160d09;
  --apolo-wood-900: #21130d;
  --apolo-wood-800: #321c13;
  --apolo-wood-700: #4a2b1d;
  --apolo-ivory-50: #fffaf1;
  --apolo-cream-100: #f7ead5;
  --apolo-cream-200: #ead4b5;
  --apolo-copper-500: #c78b55;
  --apolo-terracotta-600: #a76c3a;
  --apolo-sage-600: #7b8060;
  --apolo-ink-950: #251711;
  --apolo-ink-700: #6f5b4a;
  --apolo-border: rgba(247, 234, 213, 0.16);
  --apolo-card: rgba(255, 250, 241, 0.98);
  --apolo-card-strong: #fffaf1;
  --shadow-soft: 0 22px 60px rgba(12, 7, 5, 0.28);
  --shadow-warm: 0 16px 42px rgba(12, 7, 5, 0.2);
  --font-display: "Cinzel Decorative", Georgia, "Times New Roman", serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: "Marcellus", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  --radius: 8px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    repeating-linear-gradient(
      90deg,
      var(--apolo-wood-950) 0,
      var(--apolo-wood-950) 34px,
      var(--apolo-wood-900) 34px,
      var(--apolo-wood-900) 72px,
      var(--apolo-wood-800) 72px,
      var(--apolo-wood-800) 110px
    );
  background-size: 42px 42px, auto;
  color: var(--apolo-ivory-50);
  font-family: var(--font-ui);
  letter-spacing: 0;
}

body.is-kitchen {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    repeating-linear-gradient(
      90deg,
      var(--apolo-wood-950) 0,
      var(--apolo-wood-950) 34px,
      var(--apolo-wood-900) 34px,
      var(--apolo-wood-900) 72px,
      var(--apolo-wood-800) 72px,
      var(--apolo-wood-800) 110px
    );
  background-size: 42px 42px, auto;
}

body::before {
  content: "";
  position: fixed;
  z-index: 24;
  top: 0;
  right: 0;
  left: 0;
  height: 178px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(22, 13, 9, 0.98) 0%, rgba(22, 13, 9, 0.84) 34%, rgba(22, 13, 9, 0.46) 70%, rgba(22, 13, 9, 0) 100%);
  opacity: 0;
  transform: translateY(-22px);
  transition: opacity 260ms ease, transform 260ms ease;
}

body.has-top-fade::before {
  opacity: 1;
  transform: translateY(0);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

.button:disabled {
  opacity: 0.58;
  transform: none;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--apolo-rose-500);
  font-size: 0.78rem;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-weight: 400;
  text-align: center;
  box-shadow: 0 10px 24px rgba(12, 7, 5, 0.14);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(12, 7, 5, 0.24);
}

.button--light {
  color: var(--apolo-ivory-50);
  background: linear-gradient(135deg, var(--apolo-rose-600), var(--apolo-rose-700));
  border-color: rgba(247, 234, 213, 0.24);
  box-shadow: 0 14px 32px rgba(189, 46, 97, 0.28);
}

.button--gold {
  color: #fffaf4;
  background: linear-gradient(135deg, var(--apolo-rose-600), var(--apolo-rose-700));
  border-color: rgba(247, 234, 213, 0.24);
  box-shadow: 0 14px 32px rgba(189, 46, 97, 0.28);
}

.button--ghost {
  color: var(--apolo-ivory-50);
  background: rgba(22, 13, 9, 0.24);
  border-color: rgba(247, 234, 213, 0.3);
}

.button--light:hover,
.button--ghost:hover {
  background:
    linear-gradient(135deg, var(--apolo-rose-500), var(--apolo-rose-700));
  border-color: rgba(217, 71, 118, 0.52);
}

.button--gold:hover {
  background: linear-gradient(135deg, var(--apolo-rose-500), var(--apolo-rose-700));
}

.button--full {
  width: 100%;
}

.field input:focus,
.field textarea:focus,
.menu-tab:focus-visible,
.button:focus-visible,
.add-button:focus-visible,
.qty-button:focus-visible,
.payment-method:focus-visible,
.mobile-order-bar button:focus-visible {
  outline: 3px solid rgba(224, 87, 142, 0.46);
  outline-offset: 2px;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  padding-bottom: calc(84px + var(--safe-bottom));
  background:
    radial-gradient(circle at 14% 8%, rgba(217, 71, 118, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(22, 13, 9, 0) 0%, rgba(22, 13, 9, 0.28) 42%, rgba(22, 13, 9, 0.82) 100%);
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 8px;
  color: var(--apolo-ivory-50);
  background:
    linear-gradient(135deg, rgba(22, 13, 9, 0.93), rgba(50, 28, 19, 0.86)),
    rgba(22, 13, 9, 0.9);
  border: 1px solid var(--apolo-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(8, 3, 2, 0.24);
  transition: box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.topbar.is-scrolled {
  background:
    linear-gradient(135deg, rgba(22, 13, 9, 0.97), rgba(50, 28, 19, 0.9)),
    rgba(22, 13, 9, 0.94);
  border-color: rgba(247, 234, 213, 0.2);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #fff7ed;
  background: linear-gradient(145deg, var(--apolo-rose-600), var(--apolo-copper-500));
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(179, 38, 93, 0.36);
}

.brand__text {
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links,
.topbar__call {
  display: none;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  padding: 96px 18px 42px;
  overflow: hidden;
  color: var(--apolo-ivory-50);
  background: var(--apolo-wood-950);
}

.hero__image,
.final-cta__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image {
  object-position: 50% 52%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 24%, rgba(217, 71, 118, 0.24), transparent 34%),
    linear-gradient(90deg, rgba(22, 13, 9, 0.93) 0%, rgba(22, 13, 9, 0.78) 48%, rgba(22, 13, 9, 0.34) 100%),
    linear-gradient(0deg, rgba(22, 13, 9, 0.45), rgba(22, 13, 9, 0.04)),
    repeating-linear-gradient(90deg, rgba(255, 250, 241, 0.03) 0 1px, transparent 1px 86px);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
}

.hero .eyebrow,
.final-cta .eyebrow {
  color: var(--apolo-rose-100);
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: 3rem;
  line-height: 0.96;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 24px;
  color: rgba(255, 248, 236, 0.92);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.trust-strip span {
  padding: 8px 10px;
  color: rgba(255, 248, 236, 0.94);
  background: rgba(217, 71, 118, 0.16);
  border: 1px solid rgba(247, 234, 213, 0.18);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-family: var(--font-serif);
  font-weight: 700;
}

.session-banner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 18px;
  color: var(--apolo-ivory-50);
  background:
    linear-gradient(90deg, rgba(189, 46, 97, 0.32), rgba(22, 13, 9, 0.9)),
    rgba(22, 13, 9, 0.86);
  border-top: 1px solid rgba(247, 234, 213, 0.14);
  border-bottom: 1px solid rgba(217, 71, 118, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.06);
}

.session-banner strong,
.session-banner span {
  display: block;
}

.session-banner span {
  margin-top: 3px;
  color: rgba(255, 248, 236, 0.76);
  line-height: 1.45;
}

.session-banner__link {
  flex: 0 0 auto;
  color: var(--apolo-rose-100);
  font-family: var(--font-serif);
  font-weight: 700;
}

.section {
  padding: 72px 18px;
  position: relative;
}

.section__intro {
  max-width: 760px;
  margin: 0 auto 28px;
  position: relative;
}

.section__intro::before {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--apolo-rose-500), var(--apolo-copper-500));
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(217, 71, 118, 0.32);
}

.section__intro h2 {
  margin-bottom: 0;
  color: var(--apolo-ivory-50);
  font-size: 2.05rem;
  line-height: 1.08;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.28);
}

.section__intro p:last-child {
  margin-bottom: 0;
  color: rgba(255, 248, 236, 0.78);
  line-height: 1.65;
}

.section__intro--split {
  display: grid;
  gap: 18px;
}

.section--identity {
  background:
    linear-gradient(180deg, rgba(22, 13, 9, 0.62), rgba(22, 13, 9, 0.88)),
    repeating-linear-gradient(
      90deg,
      var(--apolo-wood-950) 0,
      var(--apolo-wood-950) 38px,
      var(--apolo-wood-800) 38px,
      var(--apolo-wood-800) 86px
    );
  border-top: 1px solid rgba(247, 234, 213, 0.12);
}

.identity-grid {
  display: grid;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.identity-grid p {
  margin: 0;
  padding: 22px;
  color: var(--apolo-ink-700);
  background: linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(247, 234, 213, 0.94));
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  line-height: 1.7;
}

.menu-section {
  background:
    radial-gradient(circle at 82% 14%, rgba(217, 71, 118, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(22, 13, 9, 0.74), rgba(22, 13, 9, 0.92)),
    repeating-linear-gradient(
      90deg,
      var(--apolo-wood-950) 0,
      var(--apolo-wood-950) 38px,
      var(--apolo-wood-800) 38px,
      var(--apolo-wood-800) 86px
    );
  scroll-margin-top: 82px;
}

.menu-controls {
  position: sticky;
  z-index: 18;
  top: 84px;
  display: flex;
  gap: 8px;
  width: calc(100% + 36px);
  margin: 0 -18px 22px;
  padding: 10px 18px;
  overflow-x: auto;
  background:
    linear-gradient(135deg, rgba(22, 13, 9, 0.9), rgba(50, 28, 19, 0.82)),
    rgba(22, 13, 9, 0.84);
  border-top: 1px solid rgba(247, 234, 213, 0.14);
  border-bottom: 1px solid rgba(247, 234, 213, 0.14);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
  box-shadow: 0 12px 28px rgba(8, 3, 2, 0.22);
}

.menu-controls::-webkit-scrollbar {
  display: none;
}

.menu-tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 14px;
  color: var(--apolo-ivory-50);
  background: rgba(255, 250, 241, 0.09);
  border: 1px solid rgba(247, 234, 213, 0.16);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-weight: 700;
}

.menu-tab.is-active {
  color: var(--apolo-ivory-50);
  background: var(--apolo-rose-600);
  border-color: rgba(247, 234, 213, 0.22);
  box-shadow: 0 10px 22px rgba(189, 46, 97, 0.26);
}

.menu-tab:hover {
  border-color: rgba(217, 71, 118, 0.46);
  background: rgba(217, 71, 118, 0.16);
}

.menu-layout {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.menu-list {
  display: grid;
  gap: 26px;
}

.menu-category {
  display: grid;
  gap: 14px;
}

.menu-category__header {
  display: flex;
  gap: 10px;
  align-items: end;
  justify-content: space-between;
  padding: 0 2px 4px;
  border-bottom: 1px solid rgba(247, 234, 213, 0.18);
}

.menu-category__header span {
  color: var(--apolo-rose-100);
  font-size: 0.78rem;
  font-family: var(--font-serif);
  font-weight: 700;
  text-transform: uppercase;
}

.menu-category__header h3 {
  margin-bottom: 0;
  color: var(--apolo-ivory-50);
  font-family: var(--font-display);
  font-size: 1.48rem;
  line-height: 1.05;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
}

.menu-category__items {
  display: grid;
  gap: 14px;
}

.menu-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 144px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(247, 234, 213, 0.94));
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-warm);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.menu-item:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 71, 118, 0.36);
  box-shadow: 0 22px 54px rgba(12, 7, 5, 0.28);
}

.menu-item::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--apolo-rose-500), var(--apolo-copper-500));
  border-radius: 0 999px 999px 0;
}

.menu-item__visual {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background-image:
    linear-gradient(180deg, rgba(22, 13, 9, 0.04), rgba(217, 71, 118, 0.16)),
    url("assets/teatro-apolo-hero.png");
  background-size: 480px auto;
  transition: transform 280ms ease, filter 280ms ease;
}

.menu-item:hover .menu-item__visual {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.03);
}

.menu-item[data-category="tapas"] .menu-item__visual {
  background-position: 42% 70%;
}

.menu-item[data-category="ensaladas"] .menu-item__visual {
  background-position: 84% 74%;
}

.menu-item[data-category="entrantes"] .menu-item__visual {
  background-position: 70% 58%;
}

.menu-item[data-category="pescados"] .menu-item__visual,
.menu-item[data-category="atun"] .menu-item__visual {
  background-position: 50% 80%;
}

.menu-item[data-category="arroces"] .menu-item__visual,
.menu-item[data-category="parrilla"] .menu-item__visual {
  background-position: 8% 48%;
}

.menu-item[data-category="postres"] .menu-item__visual {
  background-position: 82% 74%;
}

.menu-item__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.menu-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--apolo-rose-700);
  font-size: 0.78rem;
  font-family: var(--font-serif);
  font-weight: 700;
  text-transform: uppercase;
}

.menu-item h3 {
  margin-bottom: 0;
  color: var(--apolo-burgundy-800);
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.08;
}

.menu-item p {
  margin-bottom: 0;
  color: var(--apolo-ink-700);
  line-height: 1.5;
}

.menu-item__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.price {
  color: var(--apolo-rose-700);
  font-family: var(--font-serif);
  font-size: 1.16rem;
  font-weight: 700;
}

.add-button,
.qty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-weight: 400;
}

.add-button {
  padding: 0 14px;
  color: var(--apolo-ivory-50);
  background: linear-gradient(135deg, var(--apolo-rose-600), var(--apolo-rose-700));
  border: 1px solid rgba(247, 234, 213, 0.22);
  box-shadow: 0 10px 22px rgba(189, 46, 97, 0.24);
}

.add-button:disabled {
  color: var(--apolo-ink-700);
  background: var(--apolo-cream-100);
  border-color: var(--apolo-border);
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 38px 34px 38px;
  align-items: center;
  overflow: hidden;
  background: #fff7ed;
  border: 1px solid rgba(179, 38, 93, 0.22);
  border-radius: var(--radius);
}

.qty-control span {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 700;
}

.qty-button {
  width: 38px;
  border: 0;
  color: var(--apolo-rose-700);
  background: var(--apolo-rose-100);
}

.qty-button:disabled {
  color: rgba(96, 69, 60, 0.46);
  background: rgba(247, 234, 215, 0.58);
}

.order-card {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(247, 234, 213, 0.94));
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.order-card__header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.order-card h2 {
  margin-bottom: 0;
  color: var(--apolo-burgundy-800);
  font-size: 1.85rem;
  line-height: 1.08;
}

.table-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  color: var(--apolo-ivory-50);
  background: linear-gradient(135deg, var(--apolo-rose-600), var(--apolo-rose-700));
  border: 1px solid rgba(247, 234, 213, 0.24);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-family: var(--font-serif);
  font-weight: 700;
  white-space: nowrap;
}

.cart-lines {
  display: grid;
  gap: 10px;
}

.cart-empty {
  margin: 0;
  color: var(--apolo-ink-700);
  line-height: 1.5;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 248, 236, 0.82);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: var(--radius);
}

.cart-line strong,
.cart-line small {
  display: block;
}

.cart-line small {
  margin-top: 3px;
  color: var(--apolo-ink-700);
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--apolo-burgundy-800);
  font-family: var(--font-serif);
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px;
  color: var(--apolo-ink-950);
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid rgba(179, 38, 93, 0.2);
  border-radius: var(--radius);
}

.field textarea {
  resize: vertical;
}

.order-card__note {
  margin-bottom: 0;
  color: var(--apolo-ink-700);
  font-size: 0.9rem;
  line-height: 1.5;
}

.order-submit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.order-submit .button {
  min-width: 0;
}

.order-total {
  display: grid;
  align-content: center;
  min-width: 112px;
  padding: 8px 12px;
  color: var(--apolo-ivory-50);
  background: linear-gradient(145deg, var(--apolo-wood-800), var(--apolo-rose-700));
  border: 1px solid rgba(247, 234, 213, 0.2);
  border-radius: var(--radius);
  text-align: right;
}

.order-total span {
  color: rgba(255, 248, 236, 0.74);
  font-size: 0.76rem;
  font-family: var(--font-serif);
  font-weight: 700;
  text-transform: uppercase;
}

.order-total strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.how-section {
  background:
    linear-gradient(180deg, rgba(22, 13, 9, 0.78), rgba(22, 13, 9, 0.92)),
    repeating-linear-gradient(
      90deg,
      var(--apolo-wood-950) 0,
      var(--apolo-wood-950) 38px,
      var(--apolo-wood-800) 38px,
      var(--apolo-wood-800) 86px
    );
}

.steps {
  display: grid;
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
}

.steps article {
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: var(--radius);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.steps article {
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(247, 234, 213, 0.94));
  box-shadow: var(--shadow-warm);
}

.steps article:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 71, 118, 0.34);
  box-shadow: 0 22px 54px rgba(12, 7, 5, 0.26);
}

.steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--apolo-ivory-50);
  background: linear-gradient(135deg, var(--apolo-rose-600), var(--apolo-copper-500));
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 8px;
  color: var(--apolo-burgundy-800);
}

.steps p {
  margin-bottom: 0;
  color: var(--apolo-ink-700);
  line-height: 1.55;
}

.practical-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 71, 118, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(22, 13, 9, 0.74), rgba(22, 13, 9, 0.94)),
    repeating-linear-gradient(
      90deg,
      var(--apolo-wood-950) 0,
      var(--apolo-wood-950) 38px,
      var(--apolo-wood-800) 38px,
      var(--apolo-wood-800) 86px
    );
  scroll-margin-top: 82px;
}

.location-panel {
  display: grid;
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(247, 234, 213, 0.94));
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.location-details {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.location-details__header {
  display: grid;
  gap: 8px;
}

.location-details__header span,
.location-info span {
  color: var(--apolo-rose-700);
  font-size: 0.82rem;
  font-family: var(--font-serif);
  font-weight: 700;
  text-transform: uppercase;
}

.location-details__header h3 {
  margin-bottom: 0;
  color: var(--apolo-burgundy-800);
  font-family: var(--font-display);
  font-size: 1.74rem;
  line-height: 1.08;
}

.location-details__header p {
  margin-bottom: 0;
  color: var(--apolo-ink-700);
  line-height: 1.55;
}

.location-info {
  display: grid;
  gap: 10px;
}

.location-info article {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: rgba(255, 248, 236, 0.82);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: var(--radius);
}

.location-info strong {
  color: var(--apolo-burgundy-800);
  font-size: 1.04rem;
  line-height: 1.35;
}

.location-actions {
  display: grid;
  gap: 10px;
}

.location-actions .button {
  width: 100%;
}

.map-card {
  position: relative;
  min-height: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(22, 13, 9, 0.88), rgba(50, 28, 19, 0.82)),
    var(--apolo-wood-900);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.9) contrast(1.02) sepia(0.08);
}

@media (max-width: 520px) {
  html {
    scroll-padding-top: 76px;
  }

  .topbar {
    min-height: 54px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .brand__text {
    max-width: 52vw;
  }

  .hero {
    min-height: 82svh;
    padding: 92px 14px 32px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: 2.28rem;
    line-height: 1.04;
  }

  .hero__lead {
    font-size: 0.98rem;
  }

  .hero__actions .button {
    flex: 1 1 150px;
  }

  .trust-strip {
    gap: 6px;
  }

  .trust-strip span {
    padding: 7px 8px;
    font-size: 0.76rem;
  }

  .session-banner {
    display: grid;
    gap: 10px;
    padding: 14px;
  }

  .session-banner__link {
    justify-self: start;
  }

  .section {
    padding: 58px 14px;
  }

  .site-shell {
    padding-bottom: calc(96px + var(--safe-bottom));
  }

  .section__intro h2 {
    font-size: 1.74rem;
  }

  .identity-grid p,
  .steps article,
  .order-card {
    padding: 16px;
  }

  .menu-controls {
    top: 76px;
    width: calc(100% + 28px);
    margin-right: -14px;
    margin-left: -14px;
    padding: 9px 14px;
  }

  .menu-tab {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.92rem;
  }

  .menu-category__header {
    display: grid;
    gap: 4px;
    align-items: start;
  }

  .menu-category__header h3 {
    font-size: 1.3rem;
  }

  .menu-item {
    grid-template-columns: 86px 1fr;
    min-height: 132px;
  }

  .menu-item__body {
    gap: 10px;
    padding: 13px;
  }

  .menu-item__meta {
    font-size: 0.72rem;
  }

  .menu-item h3 {
    font-size: 1.18rem;
  }

  .menu-item p {
    font-size: 0.92rem;
  }

  .menu-item__footer {
    align-items: center;
  }

  .add-button {
    min-height: 36px;
    padding: 0 12px;
  }

  .qty-control {
    grid-template-columns: 36px 32px 36px;
  }

  .qty-button {
    width: 36px;
    min-height: 36px;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }

  .cart-line .qty-control {
    justify-self: start;
  }

  .order-submit {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 8px;
  }

  .order-submit .button {
    padding: 0 12px;
    font-size: 0.94rem;
  }

  .order-total {
    min-width: 104px;
    padding: 8px 10px;
  }

  .map-card {
    min-height: 300px;
  }

  .final-cta {
    min-height: 500px;
    padding: 64px 14px 94px;
  }

  .final-cta h2 {
    font-size: 1.82rem;
  }

  .mobile-order-bar {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero__actions .button {
    flex-basis: 100%;
  }

  .menu-item {
    grid-template-columns: 1fr;
  }

  .menu-item__visual {
    min-height: 116px;
  }

  .order-submit {
    grid-template-columns: 1fr;
  }

  .order-total {
    min-width: 0;
    text-align: left;
  }
}

.text-link {
  color: var(--apolo-rose-500);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.final-cta {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 72px 18px 92px;
  overflow: hidden;
  color: var(--apolo-ivory-50);
  background: var(--apolo-wood-950);
}

.final-cta__image {
  object-position: 50% 60%;
}

.final-cta__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(217, 71, 118, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(22, 13, 9, 0.1), rgba(22, 13, 9, 0.92)),
    linear-gradient(90deg, rgba(22, 13, 9, 0.9), rgba(217, 71, 118, 0.16), rgba(22, 13, 9, 0.36)),
    repeating-linear-gradient(90deg, rgba(255, 250, 241, 0.03) 0 1px, transparent 1px 90px);
}

.final-cta__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.final-cta h2 {
  margin-bottom: 22px;
  font-size: 2.28rem;
  line-height: 1.08;
}

.mobile-order-bar {
  position: fixed;
  z-index: 28;
  right: 12px;
  bottom: 12px;
  left: 12px;
}

.mobile-order-bar button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 10px 14px;
  color: var(--apolo-ivory-50);
  background: linear-gradient(135deg, var(--apolo-rose-600), var(--apolo-rose-700));
  border: 1px solid rgba(247, 234, 213, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(12, 7, 5, 0.4), 0 10px 24px rgba(189, 46, 97, 0.24);
}

.mobile-order-bar span,
.mobile-order-bar strong {
  display: block;
}

.mobile-order-bar span {
  font-weight: 700;
}

.mobile-order-bar strong {
  color: var(--apolo-rose-100);
  font-size: 0.9rem;
}

.confirm-dialog {
  width: min(92vw, 520px);
  padding: 0;
  color: var(--apolo-ink-950);
  background: linear-gradient(135deg, rgba(255, 250, 241, 0.99), rgba(247, 234, 213, 0.96));
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.confirm-dialog::backdrop {
  background: rgba(18, 8, 5, 0.72);
  backdrop-filter: blur(4px);
}

.confirm-dialog form {
  padding: 22px;
}

.confirm-dialog h2 {
  margin-bottom: 18px;
  color: var(--apolo-burgundy-800);
  font-size: 1.72rem;
  line-height: 1.08;
}

.confirm-dialog menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
}

.confirm-dialog menu .button {
  flex: 1 1 150px;
}

.confirm-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.confirm-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(179, 38, 93, 0.16);
}

.payment-dialog__text {
  margin-bottom: 16px;
  color: var(--apolo-ink-700);
  line-height: 1.5;
}

.payment-methods {
  display: grid;
  gap: 10px;
}

.payment-method {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 14px;
  color: var(--apolo-ink-950);
  background: rgba(255, 248, 236, 0.86);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: var(--radius);
  text-align: left;
}

.payment-method:hover {
  border-color: var(--apolo-rose-500);
  box-shadow: 0 12px 26px rgba(179, 38, 93, 0.16);
}

.payment-method strong {
  color: var(--apolo-burgundy-800);
  font-size: 1rem;
}

.payment-method span {
  color: var(--apolo-ink-700);
  line-height: 1.42;
}

.card-fields {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 224, 235, 0.22);
  border: 1px solid rgba(179, 38, 93, 0.18);
  border-radius: var(--radius);
}

.card-fields__row {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 10px;
}

.card-error {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--apolo-rose-700);
  font-weight: 700;
  line-height: 1.35;
}

.toast {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 88px;
  left: 18px;
  display: none;
  padding: 14px 16px;
  color: var(--apolo-ivory-50);
  background: linear-gradient(135deg, var(--apolo-rose-600), var(--apolo-rose-700));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.toast.is-visible {
  display: block;
}

.kitchen-view {
  min-height: 100vh;
  padding: 18px;
  color: var(--apolo-ivory-50);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    repeating-linear-gradient(
      90deg,
      var(--apolo-wood-950) 0,
      var(--apolo-wood-950) 34px,
      var(--apolo-wood-900) 34px,
      var(--apolo-wood-900) 72px,
      var(--apolo-wood-800) 72px,
      var(--apolo-wood-800) 110px
    );
  background-size: 42px 42px, auto;
}

.kitchen-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto 18px;
  padding: 18px 0;
}

.kitchen-header h1 {
  margin-bottom: 0;
  font-size: 2.05rem;
  line-height: 1.08;
}

.kitchen-main {
  display: grid;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.kitchen-meta,
.kitchen-order {
  background: rgba(255, 248, 236, 0.08);
  border: 1px solid rgba(255, 224, 235, 0.18);
  border-radius: var(--radius);
}

.kitchen-meta {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.kitchen-meta span {
  color: rgba(255, 248, 236, 0.72);
}

.kitchen-orders {
  display: grid;
  gap: 12px;
}

.kitchen-order {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.kitchen-order__top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.kitchen-order h2 {
  margin-bottom: 4px;
  color: var(--apolo-rose-100);
  font-size: 1.55rem;
  line-height: 1.05;
}

.kitchen-order time {
  color: rgba(255, 248, 236, 0.68);
}

.status {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  color: var(--apolo-ivory-50);
  background: linear-gradient(135deg, var(--apolo-rose-600), var(--apolo-rose-700));
  border-radius: var(--radius);
  font-weight: 900;
}

.kitchen-order ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kitchen-order li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 248, 236, 0.06);
  border-radius: var(--radius);
}

.kitchen-order__notes {
  margin: 0;
  color: rgba(255, 248, 236, 0.76);
  line-height: 1.5;
}

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

.kitchen-actions button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--apolo-ivory-50);
  background: rgba(224, 87, 142, 0.1);
  border: 1px solid rgba(255, 224, 235, 0.24);
  border-radius: var(--radius);
  font-weight: 700;
}

.kitchen-empty {
  margin: 0;
  padding: 22px;
  color: rgba(255, 248, 236, 0.76);
  background: rgba(255, 248, 236, 0.08);
  border: 1px solid rgba(255, 224, 235, 0.18);
  border-radius: var(--radius);
  line-height: 1.5;
}

@media (min-width: 720px) {
  .topbar {
    top: 18px;
    left: 22px;
    right: 22px;
    padding: 8px 10px;
  }

  .nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
  }

  .nav-links a,
  .topbar__call {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: var(--radius);
    font-weight: 700;
  }

  .nav-links a:hover,
  .topbar__call:hover {
    background: linear-gradient(135deg, rgba(217, 71, 118, 0.2), rgba(199, 139, 85, 0.1));
    border-color: rgba(217, 71, 118, 0.28);
  }

  .topbar__call {
    display: inline-flex;
    align-items: center;
  }

  .hero {
    min-height: 86svh;
    padding: 120px 42px 62px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: 4.85rem;
  }

  .hero__lead {
    font-size: 1.18rem;
  }

  .section {
    padding: 96px 42px;
  }

  .section__intro {
    margin-bottom: 38px;
  }

  .section__intro h2 {
    font-size: 2.78rem;
  }

  .section__intro--split {
    grid-template-columns: 1fr 0.65fr;
    align-items: end;
    max-width: 1120px;
  }

  .identity-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .location-panel {
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    align-items: stretch;
  }

  .location-details {
    align-content: center;
    padding: 28px;
  }

  .location-info {
    grid-template-columns: 1fr;
  }

  .menu-controls {
    top: 94px;
    width: auto;
    max-width: 1180px;
    margin: 0 auto 26px;
    padding: 10px;
    border: 1px solid rgba(247, 234, 213, 0.16);
    border-radius: var(--radius);
  }

  .menu-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
  }

  .menu-category__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-item {
    grid-template-columns: 128px 1fr;
    min-height: 184px;
  }

  .order-card {
    position: sticky;
    top: 174px;
  }

  .final-cta {
    min-height: 620px;
    padding: 96px 42px;
  }

  .final-cta h2 {
    font-size: 3.45rem;
  }

  .mobile-order-bar {
    display: none;
  }

  .site-shell {
    padding-bottom: 0;
  }

  .toast {
    right: 24px;
    bottom: 24px;
    left: auto;
    max-width: 420px;
  }

  .map-card {
    min-height: 430px;
  }
}

@media (min-width: 1080px) {
  .hero {
    padding-left: 72px;
    padding-right: 72px;
  }

  .hero__image {
    object-position: 50% 48%;
  }

  .hero h1 {
    font-size: 5.4rem;
  }

  .section {
    padding-left: 72px;
    padding-right: 72px;
  }
}

@media (max-width: 520px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-shell {
    padding-bottom: calc(96px + var(--safe-bottom));
  }

  .order-card {
    scroll-margin-top: 82px;
  }

  .order-card__header {
    align-items: center;
  }

  .order-card h2 {
    font-size: 1.72rem;
  }

  .confirm-dialog form {
    padding: 18px;
  }

  .confirm-dialog menu {
    display: grid;
    grid-template-columns: 1fr;
  }

  .confirm-dialog menu .button {
    width: 100%;
  }

  .card-fields__row {
    grid-template-columns: 1fr;
  }

  .confirm-list li {
    display: grid;
    gap: 6px;
  }

  .confirm-list li strong {
    justify-self: start;
  }

  .location-actions {
    gap: 8px;
  }

  .final-cta {
    min-height: 500px;
    padding: 64px 14px 94px;
  }

  .final-cta h2 {
    font-size: 2.1rem;
  }

  .mobile-order-bar {
    right: 10px;
    bottom: calc(10px + var(--safe-bottom));
    left: 10px;
  }

  .mobile-order-bar button {
    min-height: 60px;
  }
}

@media (max-width: 420px) {
  .order-submit {
    grid-template-columns: 1fr;
  }

  .order-total {
    min-width: 0;
    text-align: left;
  }
}

@media (max-width: 360px) {
  .order-submit {
    grid-template-columns: 1fr;
  }

  .order-total {
    min-width: 0;
    text-align: left;
  }
}

.ordering-disabled .order-ui {
  display: none !important;
}

.ordering-disabled .site-shell {
  padding-bottom: 0;
}

.ordering-disabled .menu-layout {
  grid-template-columns: 1fr;
}

.ordering-disabled .menu-list {
  width: 100%;
}

.ordering-disabled .menu-item__footer {
  justify-content: flex-start;
}

.surface-reveal-pending {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.surface-reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .surface-reveal-pending {
    opacity: 1;
    transform: none;
  }
}
