:root {
  --bg: #18150f;
  --bg-2: #1f1b15;
  --paper: #2a251c;
  --ink: #f3ead7;
  --muted: #b4a78c;
  --gold: #e8b84a;
  --gold-dark: #c4922a;
  --line: rgba(243, 234, 215, 0.12);
  --wa: #3dba6b;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image: url("../img/honeycomb.svg");
  background-size: 76px 66px;
  line-height: 1.55;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: #f3d27a; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.serif, .serif-line, h1.serif, h2.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -0.03em; }
.italic { font-style: italic; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(31, 27, 21, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(232, 184, 74, 0.25)); }
.brand strong { display: block; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 8px; }
.menu a { color: var(--ink); text-decoration: none; padding: 8px 10px; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.menu a:hover { color: var(--gold); }
.menu-mobile { display: none; }
.menu-label { display: none; }
.nav-toggle { display: none; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
body.nav-open .nav-toggle-bars { background: transparent; }
body.nav-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.hero { position: relative; padding: 56px 0 20px; overflow: hidden; }
.honeycomb {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(232, 184, 74, 0.14), transparent 36%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.eyebrow, .kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 16px;
}
.serif-line, .hero-title { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 0 0 16px; max-width: 16ch; }
.lead { color: var(--muted); max-width: 46ch; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
}
.stats div {
  margin: 0;
  padding: 16px 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.stats dt { font-family: "Instrument Serif", serif; font-size: 36px; }
.stats dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.stack-shots {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.shot {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}
.shot img { width: 100%; height: 280px; object-fit: cover; filter: saturate(0.85) contrast(1.05); }
.shot span { display: block; padding: 10px 12px; font-size: 13px; }
.shot-1 { transform: translateY(18px); }
.shot-2 { transform: translateY(36px); }
.shot:hover { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}
.btn:hover { color: var(--bg); }
.btn-gold { background: var(--gold); color: #1a1408; }
.btn-gold:hover { background: #f3d27a; color: #1a1408; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-wa { background: var(--wa); color: #04150a; }
.btn-lg { padding: 14px 22px; }

.section { padding: 56px 0 12px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.section-head h2, h2.serif { font-size: clamp(32px, 5vw, 48px); margin: 0; }
.text-link { letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; font-weight: 700; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(232, 184, 74, 0.45); }
.card a { color: inherit; text-decoration: none; display: block; }
.card h3 { font-size: 16px; margin: 0; min-height: 2.5em; }
.card-body { padding: 14px; }
.card-photo, .photo-empty { aspect-ratio: 1; background: #3a3328; overflow: hidden; position: relative; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-empty { display: grid; place-items: center; color: var(--muted); }
.photo-empty.big { min-height: 360px; }
.price { margin: 10px 0 0; display: flex; gap: 8px; align-items: baseline; }
.price s { color: var(--muted); font-size: 13px; }
.price strong { color: var(--gold); font-size: 18px; }
.price.xl { margin: 8px 0 18px; }
.price.xl strong { font-size: 36px; font-family: "Instrument Serif", serif; font-weight: 400; }
.sale-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--gold); color: #1a1408;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  padding: 4px 8px; text-transform: uppercase;
}

.craft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.craft {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.craft:hover { border-color: rgba(232, 184, 74, 0.5); color: var(--ink); }
.craft .idx { display: block; color: var(--gold); font-family: "Instrument Serif", serif; font-size: 22px; margin-bottom: 8px; }
.craft strong { display: block; font-family: "Instrument Serif", serif; font-size: 28px; font-weight: 400; margin-bottom: 8px; }
.craft p { margin: 0; color: var(--muted); }

.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; margin-top: 48px; }
.about-block, .contacts, .product { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: start; }
.points { padding-left: 18px; color: var(--muted); }
.points li { margin: 10px 0; }
.contact-card { background: var(--paper); border: 1px solid var(--line); padding: 24px; }
.addr { font-size: 20px; }

.index { list-style: none; padding: 0; margin: 24px 0 0; }
.index li { border-top: 1px solid var(--line); }
.index a {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  color: var(--ink);
  text-decoration: none;
}
.index a:hover { color: var(--gold); }
.idx { color: var(--gold); font-family: "Instrument Serif", serif; font-size: 22px; }
.index strong { font-size: 22px; font-family: "Instrument Serif", serif; font-weight: 400; }
.index em { color: var(--muted); font-style: normal; }

.film-block { max-width: none; }
.film {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0e0c09;
  border: 1px solid var(--line);
  margin: 22px 0 10px;
  overflow: hidden;
}
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-note { color: var(--muted); font-size: 13px; margin: 0; }
.vosch-points { max-width: 62ch; font-size: 17px; }

.page-head { padding: 36px 0 0; }
.crumbs { color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.chip {
  padding: 7px 12px;
  border: 1px solid rgba(243, 234, 215, 0.38);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chip:hover, .chip.is-on {
  background: var(--gold);
  color: #1a1408;
  border-color: #f3d27a;
}

.product-gallery img { width: 100%; background: #3a3328; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { padding: 0; border: 1px solid var(--line); background: #3a3328; width: 72px; overflow: hidden; }
.hint { color: var(--muted); }
.desc { margin-top: 22px; color: #d9cfb8; }
.map-wrap iframe { width: 100%; min-height: 380px; border: 0; filter: grayscale(0.4) contrast(1.05); }

.foot { background: #0b0a08; color: var(--ink); margin-top: 72px; padding: 48px 0 20px; border-top: 1px solid var(--line); }
.foot a { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 28px; }
.foot-mark { letter-spacing: 0.28em; font-size: 11px; color: var(--gold); }
.foot h2 { font-family: "Instrument Serif", serif; font-size: 40px; margin: 0 0 10px; font-weight: 400; }
.foot-label { letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px; color: var(--gold); }
.copy { color: #7d735f; font-size: 13px; }

.admin-body { background: #efe8dc; color: #17140f; }
.admin-body a { color: #9a6a1c; }
.admin-wrap { width: min(1080px, calc(100% - 32px)); margin: 28px auto; }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.admin-nav a {
  background: #fff; border: 1px solid #e4d4bc; border-radius: 999px;
  padding: 7px 12px; color: #17140f; font-weight: 700; text-decoration: none;
}
.help { background: #fff8e8; border: 1px solid #edd9a8; border-radius: 16px; padding: 14px 16px; margin-bottom: 16px; color: #4a3f2c; }
.admin-body table { width: 100%; border-collapse: collapse; background: #fffdf8; }
.admin-body th, .admin-body td { border-bottom: 1px solid #e4d4bc; padding: 10px; text-align: left; }
.form-grid { display: grid; gap: 12px; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: 10px 12px; border: 1px solid #e4d4bc; border-radius: 12px; font: inherit; background: #fff; color: #17140f;
}
.form-grid textarea { min-height: 140px; }
.flash { background: #e8f6e4; border: 1px solid #b7dfb0; padding: 10px 12px; border-radius: 12px; color: #1a3d16; }
.error { background: #fde8e4; border-color: #e7b3aa; }
.thumb-sm { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.admin-search { width: min(360px, 100%); margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid #e4d4bc; font: inherit; }
.admin-box { background: #fffdf8; border: 1px solid #e4d4bc; border-radius: 16px; padding: 20px; }
.admin-body .btn-ghost {
  background: #fff;
  color: #17140f;
  border: 1px solid #e4d4bc;
}
.admin-body .btn-ghost:hover { color: #9a6a1c; border-color: #c48a2a; }

@media (max-width: 820px) {
  .wrap { width: min(1180px, calc(100% - 24px)); }
  .top { position: sticky; }
  .nav-row { padding: 10px 0; }
  .brand strong { font-size: 13px; letter-spacing: 0.05em; }
  .brand small { font-size: 10px; }
  .brand img { width: 36px; height: 36px; }
  .menu-desk { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    z-index: 60;
    border: 1px solid rgba(243, 234, 215, 0.38);
  }
  .menu-mobile {
    display: none;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .top {
    background: #16130e;
    z-index: 60;
  }
  body.nav-open .menu-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #16130e;
    padding: 72px 20px 32px;
    z-index: 55;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
  }
  body.nav-open .menu-mobile a {
    color: var(--ink);
    text-decoration: none;
    padding: 12px 4px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .menu-mobile a:hover { color: var(--gold); }
  body.nav-open .menu-label {
    display: block;
    margin: 16px 0 4px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  body.nav-open .menu-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    margin-bottom: 8px;
  }
  body.nav-open .menu-cats a {
    font-size: 15px;
    padding: 11px 4px;
  }
  body.nav-open .menu-mobile .btn {
    width: 100%;
    margin-top: 16px;
    border-bottom: 0;
    text-transform: none;
    font-size: 16px;
  }

  .hero { padding: 28px 0 8px; }
  .lead { font-size: 16px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats,
  .stack-shots,
  .craft-grid,
  .about-block,
  .contacts,
  .product,
  .foot-grid { grid-template-columns: 1fr; }
  .shot img { height: 200px; }
  .shot-1, .shot-2 { transform: none; }
  .section { padding: 36px 0 8px; }
  .section-head { align-items: start; flex-direction: column; gap: 8px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card h3 { font-size: 14px; min-height: 0; }
  .card-body { padding: 10px; }
  .price strong { font-size: 15px; }
  .index a { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 14px 0; }
  .index strong { font-size: 18px; }
  .chips {
    flex-wrap: wrap;
    overflow: visible;
  }
  .chip {
    padding: 10px 14px;
    border: 1px solid rgba(243, 234, 215, 0.38);
  }
  .btn-ghost { border-color: rgba(243, 234, 215, 0.38); }
  .price.xl strong { font-size: 30px; }
  .map-wrap iframe { min-height: 260px; }
  .foot { margin-top: 40px; padding: 32px 0 16px; }
  .foot h2 { font-size: 30px; }
  .admin-wrap { overflow-x: auto; }
  .admin-body table { min-width: 640px; }
}

@media (max-width: 420px) {
  .cards { grid-template-columns: 1fr; }
}
