:root, html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c120e;
  --bg-2: #141c16;
  --panel: #1a241c;
  --ink: #f4efe4;
  --muted: #b7c0b4;
  --gold: #e3b341;
  --red: #c43c32;
  --green: #2f8a4b;
  --line: rgba(227, 179, 65, .22);
  --header-bg: rgba(12, 18, 14, .92);
  --hero-lead: #f7f1e4;
  --prose: #ebe6da;
  --input-bg: #0f1611;
  --flash-bg: #2a3d22;
  --cookie-bg: #182016;
  --radius: 18px;
  --font: "Figtree", "Segoe UI", sans-serif;
  --display: "Bebas Neue", Impact, sans-serif;
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f1e4;
  --bg-2: #fffaf1;
  --panel: #ffffff;
  --ink: #1c1a14;
  --muted: #5a5f56;
  --gold: #b57a12;
  --red: #c43c32;
  --green: #2f8a4b;
  --line: rgba(40, 32, 12, .16);
  --header-bg: rgba(246, 241, 228, .94);
  --hero-lead: #f7f1e4;
  --prose: #2a2a22;
  --input-bg: #fff;
  --flash-bg: #e8f3df;
  --cookie-bg: #fffaf1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold); filter: brightness(1.15); }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; padding: 10px 0; flex-wrap: wrap; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); letter-spacing: .04em; font-size: 1.35rem; }
.logo img { width: 52px; height: 52px; object-fit: contain; }
.nav { display: flex; gap: 8px 14px; flex: 1 1 420px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); filter: none; }
.header-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer; font-weight: 800; font-size: .8rem;
  text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; color: var(--ink); background: var(--panel);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 160px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; display: grid; gap: 2px; z-index: 50; box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.lang-menu a { display: flex; justify-content: space-between; gap: 10px; color: var(--ink); padding: 6px 8px; border-radius: 8px; font-weight: 700; }
.lang-menu a span { color: var(--muted); font-weight: 500; text-transform: none; }
.lang-menu a.is-active, .lang-menu a:hover { background: var(--bg-2); color: var(--gold); }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); cursor: pointer; font-size: 1.1rem;
}
.cart-link { color: var(--ink); font-weight: 700; white-space: nowrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, var(--red), #d9781a 45%, var(--gold));
  color: #140c08; font-weight: 800; border: 0; border-radius: 999px;
  padding: 10px 16px; cursor: pointer; letter-spacing: .02em;
  font-family: var(--font); white-space: nowrap;
}
.btn:hover { filter: brightness(1.05); color: #140c08; }
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid var(--line); }
.hero {
  position: relative; min-height: 78vh; display: grid; place-items: end;
  overflow: hidden; border-bottom: 4px solid var(--gold);
}
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,18,14,.15), rgba(12,18,14,.88) 70%);
}
.hero-copy { position: relative; z-index: 1; padding: 40px 0 56px; }
.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; }
.hero h1 { font-family: var(--display); font-size: clamp(3.2rem, 10vw, 7rem); line-height: .85; margin: 8px 0; color: #fff; }
.hero p.lead { font-size: 1.2rem; max-width: 36rem; color: var(--hero-lead); }
.stripes { height: 8px; background: linear-gradient(90deg, var(--red) 0 33%, var(--gold) 33% 66%, var(--green) 66%); }
section { padding: 64px 0; }
h2 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 16px; letter-spacing: .03em; }
.prose { max-width: 78ch; color: var(--prose); }
.prose h1 { font-family: var(--display); font-size: clamp(2.2rem, 6vw, 3.8rem); margin: 0 0 12px; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose h3 { font-family: var(--display); font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: .02em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.map-link { margin: 8px 0 24px; }
.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.card .pad, .pad { padding: 16px 18px; }
.masonry { columns: 3 220px; gap: 10px; }
.masonry a { break-inside: avoid; display: block; margin-bottom: 10px; }
.masonry img { border-radius: 12px; width: 100%; }
.video-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.video-thumb { position: relative; cursor: pointer; border-radius: 14px; overflow: hidden; }
.video-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.play { position: absolute; inset: auto 16px 16px auto; background: var(--gold); color: #111; border-radius: 999px; padding: 8px 12px; font-weight: 800; }
.partners { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.partners img { height: 42px; width: auto; object-fit: contain; }
html[data-theme="dark"] .partners img { filter: grayscale(1) brightness(1.4); }
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--muted); }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr 1fr; }
.flash { background: var(--flash-bg); border: 1px solid var(--green); padding: 10px 14px; border-radius: 10px; margin: 16px 0; }
.form { display: grid; gap: 10px; max-width: 560px; }
.form input:not([type=checkbox]):not([type=radio]), .form textarea, .form select {
  width: 100%; padding: 12px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--input-bg); color: var(--ink); font: inherit;
}
.form input[type=checkbox], .form input[type=radio] { width: auto; accent-color: var(--gold); }
.form label { display: flex; align-items: flex-start; gap: 8px; }
.price { font-weight: 800; color: var(--gold); font-size: 1.25rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.6rem; }
.map-embed { margin: 24px 0 8px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--panel); }
.map-embed iframe, .map-embed[data-map] { width: 100%; height: 360px; border: 0; display: block; }
.cookie-bar {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 60;
  background: var(--cookie-bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 220px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--bg-2); padding: 16px; flex-direction: column; align-items: flex-start; z-index: 30; }
  .nav.open { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 8px 12px; font-size: .85rem; }
  .lang-switch { flex: 0 0 auto; }
  .lang-menu {
    right: 0; left: auto;
    min-width: 180px; max-width: min(240px, calc(100vw - 24px));
  }
}
.legal-note { font-size: .85rem; color: var(--muted); }
.quote { font-family: Georgia, serif; font-style: italic; font-size: 1.4rem; }
.admin-body { background: var(--bg); }
.admin-nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); align-items: center; }
.admin-nav a { color: var(--ink); }
.admin-main { padding: 24px 16px 80px; width: min(1100px, 100%); margin: auto; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.tabs button, .lang-tab { background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.lang-panels textarea { min-height: 180px; width: 100%; }
.ai-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; margin: 8px 0; }
.ai-bar button {
  background: var(--panel); color: var(--ink); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 12px; cursor: pointer; font: inherit;
}
.notice { font-size: .9rem; color: var(--gold); }
