:root {
  --bg: #f3efe9;
  --bg-2: #ebe6df;
  --paper: #fffcf8;
  --ink: #1a1415;
  --muted: #6a5f5c;
  --burgundy: #7a3d45;
  --burgundy-2: #5c2d34;
  --burgundy-3: #3f1e23;
  --orange: #e89112;
  --line: rgba(122, 61, 69, 0.16);
  --epal: #0b3a6e;
  --a: #4e9a2e;
  --b: #d4a017;
  --c: #d36a18;
  --bad: #b42318;
  --nav-h: 78px;
  --font: "Barlow", system-ui, sans-serif;
  --display: "Oswald", "Barlow Condensed", sans-serif;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.kicker {
  display: flex; align-items: center; gap: 10px;
  color: var(--burgundy);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--orange); }

h1, h2, h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.98;
  font-weight: 600;
}
.lead { color: var(--muted); max-width: 62ch; font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 0.82rem;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--orange); color: #1a1208; }
.btn-burgundy { background: var(--burgundy); color: #fff; }
.btn-ghost { border-color: var(--burgundy); color: var(--burgundy); background: transparent; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 3px solid var(--burgundy);
  height: var(--nav-h);
  display: flex; align-items: center;
}
.nav-inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand img { height: 28px; width: auto; display: block; }
.brand-name { display: none; }
.brand-sub { display: none; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; list-style: none; gap: 22px; font-size: 0.92rem; font-weight: 600; }
.nav-links a { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; }
.nav-links a:hover, .nav-links a.active { color: var(--burgundy); }
.lang { display: flex; border: 1px solid var(--line); }
.lang button {
  background: transparent; border: 0; padding: 6px 10px; cursor: pointer;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; color: var(--muted);
}
.lang button.active { background: var(--burgundy); color: #fff; }
.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
}
.burger span { top: 20px; } .burger::before { top: 14px; } .burger::after { top: 26px; }

/* Hero */
.hero {
  background: var(--burgundy-3);
  color: #f6efe8;
  min-height: 78vh;
  display: grid; align-items: center;
  position: relative;
  isolation: isolate;
  padding: 64px 0 48px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(63,30,35,.88) 0%, rgba(63,30,35,.45) 55%, rgba(63,30,35,.2)),
    url("../images/hero-warehouse.png") center/cover no-repeat;
}
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  color: #fff;
  margin: 8px 0 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
  display: block;
  font-size: 0.38em;
  letter-spacing: 0.08em;
  margin-top: 0.28em;
}
.hero .lead { color: #e8d9d4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero .btn-ghost, .page-hero .btn-ghost, .cta-band .btn-ghost {
  border-color: rgba(255,255,255,.45); color: #fff;
}
.page-hero {
  background: var(--burgundy-3); color: #f6efe8;
  padding: 52px 0 40px;
}
.page-hero .kicker { color: var(--orange); }
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 5.2rem); color: #fff; margin: 8px 0 16px; }
.page-hero h1 em { font-style: normal; color: var(--orange); }
.page-hero .lead { color: #e8d9d4; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  border: 1px solid rgba(255,255,255,.2); padding: 6px 10px;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
}

/* Hub cards */
.hub { padding: 72px 0; }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.hub-card {
  min-height: 280px;
  position: relative; overflow: hidden;
  isolation: isolate; color: #fff;
  border: 1px solid var(--line);
}
.hub-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .5s;
}
.hub-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(26,12,14,.15), rgba(26,12,14,.86));
}
.hub-card:hover img { transform: scale(1.05); }
.hub-card .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.hub-card .tag { color: var(--orange); letter-spacing: 0.16em; font-size: 0.7rem; text-transform: uppercase; font-weight: 700; }
.hub-card h3 { font-size: 2rem; margin: 6px 0; }

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--burgundy);
  color: #fff;
}
.stat { padding: 22px 18px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--display); font-size: 2rem; display: block; color: var(--orange); }
.stat span { font-size: 0.82rem; opacity: .85; text-transform: uppercase; letter-spacing: 0.06em; }

