/* Burgery Tatra — design system */
:root {
  --bg: #0b0b0c;
  --bg-soft: #141415;
  --panel: #1a1a1c;
  --ink: #f3f1ea;
  --ink-dim: #b7b3a9;
  --gold: #c9a24b;
  --gold-soft: #e3c87a;
  --red: #e23b3b;
  --line: #2c2b28;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "SF Mono", "Consolas", monospace;
  --measure: 68ch;
  --radius: 4px;
  --container: 1200px;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Icon sprite usage */
.icon { width: 1.3em; height: 1.3em; stroke: currentColor; fill: none; vertical-align: -0.2em; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,12,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-mark { width: 40px; height: 40px; }
.logo-word { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .04em; color: var(--ink); }
.logo-word strong { color: var(--gold-soft); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav a { font-size: .92rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-dim); position: relative; padding: .3rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--gold); transition: width .3s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.cart-link { display: flex; align-items: center; gap: .4rem; border: 1px solid var(--line); padding: .5rem .8rem; border-radius: var(--radius); }
.cart-badge { background: var(--red); color: #fff; font-size: .75rem; min-width: 1.4em; height: 1.4em; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.cart-badge.bump { animation: bump .4s ease; }
@keyframes bump { 0%,100%{transform:scale(1);} 40%{transform:scale(1.4);} }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); width: 44px; height: 44px; border-radius: var(--radius); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 0 auto; width: min(80vw, 320px); background: var(--bg-soft); border-left: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; gap: 1.4rem;
    transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-links { flex-direction: column; gap: 1.2rem; }
  .cart-link { margin-top: 1rem; }
}

/* ---------- BUTTONS ---------- */
.btn { --fill: 0%; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: var(--radius); font-size: .92rem; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--ink); background: transparent; cursor: pointer; overflow: hidden; min-height: 44px; }
.btn::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: var(--gold); transition: left .35s ease; z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { left: 0; }
.btn:hover, .btn:focus-visible { color: #15120a; }
.btn-primary { background: var(--gold); color: #15120a; border-color: var(--gold); }
.btn-primary::before { background: var(--red); }
.btn-primary:hover { color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink-dim); }
.btn-ghost::before { background: var(--line); }
.btn-ghost:hover { color: var(--ink); }
.btn-sm { padding: .55rem 1.1rem; font-size: .8rem; min-height: 38px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- MAIN / SECTIONS ---------- */
main { display: block; }
section { padding: clamp(3rem, 8vw, 7rem) 0; }
.section-title { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }
.section-title .tag { font-family: var(--mono); font-size: .8rem; color: var(--gold-soft); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero { padding: clamp(4.5rem, 10vw, 8rem) 0 3rem; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { color: var(--ink-dim); max-width: 60ch; font-size: 1.1rem; }

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: var(--ink-dim); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--ink-dim); }
.breadcrumbs a:hover { color: var(--gold-soft); }
.breadcrumbs span[aria-hidden] { color: var(--line); }

/* ---------- PROSE (legal pages) ---------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.prose p, .prose li { color: var(--ink-dim); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { color: var(--gold-soft); text-decoration: underline; text-decoration-color: var(--line); }
.legal-toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 2rem; background: var(--panel); }
.legal-toc p { margin: 0 0 .6em; font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-soft); }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 2rem; }
.legal-toc a { color: var(--ink-dim); }
.legal-toc a:hover { color: var(--ink); }

/* ---------- NOTICE ---------- */
.notice { border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--panel); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.5rem 0; color: var(--ink-dim); }
.notice-success { border-left-color: #4caf50; }
.notice-error { border-left-color: var(--red); }

/* ---------- FORMS ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.form-grid .field-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .85rem; letter-spacing: .03em; color: var(--ink-dim); }
.field input, .field select, .field textarea {
  background: var(--panel); border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius);
  padding: .75rem .9rem; font: inherit; accent-color: var(--gold); min-height: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field-error { color: var(--red); font-size: .8rem; min-height: 1.2em; }
.field-hp { position: absolute; left: -9999px; top: -9999px; }

/* ---------- FOOTER ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-soft); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-grid a { color: var(--ink-dim); font-size: .92rem; }
.footer-grid a:hover { color: var(--ink); }
.footer-newsletter .field { flex-direction: row; }
.footer-newsletter input { flex: 1; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--ink-dim); font-size: .82rem; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; z-index: 90;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.5); color: var(--ink); }
.cookie-banner p { font-size: .9rem; color: var(--ink-dim); margin-bottom: 1rem; }
.cookie-banner .row { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- TOAST ---------- */
.bt-toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 20px); opacity: 0;
  background: var(--gold); color: #15120a; padding: .8rem 1.4rem; border-radius: var(--radius); font-size: .9rem;
  transition: opacity .3s ease, transform .3s ease; z-index: 100; pointer-events: none; }
