:root {
  --bg: #fbfaf8;
  --alt: #f3f1ed;
  --ink: #1d1b19;
  --muted: #77726b;
  --line: #e4e0d9;
  --accent: #8a6a43;
  --accent-ink: #fff;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font: 400 16px/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
ul, ol { list-style: none; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* header */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 248, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo { font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -.01em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 22px; margin-left: 12px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.header-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang button {
  font: 600 12px/1 inherit; font-family: inherit;
  padding: 8px 10px; border: 0; background: none; color: var(--muted); cursor: pointer;
}
.lang button.on { background: var(--ink); color: #fff; }

/* buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: 600 15px/1 inherit; font-family: inherit;
  padding: 14px 22px; border-radius: 8px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  transition: opacity .15s;
}
.btn:hover { opacity: .85; }
.btn-ghost { background: none; color: var(--ink); }
.btn-sm { padding: 9px 14px; font-size: 13px; }

/* hero */
.hero { padding: 88px 0 72px; }
h1 {
  font-size: clamp(32px, 5.5vw, 56px); line-height: 1.08;
  font-weight: 700; letter-spacing: -.025em; max-width: 14ch;
}
.lead { color: var(--muted); font-size: 18px; max-width: 46ch; margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* sections */
.section { padding: 72px 0; }
.section.alt { background: var(--alt); }
h2 { font-size: 28px; letter-spacing: -.02em; font-weight: 700; margin-bottom: 28px; }
h3 { font-size: 18px; margin-bottom: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two h2 + .lead { margin-top: -12px; margin-bottom: 24px; }

/* filters */
.filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
label span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
select, input, textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
select:focus, input:focus, textarea:focus, .btn:focus-visible, .lang button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.count { margin: 24px 0 16px; font-size: 14px; color: var(--muted); }
.empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; }
.stage {
  aspect-ratio: 1; display: grid; place-items: center;
  background: var(--alt); border-radius: var(--radius);
}
.frame {
  --w: 56%; --h: 74%; --b: 7px; --c: #222;
  width: var(--w); height: var(--h);
  border: var(--b) solid var(--c);
  background: #fff; padding: 9%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .12), inset 0 0 0 1px rgba(0, 0, 0, .08);
}
.frame i {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(135deg, #e3dfd8, #cfc9bf);
}
.card h3 { font-size: 15px; font-weight: 600; margin: 14px 0 2px; }
.meta { font-size: 13px; color: var(--muted); }
.price { margin-top: 8px; font-size: 18px; font-weight: 700; }
.opt { font-size: 12px; color: var(--accent); margin-top: 2px; }
.card .btn { margin-top: 14px; text-align: center; padding: 11px; font-size: 14px; }

/* wholesale */
.tiers { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.tiers th, .tiers td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.tiers th { font-size: 12px; font-weight: 600; color: var(--muted); }
.tiers tr:last-child td { border-bottom: 0; }
.tiers td:last-child { font-weight: 700; color: var(--accent); }
.ticks { margin-top: 24px; display: grid; gap: 8px; }
.ticks li { padding-left: 22px; position: relative; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--accent); }

.form { background: #fff; padding: 28px; border-radius: var(--radius); display: grid; gap: 16px; }
.form h3 { margin: 0; }
.form .btn { width: 100%; }
.form small { color: var(--muted); font-size: 12px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps b {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--ink); border-radius: 50%; font-size: 14px;
}
.steps span { padding-top: 4px; }

/* contacts */
.contacts dt { font-size: 12px; color: var(--muted); margin-top: 16px; }
.contacts dd { font-size: 17px; }
.contacts a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contacts a:hover { border-color: var(--ink); }
.map {
  min-height: 260px; border-radius: var(--radius); background: #e9e6e0;
  display: grid; place-items: center; color: var(--muted); font-size: 14px;
}

.footer { padding: 28px 0; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .filters { grid-template-columns: repeat(2, 1fr); }
  .two { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .header-in { gap: 12px; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 52px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card h3 { font-size: 14px; }
}
