:root {
  --black: #12110f;
  --ink: #241f1a;
  --muted: #6d6259;
  --white: #fffdf8;
  --paper: #fff7ea;
  --line: #eadfce;
  --green: #5aae2f;
  --orange: #ff6b00;
  --bissap: #781225;
  --lemon: #f4cd41;
  --shadow: 0 18px 46px rgba(35, 24, 14, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 74px;
  padding: 12px 5vw;
  border-bottom: 1px solid rgba(234, 223, 206, 0.8);
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(14px);
}

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

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--black);
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.brand small,
.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--orange);
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary,
.header-cta {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.26);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--black);
}

.hero {
  min-height: 74svh;
  display: grid;
  align-items: center;
  padding: 78px 5vw;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.86), rgba(18, 17, 15, 0.46), rgba(18, 17, 15, 0.16)),
    url("assets/hero-table.png") center / cover no-repeat;
}

.hero-content {
  width: min(760px, 100%);
}

.section-kicker {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .section-kicker {
  color: var(--lemon);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-size: 3.55rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p:not(.section-kicker) {
  width: min(650px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.14rem;
  line-height: 1.65;
}

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

.section {
  padding: 84px 5vw;
}

.order-section {
  background: var(--paper);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading h2 {
  color: var(--ink);
  font-size: 2.35rem;
  line-height: 1.08;
}

.section-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.order-layout,
.event-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: start;
}

.product-panel,
.event-gallery {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.chap-products {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 390px;
  padding: 24px;
  overflow: hidden;
}

.chap-products img {
  width: auto;
  height: 300px;
  max-width: 34%;
  object-fit: contain;
  margin-left: -7%;
  transform: scale(1.16);
}

.chap-products img:first-child {
  margin-left: 0;
}

.price-box {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-top: 1px solid var(--line);
  background: #fffdf9;
}

.price-box span,
.price-box small {
  color: var(--muted);
}

.price-box strong {
  color: var(--ink);
}

.form-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group.wide,
.wide {
  grid-column: 1 / -1;
}

label {
  font-size: 0.88rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8cdbd;
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.14);
}

.total-panel {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  background: var(--black);
  color: #fff;
}

.total-panel span,
.total-panel small {
  color: rgba(255, 255, 255, 0.75);
}

.total-panel strong {
  font-size: 1.24rem;
}

.total-panel.mix {
  background: var(--bissap);
}

.event-section {
  background: var(--white);
}

.event-gallery {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: var(--black);
}

.event-gallery img {
  width: 100%;
  height: 255px;
  border-radius: 8px;
  object-fit: cover;
}

.field-message {
  min-height: 18px;
  color: var(--bissap);
  font-size: 0.8rem;
  font-weight: 750;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 22px;
  align-items: center;
  padding: 28px 5vw;
  background: var(--black);
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-phone {
  color: var(--lemon);
  font-weight: 850;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 5vw;
    right: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px;
  }

  .order-layout,
  .event-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    gap: 10px;
    padding: 10px 4vw;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 76svh;
    padding: 58px 5vw;
    background-position: center;
  }

  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.03;
  }

  .hero p:not(.section-kicker) {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section {
    padding: 58px 5vw;
  }

  .section-heading h2 {
    font-size: 1.82rem;
  }

  .chap-products {
    height: 270px;
    padding: 16px;
  }

  .chap-products img {
    height: 220px;
    max-width: 35%;
  }

  .form-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .event-gallery {
    grid-template-columns: 1fr;
  }

  .event-gallery img {
    height: 250px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
