:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --primary: #0f172a;
  --site-primary: var(--primary);
  --site-radius: 999px;
  --site-section-gap: 56px;
  --site-product-cols: 3;
  --site-font-scale: 1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: calc(16px * var(--site-font-scale));
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.boot { padding: 80px 20px; text-align: center; color: var(--muted); }
header.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
html[data-nav='overlay'] header.nav {
  position: fixed; left: 0; right: 0;
  background: transparent; border-color: transparent; color: #fff;
}
html[data-nav='overlay'] header.nav .brand b,
html[data-nav='overlay'] nav.anchors a { color: rgba(255,255,255,.85); }
html[data-nav='overlay'].is-scrolled header.nav {
  background: rgba(255,255,255,.92); color: var(--ink); border-color: var(--line);
}
html[data-nav='overlay'].is-scrolled header.nav .brand b,
html[data-nav='overlay'].is-scrolled nav.anchors a { color: var(--muted); }
header.nav .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.brand img { height: 40px; width: auto; max-width: 160px; border-radius: 8px; background: #fff; }
.brand b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
nav.anchors { display: none; gap: 4px; }
@media (min-width: 800px) { nav.anchors { display: flex; } }
nav.anchors a {
  text-decoration: none; font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 6px 12px; border-radius: var(--site-radius);
}
nav.anchors a:hover { background: #f1f5f9; color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px; border-radius: var(--site-radius);
  background: var(--primary); color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 650; border: 0; cursor: pointer;
}
.btn.ghost {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
}
.hero {
  position: relative; min-height: 62vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; background: #020617;
}
html[data-layout='maison'] .hero,
html[data-layout='catalog'] .hero { min-height: 100vh; }
html[data-layout='maison'] .hero { align-items: flex-end; }
.hero.light { color: var(--ink); background: #fff; }
.hero.center .inner { margin-left: auto; margin-right: auto; text-align: center; }
.hero.split { display: grid; background: #0f0f12; }
@media (min-width: 900px) {
  .hero.split { grid-template-columns: 1fr 1fr; min-height: 78vh; }
  .hero.split .inner { max-width: none; padding: 80px 40px; }
}
.hero img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
html[data-layout='maison'] .hero img.cover,
html[data-layout='catalog'] .hero img.cover { opacity: .7; }
.hero.split img.cover { position: relative; opacity: 1; min-height: 280px; }
.hero .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,.72), rgba(2,6,23,.88));
}
.hero .inner { position: relative; padding: 72px 0; max-width: 720px; }
.hero h1 { margin: 0; font-size: clamp(32px, 6vw, 64px); letter-spacing: -0.03em; line-height: 1.08; }
.hero p.lead { margin: 16px 0 0; font-size: 18px; line-height: 1.6; opacity: .85; }
.meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; font-size: 14px; opacity: .8; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
section.block { padding: var(--site-section-gap) 0; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px;
}
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
h2.sec { margin: 6px 0 20px; font-size: 28px; }
.prose { white-space: pre-wrap; font-size: 15px; line-height: 1.7; color: #334155; }
.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(var(--site-product-cols), minmax(0, 1fr));
}
@media (max-width: 799px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
.tile { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.tile img { width: 100%; height: 160px; object-fit: cover; background: #f1f5f9; }
.tile .pad { padding: 14px 16px 18px; }
.tile h3 { margin: 0; font-size: 15px; }
.tile p { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.news { display: grid; gap: 12px; }
.news a { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #fff; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; background: #fff; }
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
input, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  font: inherit; background: #fff;
}
.field { margin-bottom: 12px; }
.hp { position: absolute; left: -9999px; }
footer.site { padding: 28px 0 40px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
.ok { color: #047857; font-size: 14px; }
.err { color: #b91c1c; font-size: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: #ecfdf5; color: #047857;
}
html[data-layout='maison'] body { font-family: Georgia, "Songti SC", "Noto Serif SC", serif; }
