:root {
  --bg: #f4efe6;
  --bg-deep: #141210;
  --brand: #541e36;
  --brand-deep: #3d1428;
  --ink: #1c1916;
  --muted: #5e564c;
  --gold: #a07840;
  --gold-2: #d7bd8d;
  --line: rgba(28, 25, 22, 0.12);
  --card: rgba(255, 252, 247, 0.82);
  --header: 108px;
  --dock: 72px;
  --shadow: 0 20px 50px rgba(28, 25, 22, 0.08);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  background: var(--bg);
  min-height: 100vh;
}
body.nav-lock, body.modal-lock { overflow: hidden; }
body.nav-lock .header { z-index: 90; }
body.nav-lock .dock, body.nav-lock .cookie, body.nav-lock .float-phone { visibility: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

.bg-motion {
  position: fixed;
  inset: -15%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(42% 36% at 8% 0%, rgba(215, 189, 141, 0.55), transparent 70%),
    radial-gradient(36% 42% at 100% 8%, rgba(90, 104, 118, 0.22), transparent 68%),
    radial-gradient(40% 36% at 70% 100%, rgba(160, 120, 64, 0.28), transparent 70%),
    linear-gradient(180deg, #f7f3ec 0%, #ebe4d8 100%);
  animation: drift 26s ease-in-out infinite alternate;
}
.bg-motion::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(28, 25, 22, 0.045) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  animation: grain 12s linear infinite;
  opacity: 0.55;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.06); }
}
@keyframes grain {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-2%, -1%, 0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes ken {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-2%, -1%, 0); }
}

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.wrap-wide { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  overflow: visible;
  color: #f6f1e8;
  background: #11060bc4;
  border-bottom: 1px solid rgba(215, 189, 141, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.header.is-scrolled {
  background: #070305c9;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.header-inner {
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  order: 1;
}
.nav { order: 2; }
.header-phone { order: 3; }
.burger { order: 4; }
.logo img {
  height: 93px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  background: none;
  border-radius: 0;
  padding: 0;
}
.logo img + .logo-text { display: none; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(215, 189, 141, 0.6);
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 22px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: 0.01em; }
.logo-text span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.72; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-ico { width: 16px; height: 16px; flex: 0 0 16px; }
.nav > a:not(.nav-phone), .nav .has-sub {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav a, .nav button.has-sub {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 20.5px;
  letter-spacing: 0.01em;
}
.nav a:hover, .nav button.has-sub:hover { background: rgba(255,255,255,0.08); }
.menu-item { position: relative; }
.menu-item::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -24px;
  top: 100%;
  height: 22px;
}
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-40%);
  width: min(760px, 80vw);
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 251, 245, 0.97);
  color: var(--ink);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 8px 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.menu-item:hover .mega, .menu-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mega a {
  display: block;
  padding: 7px 0;
  border-radius: 0;
  color: #1c1916;
  font-size: 15px;
}
.mega a:hover { background: rgba(84, 30, 54, 0.08); color: #541e36; }
.mega .mega-title {
  font-family: var(--serif);
  font-size: 22px;
  padding-bottom: 6px;
  color: #541e36;
}
.header-phone {
  text-decoration: none;
  color: var(--bg);
  background: linear-gradient(180deg, #8a4864, #541e36);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 17px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.burger {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  position: relative;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: #f6f1e8; border-radius: 2px; transition: 0.2s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.nav-top, .nav > a.nav-phone { display: none; }

.hero {
  position: relative;
  min-height: 100vh;
  color: #f7f2ea;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: calc(var(--header) + 36px) 0 56px;
  overflow: hidden;
  background: #141210;
  background-size: cover;
}
.hero-media, .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
  animation: ken 28s ease-in-out infinite alternate;
}
.hero-slide.is-on { opacity: 1; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,8,0.25) 0%, rgba(12,10,8,0.2) 30%, rgba(12,10,8,0.78) 100%),
    radial-gradient(60% 80% at 80% 20%, rgba(20,18,16,0.1), rgba(12,10,8,0.45));
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 72px;
  animation: rise 0.9s ease both;
}
.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold-2);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold-2); }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
.hero h1, .hero p.lead, .section-head h2, .page-title h1, .svo-copy h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.hero h1 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; margin: 14px 0 18px; }
.hero p.lead { max-width: 58ch; font-size: 18px; color: rgba(247,242,234,0.86); margin: 0 0 26px; }
.hero-actions, .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  background: #f4efe6;
  color: #1c1916;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, #e6d2aa, #b5894e); }