.bt-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 15% 0); transition: opacity .7s ease, transform .7s ease, clip-path .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
.reveal-1.in-view { transition-delay: .08s; }
.reveal-2.in-view { transition-delay: .16s; }
.reveal-3.in-view { transition-delay: .24s; }
.reveal-4.in-view { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; clip-path: none; transition: none; } }

/* ---------- GLOW CARD ---------- */
.glow-card { position: relative; isolation: isolate; }
.glow-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(240px circle at var(--mx,50%) var(--my,50%), rgba(201,162,75,.18), transparent 60%); pointer-events: none; z-index: 1; }
.glow-card:hover::before { opacity: 1; }

/* ---------- PRODUCT / SERVICE CARDS ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.6rem; }
.product-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s ease, border-color .35s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.product-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .thumb img { transform: scale(1.08); }
.product-card .body { padding: 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card .price { font-family: var(--serif); color: var(--gold-soft); font-size: 1.2rem; }
.product-card .meta { color: var(--ink-dim); font-size: .85rem; }
.product-card .actions { margin-top: auto; display: flex; gap: .6rem; }
.product-strip { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.product-strip .product-card { min-width: 240px; scroll-snap-align: start; }

/* ---------- PRODUCT DETAIL ---------- */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail .gallery { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.product-detail .gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-detail .price { font-family: var(--serif); font-size: 2rem; color: var(--gold-soft); }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty-stepper button { background: none; border: none; color: var(--ink); width: 44px; height: 44px; cursor: pointer; font-size: 1.1rem; }
.qty-stepper input { width: 3em; text-align: center; background: none; border: none; color: var(--ink); font: inherit; }

/* ---------- CART ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.cart-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim); }
.cart-table .cart-item-img { width: 64px; height: 64px; border-radius: var(--radius); object-fit: cover; }
.cart-summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: var(--panel); display: flex; flex-direction: column; gap: .8rem; }
.cart-summary .row { display: flex; justify-content: space-between; color: var(--ink-dim); }
.cart-summary .row.total { color: var(--ink); font-size: 1.2rem; font-family: var(--serif); border-top: 1px solid var(--line); padding-top: .8rem; }
.cart-empty { text-align: center; padding: 4rem 0; color: var(--ink-dim); }

/* ---------- CONTACT ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info ul { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-info li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-dim); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.faq-item summary { cursor: pointer; font-family: var(--serif); font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; transition: transform .3s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-dim); margin-top: .8rem; }

/* ---------- UTILITIES ---------- */
.mt-0{margin-top:0} .mt-1{margin-top:1rem} .mt-2{margin-top:2rem} .mb-0{margin-bottom:0} .mb-2{margin-bottom:2rem}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; } @media (max-width:700px){.grid-2{grid-template-columns:1fr;}}
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; } @media (max-width:860px){.grid-3{grid-template-columns:1fr 1fr;}} @media (max-width:560px){.grid-3{grid-template-columns:1fr;}}
.text-center { text-align: center; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .gap-1{gap:1rem;} .gap-2{gap:2rem;} .items-center{align-items:center;} .justify-between{justify-content:space-between;}

/* ---------- HOME: split hero ---------- */
.split-hero { position: relative; min-height: 92vh; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .split-hero { grid-template-columns: 1fr; min-height: auto; } }
.split-hero .pane { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 3rem clamp(1.5rem, 5vw, 5rem); }
.split-hero .pane-dark { background: var(--bg); z-index: 2; }
.split-hero .pane-red { background: linear-gradient(135deg, #3a0c0c, #1a0505); color: var(--ink); }
.split-hero .divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: linear-gradient(var(--gold), transparent); z-index: 3; transform: translateX(-1px); }
@media (max-width: 860px) { .split-hero .divider { display: none; } }
.split-hero h1 { margin-bottom: .6rem; }
.split-hero .lede { color: var(--ink-dim); max-width: 32ch; font-size: 1.05rem; }
.ticker { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .9rem 0; margin: 2rem 0; }
.ticker-track { display: inline-flex; gap: 2.5rem; animation: ticker 28s linear infinite; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--gold-soft); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.hero-svg { position: absolute; right: 0; bottom: 0; width: 55%; max-width: 480px; opacity: .9; pointer-events: none; }
@media (max-width: 860px) { .hero-svg { position: relative; width: 70%; margin: 1.5rem auto 0; } }

/* ---------- BUILDER (signature feature) ---------- */
.builder { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; }
@media (max-width: 800px) { .builder { grid-template-columns: 1fr; } }
.builder-group { margin-bottom: 1.6rem; }
.builder-group h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; color: var(--gold-soft); margin-bottom: .8rem; }
.builder-options { display: flex; flex-wrap: wrap; gap: .6rem; }
.builder-option { border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-size: .85rem; cursor: pointer; background: transparent; color: var(--ink-dim); min-height: 40px; }
.builder-option[aria-pressed="true"] { border-color: var(--gold); color: var(--ink); background: rgba(201,162,75,.12); }
.builder-preview { border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; min-height: 320px; position: sticky; top: 100px; }
.builder-price { font-family: var(--serif); font-size: 2.2rem; color: var(--gold-soft); }
.builder-name { font-family: var(--serif); font-size: 1.3rem; }
.builder-stack { display: flex; flex-direction: column; gap: 2px; width: 100%; max-width: 220px; }
.builder-stack span { height: 10px; border-radius: 3px; background: var(--line); transition: background .3s; }

/* ---------- SVG DECOR ---------- */
.ornament { display: block; width: 100%; height: auto; }
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .05; z-index: 1; mix-blend-mode: overlay; }
.duotone { filter: grayscale(1) contrast(1.1) sepia(.15); }