.section { padding: 72px 0; }
.section.alt { background: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  display: flex; flex-direction: column;
}
.product:first-child { grid-row: auto; min-height: 0; }
.product img { width: 100%; height: 240px; object-fit: contain; background: #fff; }
.product-body { padding: 16px 18px 20px; }
.product-body p { color: var(--muted); font-size: 0.92rem; }
.tag { color: var(--orange); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; font-weight: 700; }
.product h3 { font-size: 1.5rem; margin: 6px 0; }

.class-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.class-tabs button {
  border: 1px solid var(--line); background: #fff; padding: 10px 14px; cursor: pointer; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem;
}
.class-tabs button.active { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.class-panel { display: none; grid-template-columns: 1fr 1fr; gap: 20px; background: #fff; padding: 16px; border: 1px solid var(--line); }
.class-panel.active { display: grid; }
.class-panel img { width: 100%; min-height: 320px; object-fit: contain; background: #fff; }
.class-info ul { list-style: none; display: grid; gap: 7px; margin: 12px 0; }
.class-info li { padding-left: 16px; position: relative; }
.class-info li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--orange); }
.best { border-top: 1px solid var(--line); padding-top: 12px; color: var(--burgundy); font-weight: 600; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; margin-top: 24px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
th { background: var(--burgundy); color: #fff; }

.buy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.buy-card { background: #fff; border: 1px solid var(--line); padding: 12px; }
.buy-card img { width: 100%; height: 200px; object-fit: contain; background: #fff; }
.buy-card h3 { font-size: 1.15rem; margin: 10px 0 6px; }
.buy-card .badge { display: inline-block; padding: 3px 8px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; color: #fff; }
.badge.a { background: var(--a); } .badge.b { background: var(--b); color: #1a1208; }
.badge.c { background: var(--c); } .badge.new { background: var(--a); } .badge.euro { background: #6b4aa0; }
.badge.no { background: var(--bad); }

.poster { margin-top: 28px; border: 1px solid var(--line); background: #fff; padding: 10px; }
.poster img { width: 100%; height: auto; }

.cta-band {
  background: var(--burgundy-2); color: #fff; padding: 48px 0;
}
.cta-band .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.cta-band .lead { color: #f0e2de; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 16ch; }

.products-head, .classes-head {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px;
  margin-bottom: 22px; align-items: end;
}
.note { color: var(--muted); font-size: 0.9rem; margin-top: 14px; max-width: 70ch; }

.no-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.buy-card p { color: var(--muted); font-size: 0.9rem; }
.buy-card img { object-fit: contain; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.split img { width: 100%; height: 100%; min-height: 360px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.feature { background: #fff; border: 1px solid var(--line); padding: 18px; border-top: 3px solid var(--orange); }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }

.gallery-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px;
}
.gallery-grid img { width: 100%; height: 320px; object-fit: cover; border: 1px solid var(--line); }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.about-copy p { margin: 10px 0; color: var(--muted); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.mv article { background: #fff; padding: 16px; border-top: 3px solid var(--orange); }
.about-visual img { width: 100%; border: 1px solid var(--line); }

.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.opt {
  text-align: left; background: #fff; border: 1px solid var(--line);
  padding: 16px; cursor: pointer;
}
.opt b { display: block; font-family: var(--display); text-transform: uppercase; margin-bottom: 6px; }
.opt span { color: var(--muted); font-size: 0.92rem; }
.opt.active { border-color: var(--burgundy); box-shadow: inset 0 0 0 1px var(--burgundy); }
.guide-result { display: none; margin-top: 16px; background: #fff; padding: 16px; border-left: 3px solid var(--orange); }
.guide-result.show { display: block; }

.hub-card p { font-size: 0.92rem; opacity: .9; max-width: 36ch; }

.sell-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.sell-card { background: #fff; border: 1px solid var(--line); padding: 22px; }
.sell-card h3 { margin-bottom: 10px; }
.sell-card p { color: var(--muted); margin-bottom: 16px; }
.sell-phones { display: grid; gap: 8px; }
.sell-phones a { color: var(--burgundy); font-weight: 700; }
.sell-phones a:hover { color: var(--orange); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; }
.market { background: #fff; border: 1px solid var(--line); padding: 18px; margin-bottom: 12px; }
.market.active { border-color: var(--burgundy); border-width: 2px; }
.market a, .market p { display: block; color: var(--ink); margin: 6px 0; font-weight: 600; }
.market a[href^="mailto"] { color: var(--burgundy); }
.market a:hover { color: var(--orange); }
.form { display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); padding: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
input, select, textarea {
  background: var(--bg); border: 1px solid var(--line); padding: 11px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--burgundy); }
textarea { min-height: 110px; }
.map iframe { width: 100%; height: 220px; border: 0; }

footer {
  background: var(--burgundy-3); color: #d9cbc8; padding: 28px 0 100px; font-size: 0.86rem;
}
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot strong { color: #fff; font-family: var(--display); letter-spacing: 0.18em; }
.foot-mails { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.foot-mails a { color: #fff; font-weight: 600; }
.foot-mails a:hover { color: var(--orange); }

.sticky {
  display: none; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40;
  background: #fff; border: 1px solid var(--line); padding: 8px;
  grid-template-columns: 1fr 1fr 1fr; gap: 6px;
}
.sticky a { text-align: center; padding: 10px 6px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; background: var(--bg); }
.sticky a.gold { background: var(--orange); }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.step { background: #fff; border-top: 3px solid var(--burgundy); padding: 16px; }
.step i { font-style: normal; font-family: var(--display); color: var(--orange); }

.why { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.why div { background: #fff; padding: 14px; border-left: 3px solid var(--orange); display: flex; flex-direction: column; gap: 6px; }
.why b { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em; }

#boot {
  position: fixed; inset: 0; z-index: 100; background: var(--burgundy-3); color: #fff;
  display: grid; place-items: center;
  animation: bootFade .4s ease 1.1s forwards;
}
#boot.hide { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes bootFade { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.boot-name { font-family: var(--display); letter-spacing: 0.28em; font-size: clamp(2rem, 6vw, 4rem); }
.boot-mark { letter-spacing: 0.4em; color: var(--orange); font-size: 0.75rem; margin-bottom: 12px; }

@media (max-width: 980px) {
  .hub-grid, .product-grid, .class-panel.active, .buy-grid, .contact-grid, .sell-ways, .stats, .process-grid, .why, .form-row,
  .products-head, .classes-head, .split, .features, .about-grid, .mv, .guide-grid, .gallery-grid, .no-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid img { height: 220px; }
  .product-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; padding: 16px 20px 24px; gap: 14px; border-bottom: 3px solid var(--burgundy);
  }
  .burger { display: block; }
  .sticky { display: grid; }
  footer { padding-bottom: 108px; }
  .hero h1 { font-size: clamp(2.6rem, 14vw, 4.2rem); }
  .buy-grid, .no-grid { grid-template-columns: 1fr 1fr; }
}
