:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e1a16;
  background: #f6f0e8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(172, 113, 65, 0.22), transparent 32rem),
    linear-gradient(180deg, #fffaf3 0%, #f3eadf 100%);
}

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

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mainNav {
  display: flex;
  gap: 20px;
  color: #5f5044;
  font-weight: 600;
}

.mainNav a:hover {
  color: #1e1a16;
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  align-items: center;
  gap: 40px;
  min-height: 640px;
  padding: 42px 0 80px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #98643e;
  font-weight: 800;
  font-size: 13px;
}

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

h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.075em;
  margin-bottom: 26px;
  max-width: 900px;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}

h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.lead {
  max-width: 680px;
  color: #5f5044;
  font-size: 20px;
  line-height: 1.6;
}

.heroButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primaryButton,
.secondaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
}

.primaryButton {
  background: #1e1a16;
  color: #fffaf3;
  box-shadow: 0 16px 36px rgba(30, 26, 22, 0.2);
}

.secondaryButton {
  background: rgba(255, 255, 255, 0.7);
  color: #1e1a16;
  border: 1px solid rgba(30, 26, 22, 0.12);
}

.heroCard {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 26, 22, 0.1);
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(85, 60, 35, 0.18);
  backdrop-filter: blur(12px);
}

.heroCard h2 {
  font-size: 40px;
}

.heroCard p,
.card p,
.priceCard p,
.sectionIntro p,
.highlight p,
footer p {
  color: #67584c;
  line-height: 1.65;
}

.status {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e8f1dc;
  color: #3d622b;
  font-weight: 800;
  margin-bottom: 22px;
}

.miniFacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.miniFacts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f5ece1;
  font-weight: 700;
}

.section {
  padding: 82px 0;
}

.sectionIntro {
  max-width: 720px;
  margin-bottom: 34px;
}

.grid,
.priceGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card,
.priceCard {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(30, 26, 22, 0.1);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 14px 36px rgba(85, 60, 35, 0.08);
}

.iconBox {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #ead8c5;
  color: #7d4c2a;
  margin-bottom: 22px;
}

.pricesSection {
  border-top: 1px solid rgba(30, 26, 22, 0.08);
  border-bottom: 1px solid rgba(30, 26, 22, 0.08);
}

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

.price {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.06em;
  margin: 12px 0;
}

.highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: #efe0ce;
  padding: 42px;
  border-radius: 34px;
  margin: 82px 0;
}

.highlight div {
  max-width: 700px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 70px 0 38px;
  color: #1e1a16;
}

footer h2 {
  font-size: 30px;
}

.footerNote {
  align-self: end;
  color: #67584c;
  text-align: right;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .grid,
  .priceGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footerNote {
    text-align: left;
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 22px, 1120px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .mainNav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    padding-top: 28px;
  }

  .grid,
  .priceGrid {
    grid-template-columns: 1fr;
  }

  .heroCard,
  .card,
  .priceCard,
  .highlight {
    border-radius: 24px;
  }
}

.menuButton {
  display: none;
  border: 1px solid rgba(30, 26, 22, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: #1e1a16;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.featuredPrice {
  transform: translateY(-8px);
  border-color: rgba(152, 100, 62, 0.32);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0 56px;
  border-top: 1px solid rgba(30, 26, 22, 0.08);
}

.footerNote {
  color: #67584c;
  max-width: 360px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  main { width: min(100% - 24px, 760px); }
  .nav { position: relative; }
  .menuButton { display: inline-flex; align-items: center; justify-content: center; }
  .mainNav { position: absolute; top: 78px; right: 0; display: none; flex-direction: column; gap: 0; min-width: 220px; padding: 10px; border-radius: 22px; background: rgba(255, 250, 243, 0.96); border: 1px solid rgba(30, 26, 22, 0.12); box-shadow: 0 24px 70px rgba(85, 60, 35, 0.2); z-index: 10; }
  .mainNav.isOpen { display: flex; }
  .mainNav a { padding: 12px 14px; border-radius: 14px; }
  .mainNav a:hover { background: #f5ece1; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 40px 0 56px; }
  .grid, .priceGrid { grid-template-columns: 1fr 1fr; }
  .highlight, footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 580px) {
  .brand { font-size: 19px; }
  h1 { font-size: 46px; }
  .lead { font-size: 18px; }
  .grid, .priceGrid { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .highlight { padding: 28px; margin: 58px 0; }
  .featuredPrice { transform: none; }
}

.reservationSection {
  border-bottom: 1px solid rgba(30, 26, 22, 0.08);
}

.reservationForm {
  display: grid;
  gap: 18px;
  max-width: 860px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 26, 22, 0.1);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 14px 36px rgba(85, 60, 35, 0.08);
}

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

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: #2a241f;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(30, 26, 22, 0.16);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fffaf3;
  color: #1e1a16;
  font: inherit;
  font-weight: 600;
}

textarea {
  resize: vertical;
}

.notice {
  border-radius: 16px;
  padding: 14px 16px;
  background: #e8f1dc;
  color: #3d622b;
  font-weight: 800;
}

.notice.error {
  background: #f7dfdc;
  color: #7d2d24;
}

.adminShell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 70px;
}

.narrowShell {
  width: min(620px, calc(100% - 32px));
}

.adminHeader,
.reservationTop,
.rowActions,
.adminActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.adminHeader h1,
.adminCard h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.adminCard {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(30, 26, 22, 0.1);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 14px 36px rgba(85, 60, 35, 0.08);
}

.backLink {
  display: inline-flex;
  margin-bottom: 18px;
  color: #67584c;
  font-weight: 800;
}

.filterNav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}

.filterNav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 26, 22, 0.1);
  font-weight: 800;
}

.filterNav a.active {
  background: #1e1a16;
  color: #fffaf3;
}

.reservationList {
  display: grid;
  gap: 18px;
}

.reservationItem h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.statusBadge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  background: #f5ece1;
  white-space: nowrap;
}

.statusBadge.open { background: #fff2c7; color: #73540b; }
.statusBadge.confirmed { background: #e8f1dc; color: #3d622b; }
.statusBadge.cancelled { background: #f7dfdc; color: #7d2d24; }

.reservationMeta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.reservationMeta div {
  background: #f5ece1;
  border-radius: 18px;
  padding: 12px;
}

.reservationMeta dt {
  color: #67584c;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reservationMeta dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.messageBox {
  background: #fffaf3;
  border: 1px solid rgba(30, 26, 22, 0.1);
  border-radius: 18px;
  padding: 14px;
  color: #5f5044;
  line-height: 1.65;
}

.rowActions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.rowActions form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.smallButton {
  min-height: 42px;
  border: 0;
  cursor: pointer;
}

.dangerButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: #7d2d24;
  color: #fffaf3;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.smallText {
  color: #67584c;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .formGrid,
  .reservationMeta {
    grid-template-columns: 1fr;
  }

  .adminHeader,
  .reservationTop,
  .rowActions,
  .adminActions,
  .rowActions form {
    align-items: stretch;
    flex-direction: column;
  }
}
