:root {
  --bg: #0a0c0e;
  --bg-soft: #101317;
  --panel: #15191e;
  --panel-2: #1b2026;
  --line: #2a3038;
  --gold: #d8b45a;
  --gold-light: #f2d48a;
  --text: #f0f2f4;
  --muted: #9aa4ae;
  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

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

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

button, input { font: inherit; }

button { cursor: pointer; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.section { padding: 100px 0; }

.kicker, .eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; }

h1 { font-size: clamp(40px, 5.4vw, 74px); font-weight: 700; }

h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; }

h1 em { color: var(--gold-light); font-style: normal; }

p { margin: 0 0 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 14, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .25s ease;
}

.site-header.scrolled { box-shadow: 0 12px 30px rgba(0,0,0,.35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand img { width: 132px; height: auto; }

.nav { display: flex; gap: 30px; }

.nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s ease;
}

.nav a:hover { color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.header-wa, .header-ig {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  border-bottom: 1px solid transparent;
}

.header-wa:hover, .header-ig:hover { border-color: var(--gold); }

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  transition: border-color .2s ease, background .2s ease;
}

.cart-button:hover { border-color: var(--gold); background: rgba(216,180,90,.08); }

.cart-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button b {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #17140c;
  font-size: 11px;
}

.menu-button { display: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 90px;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(216,180,90,.14), transparent 60%),
    radial-gradient(700px 500px at 5% 90%, rgba(255,255,255,.05), transparent 65%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
}

.hero-copy { max-width: 660px; }

.lead {
  margin: 24px 0 32px;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #191509;
}

.btn-primary:hover { background: linear-gradient(135deg, #ffe7a6, var(--gold-light)); }

.btn-outline { border-color: #4a4230; color: var(--gold-light); background: transparent; }

.btn-outline:hover { border-color: var(--gold); background: rgba(216,180,90,.07); }

.btn-block { width: 100%; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin: 58px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-facts div { display: flex; flex-direction: column; }

.hero-facts dt { font-size: 15px; font-weight: 700; color: var(--text); }

.hero-facts dd { margin: 2px 0 0; font-size: 12px; color: var(--muted); }

.hero-visual { position: relative; }

.visual-frame {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(216,180,90,.35);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(216,180,90,.1), rgba(255,255,255,.02));
  box-shadow: 0 40px 90px rgba(0,0,0,.55);
}

.visual-frame img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: 12px;
  background: var(--panel);
}

.visual-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.05);
  pointer-events: none;
}

.visual-caption { margin: 14px 2px 0; color: var(--muted); font-size: 13px; }

.visual-caption span { color: var(--gold-light); font-weight: 700; margin-right: 8px; }

/* Section headings */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 46px;
}

.section-intro { max-width: 420px; color: var(--muted); font-size: 15px; margin: 0; }

/* Categories */
.categories { background: var(--bg-soft); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 168px;
  padding: 26px;
  text-align: left;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: var(--panel-2);
}

.category-num { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .14em; }

.category-card h3 { font-size: 20px; margin-top: auto; }

.category-card small { color: var(--muted); font-size: 12px; }

/* Story */
.story-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.story-media { position: relative; }

.story-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.story-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(10,12,14,.9);
  border: 1px solid rgba(216,180,90,.4);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.story-copy h2 { margin-bottom: 24px; }

.story-copy p { color: var(--muted); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 700;
}

.text-link:hover { gap: 16px; }

/* Catalog */
.catalog { background: var(--bg-soft); }

.catalog-tools { display: flex; flex-direction: column; gap: 18px; }

.search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 620px;
  padding: 0 18px;
  height: 54px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s ease;
}

.search:focus-within { border-color: var(--gold); }

.search svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; }

.search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.search input::placeholder { color: #6f7882; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  transition: all .2s ease;
}

