:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #65726d;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #d9ded8;
  --pine: #214f3b;
  --pine-dark: #173729;
  --gold: #c99536;
  --error: #b5392f;
  --shadow: 0 18px 48px rgb(26 35 30 / 14%);
}

* {
  box-sizing: border-box;
}

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;
}

.booking-page {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  background-image: url("assets/bicigrill-rendena-hero-real.jpg");
  background-size: cover;
  background-position: 62% 68%;
  transform: scale(1.02);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgb(17 27 22 / 82%) 0%, rgb(17 27 22 / 54%) 42%, rgb(17 27 22 / 12%) 100%),
    linear-gradient(0deg, rgb(17 27 22 / 62%) 0%, rgb(17 27 22 / 0%) 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 64px;
  color: #fff;
}

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

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

h1 {
  max-width: 660px;
  font-size: clamp(3rem, 10vw, 6.8rem);
}

.hero__copy {
  max-width: 560px;
  margin: 22px 0 30px;
  font-size: 1.18rem;
  color: rgb(255 255 255 / 88%);
}

.hero__cta,
.submit-button,
.action-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  background: var(--gold);
  color: #1c160c;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.hero__cta:hover,
.submit-button:hover,
.action-button:hover {
  filter: brightness(0.96);
}

.booking {
  width: min(1120px, calc(100% - 32px));
  margin: -34px auto 80px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1.3fr);
  gap: 24px;
  align-items: start;
}

.booking__intro,
.booking-form,
.summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.booking__intro {
  padding: 28px;
}

.booking__intro h2,
.summary h2 {
  font-size: 2rem;
}

.booking__intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.booking-form,
.summary {
  padding: 28px;
}

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

.reservation-note {
  display: grid;
  gap: 4px;
  margin: 0 0 20px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 14px 16px;
  background: #f8f1e4;
}

.reservation-note strong {
  color: var(--pine-dark);
}

.reservation-note span {
  color: var(--muted);
  font-weight: 600;
}

.field {
  margin-bottom: 16px;
}

.fish-order {
  margin: 4px 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #f7f7f2;
}

.fish-order legend {
  padding: 0 8px;
  font-weight: 900;
}

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

.dish-row {
  display: grid;
  grid-template-columns: 1fr 136px;
  gap: 16px;
  align-items: end;
}

.dish-row + .dish-row {
  margin-top: 12px;
}

.dish-choice {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  min-height: 48px;
  margin: 0;
}

.dish-choice input {
  min-height: 20px;
  margin-top: 2px;
}

.dish-choice strong {
  display: block;
}

.dish-choice small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.dish-quantity {
  margin: 0;
}

.dish-quantity span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.menu-note {
  margin: 16px 0 0;
  border-radius: 8px;
  padding: 12px 14px;
  background: #eef4ed;
  color: var(--pine-dark);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
}

.menu-download {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  border: 1px solid rgb(33 79 59 / 18%);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}

.menu-download span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.menu-download a {
  color: var(--pine);
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

label span {
  color: var(--muted);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd2cb;
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--pine);
  outline: 3px solid rgb(33 79 59 / 16%);
}

.privacy-note {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.error {
  min-height: 20px;
  margin: 5px 0 0;
  color: var(--error);
  font-size: 0.88rem;
  font-weight: 700;
}

.submit-button {
  width: 100%;
  margin-top: 14px;
  background: var(--pine);
  color: #fff;
}

.summary {
  grid-column: 2;
  box-shadow: none;
}

.summary[hidden] {
  display: none;
}

.summary p {
  color: var(--muted);
}

.summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.action-button--whatsapp {
  background: #1f8f56;
  color: #fff;
}

.summary__hint {
  margin-bottom: 0;
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .hero {
    min-height: 72vh;
  }

  .hero__overlay {
    background:
      linear-gradient(0deg, rgb(17 27 22 / 84%) 0%, rgb(17 27 22 / 38%) 100%),
      linear-gradient(90deg, rgb(17 27 22 / 54%) 0%, rgb(17 27 22 / 0%) 100%);
  }

  .hero__content {
    padding: 88px 0 42px;
  }

  .hero__copy {
    font-size: 1.02rem;
  }

  .booking {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .summary {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .field-group {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dish-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .booking__intro,
  .booking-form,
  .summary {
    padding: 22px;
  }

  .booking__intro h2,
  .summary h2 {
    font-size: 1.65rem;
  }

  .summary__actions,
  .action-button {
    width: 100%;
  }
}
