:root {
  --ink: #172033;
  --ink-soft: #2B3650;
  --muted: #5B6576;
  --paper: #FFFFFF;
  --mist: #F1F4F8;
  --line: #DCE2EA;
  --sun: #FFC53D;
  --sun-deep: #F2A900;
  --ok: #1F7A52;
  --err: #B42318;
  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.1; margin: 0; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 12px; padding: 12px 22px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--sun); color: var(--ink); }
.btn-primary:hover { background: var(--sun-deep); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 9px 16px; font-size: 15px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 20px; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--sun); top: 5px; right: 5px; }
.main-nav { display: flex; gap: 22px; margin-right: auto; }
.main-nav a { text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.main-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.lang button { border: 0; background: none; padding: 5px 9px; border-radius: 7px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Hero */
.hero { padding: 64px 0 56px; background: var(--mist); }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -0.025em; max-width: 17ch; }
.hero-text { margin-top: 20px; font-size: 19px; color: var(--ink-soft); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Delivery track: the signature element */
.track { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.track::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 18px); }
.track li { position: relative; padding-right: 20px; display: flex; flex-direction: column; gap: 4px; }
.track .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; position: relative; }
.track strong { font-family: var(--head); font-size: 19px; font-weight: 700; }
.track li span:not(.dot) { color: var(--muted); font-size: 15px; max-width: 26ch; }
.track .arrive .dot { background: var(--sun); border-color: var(--sun); }
.track .arrive strong { font-size: 22px; }

/* Shop */
.shop { padding: 72px 0 80px; }
.shop-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.search { position: relative; flex: 0 1 320px; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; padding: 11px 14px 11px 42px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); }
.search input:focus { border-color: var(--ink); outline: none; }

.cats { display: flex; gap: 10px; margin-top: 28px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.cat { flex: none; display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 600; font-size: 15px; white-space: nowrap; }
.cat svg { width: 20px; height: 20px; }
.cat .count { font-weight: 500; color: var(--muted); font-size: 13px; }
.cat:hover { border-color: var(--ink); }
.cat[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat[aria-pressed="true"] .count { color: #C9D1DE; }
.cat[aria-pressed="true"] svg { stroke: #fff; }
.cat-desc { margin-top: 14px; color: var(--muted); min-height: 1.55em; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 22px; margin-top: 22px; }
.card { display: flex; flex-direction: column; }
.card-media { aspect-ratio: 4 / 3; border-radius: 16px; background: var(--mist); display: grid; place-items: center; overflow: hidden; border: 0; padding: 0; cursor: pointer; width: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media:hover .ph svg { transform: scale(1.06); }
.ph { display: grid; place-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.ph svg { width: 64px; height: 64px; transition: transform .2s; }
.card-body { padding: 14px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card-title { font-family: var(--head); font-size: 19px; font-weight: 700; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; line-height: 1.2; }
.card-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-text { color: var(--muted); font-size: 15px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; }
.price.soon { font-weight: 500; color: var(--muted); font-size: 14px; }
.eta { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; background: #FFF4D6; color: #6B4B00; padding: 3px 9px; border-radius: 6px; align-self: flex-start; }

.icon { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.empty { margin-top: 32px; padding: 32px; border: 1.5px dashed var(--line); border-radius: 16px; text-align: center; display: grid; gap: 16px; justify-items: center; }

/* Business */
.business { background: var(--ink); color: #fff; padding: 80px 0; }
.business-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.business-intro p { margin: 16px 0 26px; color: #C9D1DE; max-width: 42ch; }
.packages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.packages li { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.16); }
.packages li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.packages h3 { font-size: 21px; font-weight: 700; }
.packages p { color: #C9D1DE; margin-top: 6px; font-size: 16px; }
.packages .inc { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.packages .inc span { font-size: 13px; padding: 3px 9px; border-radius: 6px; background: rgba(255,255,255,.1); }

/* FAQ */
.faq { padding: 80px 0; }
.faq h2 { margin-bottom: 24px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; font-size: 18px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 62ch; }

/* Request */
.request { background: var(--mist); padding: 80px 0; }
.request-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.request-intro p { margin-top: 14px; color: var(--ink-soft); max-width: 40ch; }
.direct { margin-top: 32px; display: grid; gap: 6px; justify-items: start; }
.direct p { color: var(--muted); font-size: 15px; margin: 0; }
.direct a { font-weight: 600; }

.form { background: var(--paper); border-radius: 20px; padding: 30px; border: 1px solid var(--line); }
#formFields { display: grid; gap: 18px; }
.row { display: grid; gap: 16px; }
.row.two { grid-template-columns: 1fr 110px; }
.row.two-even { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); font-weight: 400; font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field [aria-invalid="true"] { border-color: var(--err); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; background: #FFF4D6; padding: 12px 14px; border-radius: 10px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check.invalid { outline: 2px solid var(--err); }
.honey { position: absolute; left: -9999px; }
.form-error { color: var(--err); font-size: 15px; font-weight: 500; }
.sent { text-align: center; padding: 30px 10px; display: grid; gap: 14px; justify-items: center; }
.sent h3 { font-size: 26px; color: var(--ok); }
.sent p { color: var(--ink-soft); max-width: 40ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: 15px; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* Product dialog */
.dialog { border: 0; padding: 0; border-radius: 20px; width: min(860px, calc(100% - 24px)); max-height: calc(100% - 24px); color: var(--ink); }
.dialog::backdrop { background: rgba(23,32,51,.55); }
.dialog[open] { animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dialog-inner { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.d-media { background: var(--mist); display: grid; place-items: center; min-height: 320px; }
.d-media img { width: 100%; height: 100%; object-fit: cover; }
.d-media .ph svg { width: 110px; height: 110px; }
.d-body { padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 12px; }
.d-cats { font-size: 14px; color: var(--muted); font-weight: 600; }
.d-body h3 { font-size: 28px; font-weight: 800; padding-right: 30px; }
.d-body h4 { font-family: var(--body); font-size: 15px; font-weight: 700; margin-top: 6px; }
.d-body ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.d-price { font-size: 20px; font-weight: 700; margin-top: 6px; }
.d-price.soon { font-size: 16px; font-weight: 500; color: var(--muted); }
.d-note { font-size: 14px; background: #FFF4D6; color: #6B4B00; padding: 10px 12px; border-radius: 10px; }
.close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); z-index: 2; }
.close svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .business-grid, .request-grid { grid-template-columns: 1fr; gap: 32px; }
  .track { grid-template-columns: 1fr; gap: 22px; }
  .track::before { top: 20px; bottom: 60px; left: 19px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 10px, transparent 10px 18px); }
  .track li { padding: 0 0 0 58px; }
  .track .dot { position: absolute; left: 0; top: 0; margin: 0; }
  .track li span:not(.dot) { max-width: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-row { gap: 10px; }
  .brand { font-size: 17px; }
  .header-actions .btn { display: none; }
  .search { flex: 1 1 100%; }
  .eta { font-size: 12px; }
  .hero { padding: 44px 0 44px; }
  .row.two-even { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .dialog-inner { grid-template-columns: 1fr; }
  .d-media { min-height: 200px; }
  .d-body { padding: 24px 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .card-title { font-size: 16px; }
  .card-text { display: none; }
  .ph svg { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
