:root {
  --bg: #0a0a0b;
  --panel: #131315;
  --panel-2: #1a1a1d;
  --line: rgba(214, 178, 106, .22);
  --text: #f1eee8;
  --muted: #a7a29a;
  --gold: #d6b26a;
  --gold-grad: linear-gradient(180deg, #f6e3a9 0%, #d9b265 48%, #a87c33 100%);
  --silver-grad: linear-gradient(180deg, #f4f4f5 0%, #b9b9bd 55%, #808085 100%);
  --wa: #1f9d55;
  --display: "Frank Ruhl Libre", "Times New Roman", serif;
  --body: "Heebo", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: 20px; }

.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.silver-text { background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hairline { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent); opacity: .7; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 11, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 24px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.main-nav { display: flex; gap: 34px; }
.main-nav a { position: relative; padding: 8px 2px; color: var(--text); font-weight: 400; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
@media (hover: hover) { .main-nav a:hover::after { transform: scaleX(1); } }
.header-cta { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 20px; border: 1px solid var(--gold); border-radius: 2px; color: var(--gold); font-weight: 500; transition: background .25s, color .25s; }
@media (hover: hover) { .header-cta:hover { background: var(--gold); color: #111; } }

/* Hero */
.hero { position: relative; overflow: hidden; background-color: #070708; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 30% 55%, rgba(214, 178, 106, .13), transparent 70%), linear-gradient(180deg, rgba(10,10,11,.2), rgba(10,10,11,.75)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 24px; min-height: min(760px, calc(100vh - 68px)); padding-block: 40px; }
.hero-kicker { display: inline-block; font-size: 16px; letter-spacing: .08em; color: var(--gold); margin-bottom: 18px; }
.hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(46px, 6.4vw, 84px); line-height: 1.04; }
.hero h1 span { display: block; }
.hero-sub { margin-top: 22px; max-width: 30em; font-size: 20px; font-weight: 300; color: #dcd8d0; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stage { position: relative; }
.hero-stage canvas { display: block; width: 100%; aspect-ratio: 1.25; touch-action: pan-y; cursor: grab; }
.hero-stage canvas:active { cursor: grabbing; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding-inline: 30px; border-radius: 2px; font-weight: 500; font-size: 18px; transition: transform .2s var(--ease), filter .2s, background .2s; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold-grad); color: #171208; }
.btn-ghost { border: 1px solid rgba(241, 238, 232, .35); color: var(--text); }
.btn-wa { background: var(--wa); color: #fff; }
@media (hover: hover) { .btn-gold:hover, .btn-wa:hover { filter: brightness(1.08); } .btn-ghost:hover { background: rgba(255,255,255,.07); } }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); padding-block: 44px; }
.benefit { padding-inline: 16px; text-align: center; border-inline-start: 1px solid var(--line); }
.benefit:first-child { border-inline-start: 0; }
.benefit svg { width: 50px; height: 50px; stroke: var(--gold); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.benefit b { display: block; margin-top: 12px; font-weight: 500; font-size: 17px; line-height: 1.3; }
.benefit small { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding-block: 72px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head h2, .page-title { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; }
.link-more { color: var(--gold); border-bottom: 1px solid var(--line); padding-bottom: 2px; white-space: nowrap; }

.cats { display: grid; grid-template-columns: 1fr 1fr .72fr; gap: 16px; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 26px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s; }
.cat img { position: absolute; inset: 0; margin: auto; width: 82%; max-width: 330px; aspect-ratio: 1; object-fit: contain; transform: translateY(-34px); transition: transform .6s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.82)); }
.cat h3, .cat span { position: relative; z-index: 1; }
.cat h3 { font-family: var(--display); font-weight: 900; font-size: 38px; line-height: 1.1; }
.cat span { color: #d4cfc6; margin-top: 2px; }
@media (hover: hover) { .cat:hover { border-color: var(--gold); } .cat:hover img { transform: translateY(-34px) scale(1.05); } }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid rgba(255,255,255,.07); transition: border-color .3s, transform .3s var(--ease); }
.card-media { aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(60% 55% at 50% 50%, #26252a, #111113); overflow: hidden; }
.card-media img { width: 88%; height: 88%; object-fit: contain; opacity: 0; transition: opacity .4s; }
.card-media img.on { opacity: 1; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card-body h3 { font-weight: 500; font-size: 18px; line-height: 1.3; }
.card-meta { color: var(--muted); font-size: 15px; }
.card-cta { margin-top: 10px; color: var(--gold); font-size: 15px; font-weight: 500; }
@media (hover: hover) { .card:hover { border-color: var(--gold); transform: translateY(-3px); } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 28px 26px; background: var(--panel); border-top: 1px solid var(--gold); }
.step i { font-family: var(--display); font-style: normal; font-weight: 900; font-size: 40px; line-height: 1; }
.step b { display: block; margin-top: 10px; font-size: 20px; font-weight: 500; }
.step p { color: var(--muted); margin-top: 4px; }

/* Catalog */
.page-top { padding-block: 40px 8px; }
.page-title { margin-bottom: 22px; }
.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.filter-row { display: flex; align-items: center; gap: 14px; }
.filter-label { flex: none; width: 56px; color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding-inline: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; color: var(--text); font-size: 16px; transition: background .2s, color .2s, border-color .2s; }
.chip[aria-pressed="true"] { background: var(--gold-grad); color: #171208; border-color: transparent; font-weight: 500; }
.result-count { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* Product */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; padding-block: 28px 64px; }
.crumbs { padding-top: 22px; color: var(--muted); font-size: 15px; }
.crumbs a { color: var(--gold); }
.viewer { position: relative; background: radial-gradient(55% 50% at 50% 48%, #2b2a2f, #0e0e10 90%); border: 1px solid var(--line); }
.viewer canvas { display: block; width: 100%; aspect-ratio: 1; touch-action: pan-y; cursor: grab; }
.viewer canvas:active { cursor: grabbing; }
.viewer-hint { position: absolute; top: 14px; inset-inline: 0; text-align: center; color: var(--gold); font-size: 15px; pointer-events: none; transition: opacity .5s; }
.viewer-hint.off { opacity: 0; }
.viewer-tabs { position: absolute; bottom: 14px; inset-inline: 0; display: flex; justify-content: center; gap: 8px; }
.viewer-tabs button { min-height: 44px; padding-inline: 22px; background: rgba(10,10,11,.72); border: 1px solid var(--line); color: var(--text); border-radius: 22px; }
.p-kicker { color: var(--gold); font-size: 16px; }
.p-title { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.1; margin-top: 4px; }
.p-desc { margin-top: 16px; color: #d4cfc6; font-size: 18px; font-weight: 300; }
.specs { margin: 24px 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }
.specs { display: block; }
.p-price-note { margin-bottom: 12px; color: var(--muted); }
.p-cta { width: 100%; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; color: #d4cfc6; font-size: 15px; }
.assure span::before { content: "✓"; color: var(--gold); margin-inline-end: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 34px calc(34px + env(safe-area-inset-bottom)); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-tag { color: var(--muted); }
.footer-wa { color: var(--gold); }

/* Sticky product action on phones */
.mobile-bar { display: none; }

.view { animation: rise .55s var(--ease) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 34px 10px; }
  .hero-sub { font-size: 18px; }
  .benefits { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .benefit:nth-child(4) { border-inline-start: 0; }
  .cats { grid-template-columns: 1fr 1fr; }
  .cats .cat:last-child { grid-column: 1 / -1; min-height: 220px; }
  .cats .cat:last-child img { width: 190px; inset-inline-start: auto; inset-inline-end: 12px; margin-inline: 0; transform: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .product { grid-template-columns: 1fr; gap: 22px; }
  .section { padding-block: 52px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .main-nav { display: none; }
  .header-row { height: 60px; }
  .logo { font-size: 22px; }
  .header-cta { padding-inline: 14px; }
  .hero h1 { font-size: 46px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .benefits { grid-template-columns: 1fr 1fr; padding-block: 34px; }
  .benefit:nth-child(odd) { border-inline-start: 0; }
  .benefit:last-child { grid-column: 1 / -1; border-inline-start: 0; }
  .cats { grid-template-columns: 1fr; }
  .cat { min-height: 280px; }
  .cats .cat:last-child { min-height: 200px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 10px 12px 12px; }
  .card-body h3 { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .filter-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .filter-label { width: auto; }
  .desktop-cta { display: none; }
  .mobile-bar { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,10,11,.94); border-top: 1px solid var(--line); }
  .mobile-bar .btn { width: 100%; }
  body.has-bar .site-footer { padding-bottom: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  .view { animation: none; }
  * { transition: none !important; }
}