.btn-brand { background: var(--brand); color: #f6f1e8; }
.btn-brand:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid rgba(255,255,255,0.35); }
.btn-line { background: transparent; border: 1px solid var(--line); }
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-stats strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 500; }
.hero-stats span { color: rgba(247,242,234,0.7); font-size: 13px; }

.section { padding: 84px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-head h2, .page-title h1 { font-size: clamp(36px, 4vw, 58px); line-height: 0.98; margin: 0; }
.section-head p, .lede { color: var(--muted); max-width: 48ch; margin: 8px 0 0; }

.cats {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 14px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  color: white;
  text-decoration: none;
  background: #2a241e;
  isolation: isolate;
}
.cat-card:first-child { grid-row: span 2; min-height: 454px; }
.cat-card img, .ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(84, 30, 54, 0) 28%, rgba(32, 10, 20, 0.92) 100%);
}
.cat-card span, .cat-card strong { position: relative; z-index: 1; }
.cat-card strong {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px); font-weight: 500;
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.ph {
  background:
    radial-gradient(circle at 30% 20%, rgba(215,189,141,.45), transparent 40%),
    linear-gradient(160deg, #3a332c, #1b1815);
}

.stone-grid, .product-grid, .card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stone, .product, .info-card, .article-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.35s ease;
}
.stone:hover, .product:hover, .article-card:hover { transform: translateY(-6px); }
.stone img, .product img, .article-card img { aspect-ratio: 1; width: 100%; object-fit: cover; background: #ddd4c6; }
.stone div, .product div, .article-card div, .info-card { padding: 14px 16px 18px; }
.stone strong, .product strong, .article-card strong { display: block; font-size: 16px; line-height: 1.35; }
.muted { color: var(--muted); font-size: 14px; }
.product .more { margin-top: 10px; color: var(--brand); font-size: 14px; }

.steps, .split, .benefits { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.step-list { display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,252,247,0.7);
  border: 1px solid var(--line);
}
.step em {
  font-family: var(--serif); font-style: normal; font-size: 28px; color: var(--gold);
}
.benefits { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.benefit {
  padding: 22px;
  border-radius: 22px;
  background: var(--brand);
  color: #f6f1e8;
  min-height: 210px;
}
.benefit:nth-child(2), .benefit:nth-child(4) { background: rgba(255,252,247,0.8); color: var(--ink); }
.benefit strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.05; margin-bottom: 8px; }

.faq { display: grid; gap: 10px; }
.faq-item { border-radius: 18px; background: rgba(255,252,247,0.76); border: 1px solid var(--line); overflow: hidden; }
.faq-item button {
  width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px;
  display: flex; justify-content: space-between; gap: 16px; font-size: 17px;
}
.faq-item .a { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.is-open .a { display: block; }
.faq-item button span { color: var(--gold); font-family: var(--serif); font-size: 28px; line-height: 1; }

.band {
  margin: 10px 0 70px;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  color: #f6f1e8;
  background: var(--brand);
}
.band-inner { position: relative; z-index: 1; padding: 54px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.band h2 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 52px); }
.band p { margin: 0; color: rgba(246,241,232,0.75); }

.page {
  padding: calc(var(--header) + 34px) 0 70px;
}
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.crumbs a { color: var(--ink); }
.page-title { margin-bottom: 26px; }
.prose { font-size: 17.5px; }
.prose p { margin: 0 0 14px; }
.prose h2, .prose h3 { line-height: 1.15; margin: 28px 0 10px; }
.prose h2 { font-size: 36px; }
.prose img { border-radius: 18px; margin: 12px 0; }
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.side {
  position: sticky; top: calc(var(--header) + 16px);
  background: rgba(255,252,247,0.8);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.chip {
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255,252,247,0.7);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
}
.chip.is-on { background: var(--brand); color: #f6f1e8; border-color: var(--brand); }
.search {
  display: flex; gap: 8px; margin: 8px 0 18px;
}
.search input, .field input, .field textarea, .field select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,252,247,0.9);
  padding: 12px 14px;
}
.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.pager a, .pager span {
  min-width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; text-decoration: none; background: rgba(255,252,247,0.8); border: 1px solid var(--line);
}
.pager .is-on { background: var(--brand); color: white; border-color: var(--brand); }

