:root {
  --black: #121114;
  --black-soft: #1b1a1f;
  --silver: #c9a24b;
  --silver-bright: #e0bc6a;
  --silver-accent: #b9bec6;
  --purple: #8a6fd1;
  --purple-bright: #ac93ea;
  --cream: #f3ede0;
  --grey-text: #a8a29a;
  --line: rgba(201, 162, 75, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--silver-bright);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 17, 16, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-link { text-decoration: none; cursor: pointer; }
.brand-name { font-size: 22px; letter-spacing: 0.5px; color: var(--silver-bright); }
.brand-city { font-size: 12px; letter-spacing: 3px; color: var(--grey-text); margin-top: 2px; }

.nav { display: flex; gap: 32px; font-size: 15px; }
.nav a { color: var(--grey-text); transition: color 0.2s; }
.nav a:hover { color: var(--silver-bright); }

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-call {
  border: 1px solid var(--silver);
  color: var(--silver-bright);
}
.btn-call:hover { background: var(--silver); color: var(--black); }
.btn-primary { background: var(--silver); color: var(--black); }
.btn-primary:hover { background: var(--silver-bright); }
.btn-outline { border: 1px solid rgba(243,237,224,0.3); color: var(--cream); }
.btn-outline:hover { border-color: var(--silver); color: var(--silver-bright); }

/* Hero */
.hero {
  padding: 100px 0 90px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(138,111,209,0.13), transparent 60%);
}
.hero-inner { max-width: 720px; }
.hero-eyebrow {
  color: var(--purple-bright);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.eyebrow-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.eyebrow-link:hover {
  color: var(--silver-bright);
  text-decoration: underline;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.12;
  margin-bottom: 24px;
}
.hero-text {
  color: var(--grey-text);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-bottom: 36px;
}
.hero-features li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--cream);
}
.hero-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--purple-bright);
  border-radius: 50%;
}

/* Section title */
.section-title {
  font-size: 34px;
  margin-bottom: 40px;
}

/* Catalog */
.catalog { padding: 90px 0; border-bottom: 1px solid var(--line); }

.catalog-tabs-wrap {
  position: relative;
  margin-bottom: 44px;
  z-index: 20;
}
.catalog-tabs-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--black-soft);
  border: 1px solid var(--line);
  padding: 16px 20px;
  cursor: pointer;
  color: var(--silver-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  transition: border-color 0.2s;
}
.catalog-tabs-toggle:hover { border-color: var(--silver); }
.catalog-tabs-arrow {
  color: var(--silver-bright);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.catalog-tabs-toggle[aria-expanded="true"] .catalog-tabs-arrow { transform: rotate(180deg); }

.catalog-tabs {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--black-soft);
  border: 1px solid var(--line);
  max-height: 60vh;
  overflow-y: auto;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.catalog-tabs.open { display: flex; }
.tab-btn {
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--grey-text);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 20px;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s, background 0.2s;
}
.tab-btn:last-child { border-bottom: none; }
.tab-btn:hover { color: var(--cream); background: rgba(201, 162, 75, 0.08); }
.tab-btn.active { color: var(--purple-bright); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.placeholder-block {
  border: 1px dashed var(--line);
  padding: 60px 24px;
  text-align: center;
  color: var(--grey-text);
  font-size: 15px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--black-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.2s;
}
.product-card:hover { border-color: var(--purple); }

.card-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.product-card:hover .card-photo img { transform: scale(1.04); }

.photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(18,17,16,0.8);
  color: var(--silver-bright);
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--silver-accent);
}

.card-body { padding: 22px; }
.card-body h3 { font-size: 22px; margin-bottom: 8px; }
.card-body p { color: var(--grey-text); font-size: 14px; }
.price { color: var(--purple-bright) !important; margin-top: 10px; font-size: 14px; }

/* About */
.about { padding: 90px 0; border-bottom: 1px solid var(--line); }
.about-inner {
  max-width: 640px;
}
.about-text p {
  color: var(--grey-text);
  font-size: 16px;
  margin-bottom: 24px;
}
.about-list { list-style: none; }
.about-list li {
  padding: 12px 0;
  border-top: 1px solid var(--silver-accent);
  color: var(--cream);
  font-size: 15px;
}
.about-list li:last-child { border-bottom: 1px solid var(--silver-accent); }

/* Order */
.order { padding: 90px 0; border-bottom: 1px solid var(--line); }
.order-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.order-text { color: var(--grey-text); font-size: 16px; max-width: 380px; }

.order-form { display: flex; flex-direction: column; gap: 14px; }
.order-form input, .order-form textarea {
  background: var(--black-soft);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 14px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  border-radius: 2px;
}
.order-form input:focus, .order-form textarea:focus {
  outline: none;
  border-color: var(--silver);
}
.order-form button { align-self: flex-start; border: none; cursor: pointer; margin-top: 6px; }
.form-note { color: var(--silver-bright); font-size: 14px; min-height: 20px; }

/* Footer */
.site-footer { padding: 50px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-tagline { color: var(--grey-text); font-size: 13px; margin-top: 10px; }
.footer-contacts { display: flex; gap: 24px; font-size: 14px; color: var(--grey-text); }
.footer-contacts a:hover { color: var(--silver-bright); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,9,8,0.95);
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 86vw;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid var(--line);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: none;
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 26px;
  cursor: pointer;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.lightbox-close:hover, .lightbox-nav:hover { border-color: var(--silver); color: var(--silver-bright); }
.lightbox-close { top: 26px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* Burger button (hidden on desktop) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--silver-bright);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel (hidden on desktop) */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: max-height 0.3s ease, border-color 0.3s ease;
}
.mobile-nav a {
  padding: 14px 0;
  font-size: 15px;
  color: var(--grey-text);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover { color: var(--silver-bright); }
.mobile-nav.open {
  max-height: 300px;
  border-top-color: var(--line);
}
.mobile-call {
  display: inline-block;
  width: fit-content;
  margin: 14px 0 18px;
  border-bottom: none !important;
}

/* Responsive */
@media (max-width: 860px) {
  .nav { display: none; }
  .btn-call { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }
  .hero h1 { font-size: 36px; }
  .order-inner { grid-template-columns: 1fr; }
}

.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--silver);
  background: var(--black-soft);
  color: var(--silver-bright);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 999;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--silver);
  color: var(--black);
}