.chip:hover { color: var(--text); border-color: #6b5c36; }

.chip.active { background: var(--gold); border-color: var(--gold); color: #191509; font-weight: 700; }

.result-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.clear-btn { background: none; border: 0; color: var(--gold-light); font-size: 13px; text-decoration: underline; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease;
}

.card:hover { border-color: #6b5c36; transform: translateY(-3px); }

.card-media {
  position: relative;
  height: 168px;
  background: #0d1013;
  overflow: hidden;
}

.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }

.card-media .no-img {
  display: grid;
  place-items: center;
  height: 100%;
  color: #58626c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  background: radial-gradient(circle at 50% 40%, #20262d, #0d1013 70%);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(10,12,14,.82);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }

.card-code { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .1em; }

.card-body h3 {
  margin: 8px 0 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  color: #dfe4e8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.price { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--gold-light); }

.price.muted { color: var(--muted); font-size: 12px; font-weight: 400; }

.add {
  margin-top: 14px;
  padding: 10px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  transition: all .2s ease;
}

.add:hover { background: var(--gold); border-color: var(--gold); color: #191509; }

.catalog-more { display: flex; justify-content: center; margin-top: 36px; }

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}

.contact-note { color: var(--muted); max-width: 440px; }

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 34px;
  border: 1px solid rgba(216,180,90,.3);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(216,180,90,.09), transparent 60%), var(--panel);
}

.contact-label { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.contact-phone { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; }

.contact-phone:hover { color: var(--gold-light); }

.contact-social { color: var(--gold-light); font-size: 13px; font-weight: 600; }

.contact-social:hover { text-decoration: underline; }

.contact-place { color: var(--muted); font-size: 12px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0; background: var(--bg); }

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 32px;
  align-items: center;
}

.footer-logo { width: 120px; }

.footer p { margin: 0; color: var(--muted); font-size: 13px; max-width: 380px; }

.footer nav { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }

.footer nav a:hover { color: var(--gold-light); }

.copyright { color: #6f7882; font-size: 12px; white-space: nowrap; }

/* Cart */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(3px);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-left: 1px solid var(--line);
  transform: translateX(105%);
  transition: transform .3s ease;
}

.cart-panel.open { transform: translateX(0); }

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 26px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 { font-size: 24px; }

.close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.close-btn:hover { border-color: var(--gold); color: var(--gold-light); }

.cart-items { flex: 1; overflow-y: auto; padding: 18px 26px; }

.cart-empty { color: var(--muted); text-align: center; padding: 60px 10px; }

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item h4 { margin: 4px 0 8px; font-size: 13px; font-weight: 600; line-height: 1.4; }

.cart-item .item-code { color: var(--gold); font-size: 11px; letter-spacing: .08em; }

.qty { display: flex; align-items: center; gap: 10px; }

.qty button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.qty button:hover { border-color: var(--gold); }

.qty span { min-width: 18px; text-align: center; font-size: 13px; }

.remove-item { border: 0; background: none; color: #7d8791; font-size: 12px; align-self: end; }

.remove-item:hover { color: #ff9b9b; }

.cart-foot { padding: 22px 26px 28px; border-top: 1px solid var(--line); }

.cart-foot p { color: var(--muted); font-size: 12px; margin-bottom: 16px; }

.cart-b2b-link { display: block; margin-top: 14px; text-align: center; color: var(--muted); font-size: 12px; text-decoration: underline; }

.cart-b2b-link:hover { color: var(--gold-light); }

.empty-cart { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; }

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--gold-light);
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.to-top.visible { opacity: 1; pointer-events: auto; }

/* Production */
.production { background: var(--bg-soft); }

.production-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.production-copy p { color: var(--muted); }

.production-video video {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #000;
}

/* Steps */
.steps { background: var(--bg); }

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.step {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.step span { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .14em; }

.step h3 { margin: 18px 0 10px; font-size: 20px; }

.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Card actions */
.card-actions { display: flex; gap: 8px; margin-top: 14px; }

.card-actions button {
  flex: 1;
  padding: 10px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  transition: all .2s ease;
}

.card-actions button:hover { background: var(--gold); border-color: var(--gold); color: #191509; }

/* Product modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
}

.product-modal {
  position: fixed;
  z-index: 96;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(900px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
}

.product-modal[hidden] { display: none; }

.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; }

.modal-media {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 24px;
  background: #0d1013;
}

.modal-media img { max-height: 400px; width: 100%; object-fit: contain; }

.modal-media .no-img { color: #58626c; font-weight: 700; letter-spacing: .1em; }

.modal-info { padding: 40px; }

.modal-info h2 { margin: 10px 0 24px; font-size: clamp(20px, 2.4vw, 28px); }

.modal-meta { margin: 0 0 28px; border-top: 1px solid var(--line); }

.modal-meta div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }

.modal-meta dt { color: var(--muted); font-size: 12px; }

.modal-meta dd { margin: 0; font-size: 13px; text-align: right; }

.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Responsive */
@media (max-width: 1000px) {
  .nav { gap: 18px; }
  .hero-inner { gap: 40px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: auto 1fr; }
  .footer nav, .copyright { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 72px 0; }
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 38px;
    padding: 8px 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
  }
  .menu-button span { display: block; height: 2px; background: var(--text); }
  .header-wa, .header-ig { display: none; }
  .hero { padding: 56px 0 70px; }
  .hero-inner, .story-inner, .contact-inner, .production-inner { grid-template-columns: 1fr; gap: 44px; }
  .step-grid { grid-template-columns: 1fr; }
  .product-modal { grid-template-columns: 1fr; }
  .modal-media { min-height: 240px; }
  .modal-info { padding: 28px; }
  .hero-visual { max-width: 480px; }
  .visual-frame img { aspect-ratio: 4 / 3; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story-media { max-width: 460px; }
}

@media (max-width: 560px) {
  .brand img { width: 112px; }
  .cart-button span { display: none; }
  .category-grid, .product-grid { grid-template-columns: 1fr 1fr; }
  .category-card { min-height: 140px; padding: 18px; }
  .category-card h3 { font-size: 16px; }
  .card-media { height: 140px; }
  .hero-facts { gap: 20px; }
  .contact-card { padding: 24px; }
  .footer-inner { gap: 20px; }
}

@media (max-width: 380px) {
  .product-grid, .category-grid { grid-template-columns: 1fr; }
}