.product-view { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; }
.gallery-main { border-radius: 28px; overflow: hidden; background: #e7e0d4; }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; background:
  radial-gradient(circle at 50% 40%, rgba(255,255,255,.55), transparent 55%), #e5dccc; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { padding: 0; border-radius: 12px; border: 2px solid transparent; overflow: hidden; background: none; }
.thumbs img { width: 74px; height: 74px; object-fit: cover; }
.thumbs .is-active { border-color: var(--gold); }
.price-note { font-family: var(--serif); font-size: 32px; margin: 8px 0; }

.mosaic, .works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.works a, .mosaic a { display: block; border-radius: 18px; overflow: hidden; }
.works img, .mosaic img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.6s ease; }
.works a:hover img { transform: scale(1.05); }

.slider { margin-top: 8px; }
.slider-frame { position: relative; }
.slider-viewport {
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,.45), transparent 55%),
    #e7dfd2;
}
.slider-track { display: flex; transition: transform 0.55s ease; }
.slider-slide { min-width: 100%; margin: 0; }
.slider-slide img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: contain;
  background: transparent;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #f6f1e8;
  font-size: 32px;
  line-height: 1;
}
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-bar {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.slider-bar > span { color: var(--muted); font-size: 14px; }
.slider-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.slider-thumbs button {
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: none;
}
.slider-thumbs img { width: 84px; height: 64px; object-fit: cover; }
.slider-thumbs .is-on { border-color: var(--brand); }
.contacts-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
.contact-card .kicker { color: var(--brand); margin-bottom: 8px; }
.contact-card .kicker::before { background: var(--brand); }
.contact-card, .legal {
  background: rgba(255,252,247,0.78);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}
.contact-actions { display: grid; gap: 10px; }
.contact-actions a {
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 16px;
  background: #1c1916;
  color: #f6f1e8;
  display: flex; justify-content: space-between;
}
.contact-actions a.alt { background: transparent; color: var(--ink); border: 1px solid var(--line); }

.footer { background: #141210; color: #f3ecdf; padding: 54px 0 28px; margin-top: 20px; }
.footer a { color: inherit; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer h3 { font-family: var(--serif); font-size: 28px; margin: 0 0 10px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: rgba(243,236,223,0.78); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(243,236,223,0.62); font-size: 14px;
}
.footer-bottom a { color: var(--gold-2); }

.float-phone, .dock, .cookie, .modal { z-index: 60; }
.float-phone {
  position: fixed; right: 22px; bottom: 22px;
  width: 64px; height: 64px; border-radius: 50%; border: 0;
  background: linear-gradient(180deg, #e6d2aa, #a07840);
  color: #1c1916;
  box-shadow: 0 12px 30px rgba(80, 50, 20, 0.28);
  animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(80, 50, 20, 0.28); }
  50% { box-shadow: 0 12px 30px rgba(80, 50, 20, 0.28), 0 0 0 10px rgba(176, 137, 78, 0.15); }
}
.dock {
  display: none;
  position: fixed; left: 10px; right: 10px; bottom: 10px;
  background: rgba(20,18,16,0.94);
  color: #f6f1e8;
  border-radius: 18px;
  padding: 8px;
  gap: 8px;
  backdrop-filter: blur(10px);
}
.dock a, .dock button {
  flex: 1; text-align: center; text-decoration: none; color: inherit;
  background: transparent; border: 0; border-radius: 12px; padding: 12px 8px;
  min-width: 0;
  line-height: 1.2;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.dock a.dock-products { background: #541e36; color: #f6f1e8; }
.dock a:last-child, .dock button:first-child { background: rgba(255,255,255,0.06); }
.dock .gold { background: linear-gradient(180deg, #e6d2aa, #a07840); color: #1c1916; }
.dock-max, .dock-call-direct { display: none; }
body.page-product .dock-products, body.page-product .dock-call { display: none; }
body.page-product .dock-max, body.page-product .dock-call-direct { display: block; }
body.page-product .dock-max { background: var(--brand); color: #f6f1e8; }

.cookie {
  position: fixed; left: 16px; bottom: 16px;
  width: min(420px, calc(100% - 32px));
  background: rgba(255,252,247,0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  display: flex; gap: 12px; align-items: center;
}
.cookie[hidden], .modal[hidden] { display: none; }
.cookie p { margin: 0; font-size: 14px; color: var(--muted); }
.cookie button { border: 0; background: #1c1916; color: white; border-radius: 999px; padding: 8px 12px; white-space: nowrap; }

.modal {
  position: fixed; inset: 0;
  background: rgba(16, 14, 12, 0.62);
  display: grid; place-items: end center;
  padding: 16px;
}
.modal-card {
  width: min(520px, 100%);
  background: #f7f3ec;
  color: var(--ink);
  border-radius: 28px 28px 22px 22px;
  padding: 22px;
  animation: rise 0.35s ease;
}
.modal-card h3 { font-family: var(--serif); font-size: 34px; line-height: 1; margin: 0 0 8px; }
.modal-links { display: grid; gap: 8px; margin-top: 14px; }
.modal-links a {
  text-decoration: none; background: white; border-radius: 16px; padding: 14px 16px;
  display: flex; justify-content: space-between; border: 1px solid var(--line);
}
.x { border: 0; background: transparent; float: right; font-size: 28px; line-height: 1; }

.svo { padding: 28px 0 10px; }
.svo-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: center;
  background: #161311;
  color: #f6f1e8;
  border-radius: 32px;
  padding: 28px;
  overflow: hidden;
}
.svo-copy h2 { font-size: clamp(36px, 4vw, 56px); line-height: 0.98; margin: 8px 0 12px; }
.svo-copy p { color: rgba(246,241,232,0.78); margin: 0 0 18px; }
.svo-copy .btn-line { color: #f6f1e8; border-color: rgba(255,255,255,0.28); }
.svo-mosaic { display: grid; grid-template-columns: 1.3fr 0.7fr; grid-template-rows: 180px 180px; gap: 10px; }
.svo-mosaic a { display: block; border-radius: 18px; overflow: hidden; }
.svo-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.svo-mosaic a:hover img { transform: scale(1.04); }
.svo-main { grid-row: span 2; }

.place { padding: 28px 0 72px; }
.place-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 220px;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(84, 30, 54, 0.55), transparent 55%),
    linear-gradient(160deg, #1a0c12, #0c0709 70%);
  color: #f6f1e8;
  box-shadow: 0 24px 60px rgba(18, 7, 12, 0.28);
}
.place-copy h2, .place-rate h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin: 8px 0 12px; }
.place-copy p { color: rgba(246, 241, 232, 0.82); }
.place-copy .eyebrow, .place-rate .eyebrow { letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; color: var(--gold-2); margin: 0; }
.place-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: 18px; background: #111; }
.place-rate {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 4px;
}
.place-rate iframe { border: 0; background: #fff; border-radius: 12px; }
.place-rate a { color: var(--gold-2); }

.reveal { opacity: 0; transform: translateY(18px); animation: none; }
.reveal.is-in { animation: rise 0.7s ease forwards; }

.license-modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(16,14,12,.72);
  display: grid; place-items: center; padding: 16px;
}
.license-modal[hidden] { display: none !important; }
.hero-slide { z-index: 0; }
.hero-media::after { z-index: 1; }
.admin { padding: calc(var(--header) + 24px) 0 40px; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.note { background: rgba(255,252,247,.8); border-radius: 16px; padding: 12px 14px; border: 1px solid var(--line); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
table.list { width: 100%; border-collapse: collapse; background: rgba(255,252,247,.75); border-radius: 16px; overflow: hidden; }
table.list th, table.list td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.thumb-row { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb-row img { width: 92px; height: 72px; object-fit: cover; border-radius: 10px; }

@media (max-width: 980px) {
  .header-inner { gap: 8px; width: calc(100% - 20px); }
  :root { --header: 84px; }
  .logo img { height: 68px; max-width: 220px; padding: 0; border-radius: 0; background: none; }
  .menu-item::after { display: none; }
  .header-phone {
    display: inline-flex;
    order: 2;
    margin-left: auto;
    padding: 0;
    background: transparent;
    color: #f6f1e8;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
  }
  .burger { display: block; order: 3; margin-left: 6px; flex: 0 0 46px; }
  .nav-top, .nav > a.nav-phone { display: flex; }
  .nav {
    position: fixed; inset: 0;
    z-index: 80;
    background: #12070c;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 18px 36px;
    overflow: auto;
    margin: 0;
    max-width: 100%;
    height: 100dvh;
    box-sizing: border-box;
  }
  .nav.is-open { display: flex; }
  .nav-top { justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 12px; }
  .nav-top strong { font-family: var(--serif); font-size: 28px; font-weight: 500; min-width: 0; }
  .nav-top button {
    border: 1px solid rgba(255,255,255,.25);
    background: transparent;
    color: #f6f1e8;
    border-radius: 999px;
    padding: 8px 14px;
    flex: 0 0 auto;
  }
  .menu-item { max-width: 100%; min-width: 0; }
  .nav > a, .nav .has-sub, .mega a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    text-align: left;
    padding: 14px 2px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.3;
    max-width: 100%;
  }
  .nav .has-sub::after {
    content: "";
    margin-left: auto;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    flex: 0 0 auto;
  }
  .menu-item.is-open .has-sub::after { transform: rotate(225deg); }
  .nav-ico { width: 20px; height: 20px; flex-basis: 20px; }
  .nav-phone {
    margin-top: 18px;
    justify-content: center;
    background: #541e36;
    color: #f6f1e8;
    border-radius: 16px;
    border: 0;
    padding: 16px;
  }
  .mega,
  .menu-item:hover .mega,
  .menu-item:focus-within .mega {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    width: 100%;
    max-width: 100%;
    background: transparent;
    color: #f6f1e8;
    box-shadow: none;
    padding: 4px 0 10px;
    grid-template-columns: 1fr;
    box-sizing: border-box;
  }
  .menu-item.is-open .mega,
  .menu-item.is-open:hover .mega,
  .menu-item.is-open:focus-within .mega {
    display: grid;
    background: #2a1220;
    border: 1px solid rgba(215, 189, 141, 0.22);
    border-radius: 16px;
    padding: 8px 14px 12px;
    margin: 6px 0 10px;
    max-height: none;
    overflow: visible;
  }
  .mega a {
    color: #fff8f2;
    border-bottom-color: rgba(255,255,255,0.14);
  }
  .mega a:hover, .mega a:focus { color: #fff; background: rgba(255,255,255,0.1); }
  .mega .mega-title {
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f6e7c1;
    line-height: 1.3;
    overflow-wrap: anywhere;
    border-bottom: 0;
    padding-top: 10px;
  }
  .svo-grid, .svo-mosaic { grid-template-columns: 1fr; }
  .svo-mosaic { grid-template-rows: 240px 140px 140px; }
  .svo-main { grid-row: auto; }
  .cats { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .stone-grid, .product-grid, .card-grid, .benefits, .mosaic, .works { grid-template-columns: 1fr 1fr; }
  .cat-card, .cat-card:first-child {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    grid-column: auto;
    min-height: 0;
    height: auto;
    overflow: hidden;
  }
  .cat-card img, .cat-card .ph {
    position: relative;
    inset: auto;
    width: 100%;
    height: 148px;
    flex: 0 0 148px;
  }
  .cat-card .shade { display: none; }
  .cat-card strong {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    display: block;
    margin: 0;
    padding: 12px 12px 14px;
    background: #241018;
    color: #f6f1e8;
    font-size: 18px;
    line-height: 1.2;
  }
  .product, .stone { min-width: 0; }
  .product:hover, .stone:hover, .article-card:hover { transform: none; }
  .place-grid { grid-template-columns: 1fr; }
  .place-map iframe { min-height: 280px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .steps, .split, .layout, .product-view, .contacts-grid, .footer-grid, .row-2 { grid-template-columns: 1fr; }
  .section-head, .band-inner { flex-direction: column; align-items: start; }
  .section-head h2, .page-title h1 { font-size: 34px; }
  .kicker { letter-spacing: 0.08em; font-size: 11px; }
  .search { flex-direction: column; }
  .search button { width: 100%; }
  .float-phone { display: none; }
  .dock { display: flex; }
  body { padding-bottom: calc(var(--dock) + 16px); }
  .cookie { bottom: calc(var(--dock) + 16px); }
  .footer { padding-bottom: 24px; }
  .side { position: static; }
}
@media (max-width: 640px) {
  .wrap, .hero-content { width: min(100% - 28px, 1180px); }
  .stone-grid, .card-grid, .benefits, .works, .mosaic { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cats { gap: 10px; }
  .cat-card img, .cat-card .ph { height: 120px; flex-basis: 120px; }
  .cat-card strong { font-size: 16px; padding: 10px 10px 12px; }
  .product div, .stone div { padding: 10px 10px 12px; }
  .product strong, .stone strong { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
  .product .more { font-size: 12px; }
  .hero h1 { font-size: 44px; }
  .hero-stats { gap: 14px; }
  .section { padding: 58px 0; }
  .band-inner { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .slider-track { transition: none; }
}