/* COMPONENTS: .class - what it is
.container - max-width centered page wrapper
.site-header - sticky translucent header bar
.logo / .logo-mark / .logo-word - site logo lockup
.nav / .nav-links / .nav-toggle - primary navigation + mobile toggle
.cart-link / .cart-badge - header cart icon with live count badge
.btn / .btn-primary / .btn-ghost / .btn-sm - button variants with fill-sweep hover
.page-hero - inner-page hero/title band
.breadcrumbs - small trail of links above page titles
.prose - readable long-form legal/text column
.legal-toc - table of contents box for legal pages
.notice / .notice-success / .notice-error - callout banner
.form-grid / .field / .field-error / .field-hp - form layout, field wrapper, error text, honeypot
.site-footer / .footer-grid / .footer-newsletter / .footer-bottom - site footer layout
.cookie-banner - fixed consent banner
.bt-toast - transient bottom toast message
.reveal / .reveal-1..4 / .in-view - scroll-reveal animation hooks with stagger
.glow-card - cursor-follow radial glow on hover
.product-grid / .product-card / .product-strip - catalog grid and horizontal mobile strip
.product-detail / .gallery / .qty-stepper - single product page layout
.cart-table / .cart-summary / .cart-empty - cart/checkout page
.contact-layout / .contact-info - contact page split layout
.faq-item - details/summary FAQ row
.split-hero / .pane / .divider / .ticker / .ticker-track / .hero-svg - home page split hero + name ticker
.builder / .builder-group / .builder-options / .builder-option / .builder-preview / .builder-price / .builder-stack - signature Burger Builder feature
.ornament - decorative inline SVG divider/pattern
.grain-overlay - fixed full-viewport SVG noise texture
.duotone - photo treatment filter
.grid-2 / .grid-3 / .text-center / .flex / .gap-1 / .gap-2 - layout utilities
*/
