:root {
  --ink: #1d2520;
  --muted: #617068;
  --paper: #fbfbf7;
  --line: #dde4db;
  --leaf: #2f7d4f;
  --leaf-dark: #235f3c;
  --tomato: #b7472a;
  --gold: #d99f35;
  --blue: #2f657d;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(29, 37, 32, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

input {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #17231b;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__shade {
  background: linear-gradient(90deg, rgba(15, 24, 18, 0.82), rgba(15, 24, 18, 0.44), rgba(15, 24, 18, 0.12));
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--white);
}

.topbar__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 6vw, 84px) clamp(48px, 10vh, 96px);
  color: var(--white);
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  font-size: 4.15rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.35rem);
}

h3 {
  margin-top: 26px;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.hero__content p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.button--primary {
  background: var(--leaf);
  color: var(--white);
}

.button--primary:hover {
  background: var(--leaf-dark);
}

.button--secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.button--prize {
  color: #2f2412;
  border-color: rgba(217, 159, 53, 0.9);
  background: var(--gold);
}

.button.is-disabled {
  pointer-events: none;
  opacity: 0.58;
}

.band {
  padding: clamp(48px, 8vw, 86px) clamp(18px, 4vw, 56px);
}

.band--summary {
  padding-block: 0;
  background: var(--white);
}

.band--numbers {
  background: #eef4ed;
}

.band--rules {
  background: #183027;
  color: var(--white);
}

.content {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.summary {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-36px);
  overflow: hidden;
}

.summary div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.summary div:last-child {
  border-right: 0;
}

.summary span,
.payment-box span,
.selected-box span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.payment-box .holder-label {
  margin-top: 16px;
}

.summary strong,
.payment-box strong,
.selected-box strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.28rem, 3vw, 1.9rem);
}

.summary p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.28;
}

.selected-box small {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 850;
}

.payment-box .holder-name {
  color: var(--blue);
  font-size: clamp(1.08rem, 2.4vw, 1.45rem);
}

.steps {
  margin: 0;
  padding-left: 22px;
  font-size: 1.12rem;
}

.steps li + li {
  margin-top: 12px;
}

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

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  font-weight: 850;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.58);
}

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

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

.dot--confirmed {
  background: var(--tomato);
}

.note {
  max-width: 740px;
  margin: 18px 0 26px;
  color: var(--muted);
  font-weight: 700;
}

