/* ============================================================================
   Nono Ban — table enquiry.

   Fine dining does not hand you a booking engine; it takes a request and
   answers it. The form follows that: underlined fields rather than boxes,
   labels set small and wide, one column of questions a host would actually
   ask — including the one this kitchen really needs, since the peka goes
   under the bell a day before it reaches the table.
   ========================================================================= */

.nbr {
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
  padding: 12px 0 110px;
}

.nbr__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: start;
}

/* ---- left column: the human part -------------------------------------- */

.nbr__eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--color-accent-700);
  text-transform: uppercase;
}
.nbr__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  margin: 16px 0 0;
  max-width: 16ch;
}
.nbr__lead {
  font-size: 16.5px;
  line-height: 1.65;
  margin: 20px 0 0;
  max-width: 44ch;
  color: color-mix(in srgb, #201e1d 70%, transparent);
  text-wrap: pretty;
}
.nbr__facts { margin: 30px 0 0; }
.nbr__fact {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--color-divider);
  font-size: 15px;
}
.nbr__fact b { font-weight: 700; font-variant-numeric: tabular-nums; }
.nbr__call {
  margin: 24px 0 0;
  font-size: 15px;
  color: color-mix(in srgb, #201e1d 70%, transparent);
}
.nbr__call a { color: var(--color-accent-700); font-weight: 700; text-decoration: none; }
.nbr__call a:hover { text-decoration: underline; }

/* ---- the card ---------------------------------------------------------- */

.nbr__card {
  background: var(--color-neutral-100);
  border-radius: 30px 26px 31px 27px;
  box-shadow: var(--shadow-md);
  padding: 34px 34px 30px;
}

.nbr__row { display: grid; gap: 22px; margin-bottom: 24px; }
.nbr__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nbr__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.nbr__label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  color: color-mix(in srgb, #201e1d 52%, transparent);
  margin-bottom: 9px;
}

/* underlined fields — a written request, not a database form */
.nbr__field {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--color-text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, #201e1d 26%, transparent);
  border-radius: 0;
  padding: 8px 2px 10px;
  appearance: none;
  transition: border-color .16s ease;
}
.nbr__field:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
  border-bottom-width: 1.6px;
  padding-bottom: 8.4px;
}
.nbr__field::placeholder { color: color-mix(in srgb, #201e1d 34%, transparent); }
select.nbr__field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23201e1d' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.6L6 6.4l5-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 12px 8px;
  padding-right: 22px;
  cursor: pointer;
}
textarea.nbr__field { resize: vertical; min-height: 46px; line-height: 1.55; }

.nbr__field.is-bad { border-bottom-color: #b0402a; border-bottom-width: 1.6px; }
.nbr__err {
  display: none;
  font-size: 12px; margin-top: 6px; color: #a03a24;
}
.nbr__err.show { display: block; }

/* ---- segmented service picker ------------------------------------------ */

.nbr__seg { display: flex; gap: 0; border: 1px solid var(--color-divider); border-radius: 999px; padding: 3px; }
.nbr__seg button {
  flex: 1 1 0; min-width: 0;
  border: 0; background: none; cursor: pointer;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  color: color-mix(in srgb, #201e1d 62%, transparent);
  padding: 9px 6px;
  border-radius: 999px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background .16s ease, color .16s ease;
}
.nbr__seg button[aria-pressed="true"] {
  background: var(--color-accent);
  color: var(--color-neutral-100);
}

/* ---- guest stepper ------------------------------------------------------ */

.nbr__step { display: flex; align-items: center; gap: 16px; padding-top: 2px; }
.nbr__step button {
  width: 36px; height: 36px; flex: none;
  border: 1px solid var(--color-divider); background: transparent;
  border-radius: 999px; cursor: pointer;
  font-size: 17px; line-height: 1; color: var(--color-text);
  transition: border-color .16s ease, background .16s ease;
}
.nbr__step button:hover:not(:disabled) { border-color: var(--color-accent); background: var(--color-accent-100); }
.nbr__step button:disabled { opacity: .35; cursor: default; }
.nbr__step output {
  font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums;
  min-width: 2.2ch; text-align: center;
}

/* ---- the bell notice ---------------------------------------------------- */

.nbr__note {
  display: none;
  gap: 11px;
  margin: -4px 0 24px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--color-accent-2) 12%, transparent);
  border-left: 2px solid var(--color-accent-2);
  border-radius: 4px 14px 14px 4px;
  font-size: 14px; line-height: 1.55;
  color: color-mix(in srgb, #201e1d 78%, transparent);
}
.nbr__note.show { display: flex; }
.nbr__note::before {
  content: "";
  width: 19px; height: 19px; flex: none; margin-top: 1px;
  background-color: var(--color-accent-2-700);
  -webkit-mask: var(--nbr-bell) center / contain no-repeat;
  mask: var(--nbr-bell) center / contain no-repeat;
}

/* ---- consent + submit ---------------------------------------------------- */

.nbr__policy {
  font-size: 13px; line-height: 1.6;
  color: color-mix(in srgb, #201e1d 55%, transparent);
  margin: 4px 0 22px;
}
.nbr__submit {
  width: 100%;
  border: 0; cursor: pointer;
  background: var(--color-accent); color: var(--color-neutral-100);
  font-family: var(--font-body); font-size: 15.5px; font-weight: 700;
  padding: 17px 24px; border-radius: 999px;
  transition: background .16s ease;
}
.nbr__submit:hover { background: var(--color-accent-600); }
.nbr__submit:disabled { opacity: .6; cursor: default; }

/* ---- confirmation -------------------------------------------------------- */

.nbr__done { display: none; text-align: left; }
.nbr__done.show { display: block; animation: nbrIn .34s ease both; }
@keyframes nbrIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.nbr__done h3 {
  font-family: var(--font-heading); font-size: 26px; margin: 6px 0 0; line-height: 1.15;
}
.nbr__done p { font-size: 15.5px; line-height: 1.6; margin: 14px 0 0; color: color-mix(in srgb, #201e1d 70%, transparent); }
.nbr__ticket {
  margin: 24px 0 0; padding: 20px 22px;
  background: color-mix(in srgb, var(--color-accent) 8%, transparent);
  border-radius: 20px 16px 21px 17px;
}
.nbr__ticket div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; font-size: 14.5px;
  border-bottom: 1px solid color-mix(in srgb, #201e1d 12%, transparent);
}
.nbr__ticket div:last-child { border-bottom: 0; }
.nbr__ticket b { font-weight: 700; text-align: right; }
.nbr__again {
  margin-top: 22px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 700;
  color: var(--color-accent-700); padding: 0; text-decoration: underline;
  text-underline-offset: 4px;
}

:root {
  --nbr-bell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17.5c0-5.2 3.6-9.4 8-9.4s8 4.2 8 9.4z'/%3E%3Cpath d='M2.6 17.5h18.8'/%3E%3Cpath d='M12 8.1V5.4'/%3E%3Ccircle cx='12' cy='4.1' r='1.4'/%3E%3C/svg%3E");
}

/* ---- narrow screens ------------------------------------------------------ */

@media (max-width: 900px) {
  .nbr__inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}
@media (max-width: 820px) {
  .nbr { width: min(1180px, 100% - 28px); padding-bottom: 40px; }
  .nbr__card { padding: 24px 20px 22px; border-radius: 24px 20px 25px 21px; }
  .nbr__row { gap: 18px; margin-bottom: 20px; }
  .nbr__row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nbr__row--3 > *:first-child { grid-column: 1 / -1; }
  .nbr__title { font-size: 27px !important; }
  .nbr__lead { font-size: 15.5px; }
  .nbr__seg button { font-size: 12.5px; padding: 13px 4px; }
  .nbr__field { font-size: 16px; }        /* keeps iOS from zooming on focus */
  .nbr__step button { width: 42px; height: 42px; }   /* thumb-sized */
  .nbr__step { gap: 18px; }
}