.section-intro {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.number-button {
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 1px solid rgba(20, 75, 43, 0.5);
  border-radius: 8px;
  background: var(--leaf);
  color: var(--white);
  font-size: clamp(0.92rem, 2vw, 1.2rem);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(47, 125, 79, 0.14);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.number-button:hover,
.number-button:focus-visible {
  outline: 3px solid rgba(47, 125, 79, 0.24);
  border-color: var(--leaf-dark);
  background: var(--leaf-dark);
  transform: translateY(-1px);
}

.number-button.is-selected {
  color: #2f2412;
  background: #ffe4a8;
  border-color: #b77c16;
  box-shadow: inset 0 0 0 3px #b77c16, 0 12px 24px rgba(183, 124, 22, 0.2);
}

.number-button.is-reserved {
  color: #2f2412;
  background: #ffe4a8;
  border-color: #e2b35a;
}

.number-button.is-confirmed {
  color: var(--white);
  background: var(--tomato);
  border-color: var(--tomato);
  box-shadow: none;
  cursor: not-allowed;
}

.number-button:disabled {
  opacity: 0.95;
  cursor: not-allowed;
}

.selected-box {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.reservation-form {
  max-width: 760px;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.reservation-form label {
  display: grid;
  gap: 6px;
}

.reservation-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fdfefb;
}

.reservation-form input:focus {
  outline: 3px solid rgba(47, 125, 79, 0.18);
  border-color: var(--leaf);
}

.form-hint {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.reservation-form.is-ready {
  border-color: rgba(47, 125, 79, 0.38);
}

.reservation-form.is-ready .form-hint {
  color: var(--leaf-dark);
}

.payment-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.payment-box p {
  margin: 14px 0 0;
  color: var(--muted);
}

.rules-list {
  margin-top: 24px;
  columns: 2;
  column-gap: 34px;
}

.rules-list p {
  break-inside: avoid;
  margin: 0 0 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.delivery-rule {
  margin-top: 30px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(217, 159, 53, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 36px rgba(7, 16, 11, 0.16);
}

.delivery-rule__label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.delivery-rule p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.55;
}

.delivery-rule p + p {
  margin-top: 12px;
}

.menu-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.menu-grid article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-grid strong {
  color: var(--blue);
  font-size: 1.35rem;
}

.contact-band {
  padding: 0 clamp(18px, 4vw, 56px) clamp(48px, 8vw, 86px);
  background: var(--paper);
}

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: clamp(1.7rem, 4vw, 2.45rem);
}

.whatsapp-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--leaf);
  text-decoration: none;
  font-weight: 850;
}

.whatsapp-contact:hover {
  background: var(--leaf-dark);
}

.whatsapp-contact svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  fill: currentColor;
}

.whatsapp-contact strong,
.whatsapp-contact small {
  display: block;
}

.whatsapp-contact small {
  margin-top: 2px;
  opacity: 0.86;
  font-weight: 750;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: #17231b;
}

@media (max-width: 820px) {
  .hero {
    display: block;
    min-height: auto;
    background: #17231b;
  }

  .hero__image {
    position: relative;
    display: block;
    height: clamp(220px, 36vh, 340px);
    object-position: center 32%;
  }

  .hero__shade {
    display: none;
    height: clamp(220px, 36vh, 340px);
    bottom: auto;
    background: linear-gradient(180deg, rgba(15, 24, 18, 0.18), rgba(15, 24, 18, 0.72));
  }

  .topbar {
    position: relative;
    align-items: center;
    padding: 14px 18px 0;
    background: #17231b;
  }

  .topbar strong {
    max-width: none;
    line-height: 1.1;
  }

  .topbar__links {
    max-width: none;
    gap: 8px;
  }

  .topbar a {
    padding: 8px 11px;
    font-size: 0.88rem;
    line-height: 1.1;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero__content {
    width: 100%;
    margin: 0;
    padding: 18px 18px 38px;
    background: #17231b;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 0.72rem;
  }

  h1 {
    max-width: 14ch;
    font-size: 2.55rem;
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.6rem);
  }

  .hero__content p:not(.eyebrow) {
    max-width: none;
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero__actions {
    gap: 10px;
    margin-top: 20px;
  }

  .hero__actions .button {
    flex: 1 1 calc(50% - 5px);
    min-height: 46px;
    padding: 12px 14px;
  }

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

  .band {
    padding: 44px 18px;
  }

  .band--summary {
    padding: 18px;
  }

  .summary {
    width: 100%;
    transform: none;
  }

  .summary div {
    padding: 18px;
  }

  .summary,
  .split,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .summary div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summary div:last-child {
    border-bottom: 0;
  }

  .section-head,
  .selected-box,
  .contact-card,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .section-head {
    gap: 16px;
  }

  .legend {
    gap: 8px;
  }

  .legend span {
    flex: 1 1 130px;
    min-height: 38px;
  }

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

  .selected-box .button,
  .whatsapp-contact {
    width: 100%;
  }

  .selected-box,
  .reservation-form {
    grid-template-columns: 1fr;
  }

  .rules-list {
    columns: 1;
  }
}

@media (max-width: 420px) {
  .hero__actions .button,
  .selected-box .button {
    width: 100%;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .topbar__links {
    display: grid;
    max-width: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .topbar a {
    justify-content: center;
    padding: 7px 9px;
    font-size: 0.82rem;
    text-align: center;
  }

  .hero__content {
    padding-inline: 16px;
  }

  h1 {
    max-width: 14ch;
    font-size: 2.2rem;
  }

  .hero__content p:not(.eyebrow) {
    font-size: 0.96rem;
  }

  .summary strong,
  .payment-box strong,
  .selected-box strong {
    font-size: 1.35rem;
  }

  .number-grid {
    gap: 6px;
  }

  .number-button {
    font-size: 1rem;
  }

  .menu-grid article {
    grid-template-columns: 44px 1fr;
    padding: 14px;
  }
}
