/* 1xbet748f.buzz — Икс-Мозаика: мастерская византийской золотой мозаики. Палитра: тёмная лазурь + золото смальты + меандр-терракота */

:root {
  --bg: #08131a;
  --bg-2: #0d1e28;
  --bg-3: #123040;
  --line: #1c3a48;
  --line-2: #2b5566;
  --txt: #eaf1f4;
  --txt-d: #a7bcc6;
  --txt-dd: #69838f;
  --gold: #e0b13c;
  --lapis: #3d6ea8;
  --teal: #1f7a72;
  --hot: #d4592e;
  --good: #57c9a0;
  --cta-a: #ecc255;
  --cta-b: #1f7a72;
  --r: 12px;
  --r-s: 8px;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  font: 16px/1.62 "PT Serif", Georgia, "Times New Roman", serif;
  color: var(--txt);
  background:
    radial-gradient(1000px 580px at 92% -10%, rgba(224, 177, 60, .13) 0%, transparent 62%),
    radial-gradient(820px 580px at -10% 60%, rgba(31, 122, 114, .10) 0%, transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto }
a { color: var(--gold); text-decoration: none }
a:hover { text-decoration: underline }

.tessjump {
  position: absolute; top: -42px; left: 8px;
  padding: 8px 12px; background: var(--gold); color: #08131a;
  border-radius: 6px; z-index: 100; font-weight: 700;
}
.tessjump:focus { top: 8px }

/* ===== HEADER BAR ===== */
.mosbar {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 19, 26, .84);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 50;
}
.mosbar__brand { display: flex; align-items: center; gap: 11px; color: var(--txt) }
.mosbar__brand:hover { text-decoration: none }
.mosbar__glyph {
  width: 30px; height: 30px; flex: none;
  filter: drop-shadow(0 0 10px rgba(224, 177, 60, .55));
}
.mosbar__name {
  font-family: "Playfair Display SC", Georgia, serif;
  font-weight: 700; line-height: 1; letter-spacing: -.3px;
}
.mosbar__tag {
  display: block; font-size: 10px; color: var(--txt-d);
  letter-spacing: 2.4px; font-weight: 700; margin-top: 4px;
  text-transform: uppercase;
}
.andamrow--nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap }
.andamrow--nav a {
  color: var(--txt-d); font-size: 14px; padding: 4px 0;
  border-bottom: 1px solid transparent; transition: color .15s, border-color .15s;
}
.andamrow--nav a:hover { color: var(--gold); border-bottom-color: var(--gold); text-decoration: none }

/* ===== CTA (settbtn) ===== */
.settbtn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 8px;
  font-family: "Playfair Display SC", Georgia, serif;
  font-weight: 700; font-size: 14px;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s;
  cursor: pointer; letter-spacing: -.1px;
}
.settbtn:hover { text-decoration: none; transform: translateY(-1px) }
.settbtn--mini { background: var(--bg-3); color: var(--txt); border-color: var(--line) }
.settbtn--mini:hover { background: var(--bg-2); border-color: var(--gold) }
.settbtn--big { padding: 15px 28px; font-size: 15px; border-radius: 10px }
.settbtn--hot {
  background: linear-gradient(120deg, var(--cta-a) 0%, var(--cta-b) 100%);
  color: #08131a; border: 0;
  box-shadow: 0 12px 30px -10px rgba(224, 177, 60, .7);
  font-weight: 700;
}
.settbtn--hot:hover { box-shadow: 0 16px 38px -8px rgba(224, 177, 60, .92) }
.settbtn--ghost { background: transparent; color: var(--txt); border-color: var(--line) }
.settbtn--ghost:hover { border-color: var(--gold); color: var(--gold) }

/* ===== AGGREGATE COUNTER STRIP (наборный пульт) ===== */
.tessstrip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; padding: 10px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(224, 177, 60, .05), rgba(31, 122, 114, .04));
  font-size: 13px;
}
.tessstrip__cell {
  display: flex; flex-direction: column; gap: 2px;
  padding: 6px 14px;
  border-right: 1px solid var(--line);
  align-items: flex-start;
}
.tessstrip__cell:last-child { border-right: 0 }
.tessstrip__num {
  font-family: "Playfair Display SC", Georgia, serif;
  font-weight: 700; font-size: 15px; color: var(--gold);
  letter-spacing: -.2px;
}
.tessstrip__lbl { font-size: 11px; color: var(--txt-d); letter-spacing: .6px; text-transform: uppercase }

/* ===== HERO (goldgroundbar) ===== */
.goldgroundbar {
  display: grid; grid-template-columns: 1.18fr 1fr; gap: 36px;
  padding: 48px 22px 32px;
  max-width: 1240px; margin: 0 auto;
  align-items: center;
}
.gilttag {
  display: inline-block;
  font-size: 11px; letter-spacing: 1.4px; color: var(--gold);
  background: rgba(224, 177, 60, .08);
  border: 1px solid rgba(224, 177, 60, .28);
  padding: 6px 12px; border-radius: 4px;
  margin: 0 0 18px;
  text-transform: uppercase; font-weight: 700;
}
h1 {
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08;
  margin: 0 0 18px; letter-spacing: -.6px; font-weight: 900;
}
.gold { color: var(--gold) }
.goldgroundbar__sub {
  color: var(--txt-d); font-size: 16px; margin: 0 0 14px; line-height: 1.65;
}
.goldgroundbar__btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 28px }
.figurbox--hero { margin: 0 }
.figurbox--hero svg {
  display: block; width: 100%; height: auto;
  border-radius: var(--r); border: 1px solid var(--line);
  background:
    radial-gradient(420px 320px at 28% 30%, rgba(224, 177, 60, .22), transparent 60%),
    radial-gradient(360px 280px at 78% 78%, rgba(31, 122, 114, .18), transparent 65%),
    linear-gradient(135deg, #0c1c26 0%, #123040 100%);
  aspect-ratio: 16 / 11;
  box-shadow: 0 24px 64px -22px rgba(224, 177, 60, .4);
}
.figurbox--hero figcaption {
  margin-top: 12px; font-size: 12px; color: var(--txt-dd);
  font-style: italic; text-align: right;
}

/* KPI inline (micarow) */
.micarow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 18px 0 0; border-top: 1px solid var(--line);
}
.micarow__item { display: flex; flex-direction: column; gap: 2px }
.micarow__num {
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 26px; font-weight: 700;
  color: var(--gold); letter-spacing: -.6px;
}
.micarow__lbl { font-size: 11px; color: var(--txt-d); text-transform: uppercase; letter-spacing: 1.2px }

/* ===== SECTIONS GENERAL ===== */
section {
  max-width: 1240px; margin: 0 auto;
  padding: 56px 22px;
}
section.goldgroundbar, section.smaltbox--welcome { padding-top: 36px }
.opustag {
  display: inline-block;
  font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--teal); font-weight: 700;
  margin: 0 0 10px;
}
h2 {
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: clamp(24px, 3.2vw, 34px); line-height: 1.2;
  margin: 0 0 16px; letter-spacing: -.4px; font-weight: 700;
}
h3 {
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: clamp(17px, 2vw, 21px); line-height: 1.32;
  margin: 26px 0 10px; color: var(--gold); font-weight: 700; letter-spacing: -.2px;
}
p { margin: 0 0 14px; color: var(--txt) }
.marblerow { color: var(--txt-d); font-size: 16px; margin-bottom: 24px; max-width: 780px }

/* ===== WELCOME ===== */
.smaltbox--welcome {
  background:
    radial-gradient(720px 360px at 82% 28%, rgba(224, 177, 60, .07) 0%, transparent 70%),
    rgba(13, 30, 40, .55);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin: 32px 22px;
  max-width: none;
}
.emblembox {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 22px 0 24px;
}
.cubebox {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .15s;
}
.cubebox:hover { border-color: var(--gold); transform: translateY(-2px) }
.cubebox::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(224, 177, 60, .07), transparent 60%);
  pointer-events: none;
}
.cubebox__step {
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 11px; color: var(--teal); font-weight: 700;
  letter-spacing: 2px; margin-bottom: 8px; text-transform: uppercase;
}
.cubebox__pct {
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 30px; font-weight: 900; line-height: 1;
  color: var(--gold); letter-spacing: -.8px;
  margin-bottom: 8px;
}
.cubebox__title { font-weight: 700; font-size: 15px; margin-bottom: 6px }
.cubebox__sub { font-size: 13px; color: var(--txt-d); line-height: 1.5 }

/* ===== THREE STEPS (cartoonrow) ===== */
.cartoonrow {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 22px;
}
.cartoonrow__cell {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  position: relative;
}
.cartoonrow__num {
  font-family: "Playfair Display SC", Georgia, serif;
  position: absolute; top: 14px; right: 22px;
  font-size: 56px; font-weight: 900; line-height: 1;
  color: var(--bg-3);
}
.cartoonrow__head {
  font-size: 18px; font-weight: 700; margin-bottom: 12px;
  color: var(--gold);
}
.cartoonrow__cell p { color: var(--txt-d); font-size: 14px; margin: 0 }

/* ===== SLOT GRID (tesscard) ===== */
.pietrarow--slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin: 24px 0;
}
.tesscard {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .15s, border-color .2s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.tesscard:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 18px 36px -14px rgba(224, 177, 60, .4);
}
.tesscard__cover {
  width: 100%; aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  font-family: "Playfair Display SC", Georgia, serif;
  font-weight: 700; font-size: 22px; color: rgba(234, 241, 244, .92);
  text-align: center; padding: 14px;
  letter-spacing: -.3px; line-height: 1.15;
  position: relative; overflow: hidden;
}
.tesscard__cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.cv-1 { background: linear-gradient(135deg, #123040 0%, #e0b13c 100%); color: #08131a }
.cv-2 { background: linear-gradient(135deg, #1a2a10 0%, #1f7a72 100%) }
.cv-3 { background: linear-gradient(135deg, #10263a 0%, #3d6ea8 100%) }
.cv-4 { background: linear-gradient(135deg, #3a1e10 0%, #d4592e 100%) }
.cv-5 { background: linear-gradient(135deg, #0e2a26 0%, #57c9a0 100%); color: #08131a }
.cv-6 { background: linear-gradient(135deg, #2a2410 0%, #ecc255 100%); color: #08131a }
.cv-7 { background: linear-gradient(135deg, #10203a 0%, #5f8fd0 100%) }
.cv-8 { background: linear-gradient(135deg, #2a1206 0%, #e08a3c 100%); color: #08131a }
.cv-9 { background: linear-gradient(135deg, #0d2630 0%, #2b8f86 100%) }
.cv-10 { background: linear-gradient(135deg, #1c1408 0%, #e0b13c 100%); color: #08131a }
.cv-11 { background: linear-gradient(135deg, #241030 0%, #7a5ac0 100%) }
.cv-12 { background: linear-gradient(135deg, #102a30 0%, #38b0a0 100%) }

.tesscard h3 { font-size: 15px; margin: 12px 14px 4px; color: var(--txt); font-weight: 700 }
.tesscard p { font-size: 12px; color: var(--txt-d); margin: 0 14px 12px; line-height: 1.4 }
.tesscard__btn {
  display: block; padding: 10px;
  margin: auto 12px 12px;
  background: var(--bg-3); color: var(--txt);
  text-align: center; border-radius: 6px; font-size: 13px; font-weight: 700;
  border: 1px solid var(--line); transition: all .15s;
}
.tesscard__btn:hover { background: var(--gold); border-color: var(--gold); color: #08131a; text-decoration: none }

.chippedrow { margin: 22px 0 0 }
.chippedrow__title { font-size: 12px; color: var(--teal); margin-bottom: 10px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700 }
.chippedrow__list { display: flex; flex-wrap: wrap; gap: 8px }
.chippedrow__list span {
  padding: 6px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px; color: var(--txt-d);
}

/* ===== LOYALTY ===== */
.nichecard__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 22px;
}
.nichecard {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  transition: border-color .2s;
}
.nichecard:hover { border-color: var(--gold) }
.nichecard__h { font-weight: 700; font-size: 17px; margin-bottom: 10px; color: var(--gold) }
.nichecard p { color: var(--txt-d); font-size: 14px; margin: 0; line-height: 1.6 }

/* VIP-лестница как стек ступеней (andamrow) */
.andamrow {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 6px; margin-top: 14px;
}
.andamrow__step {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 8px;
  text-align: center;
  position: relative;
}
.andamrow__step:nth-child(1) { transform: translateY(0) }
.andamrow__step:nth-child(2) { transform: translateY(-4px) }
.andamrow__step:nth-child(3) { transform: translateY(-11px) }
.andamrow__step:nth-child(4) { transform: translateY(-18px); border-color: var(--gold); background: var(--bg-2) }
.andamrow__step:nth-child(5) { transform: translateY(-26px); border-color: var(--gold); background: var(--bg-2) }
.andamrow__step:nth-child(6) { transform: translateY(-34px); border-color: var(--gold); background: linear-gradient(135deg, var(--bg-2), rgba(224, 177, 60, .1)) }
.andamrow__name {
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 12px; font-weight: 700; color: var(--txt);
  display: block; line-height: 1.05; margin-bottom: 5px;
}
.andamrow__cb { font-size: 11px; color: var(--txt-d) }
.andamrow__step:nth-child(6) .andamrow__name { color: var(--gold) }

/* ===== TOUR (figurbox) ===== */
.smaltbox--tour {
  background:
    radial-gradient(640px 360px at 50% 50%, rgba(31, 122, 114, .12) 0%, transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin: 32px 22px; max-width: none;
  text-align: center;
}
.smaltbox--tour .settbtn--big { margin: 22px 0 28px }
.figurbox {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 22px;
}
.figurbox > div {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
}
.figurbox span {
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 22px; font-weight: 700; color: var(--gold);
  margin-bottom: 4px; letter-spacing: -.3px;
}
.figurbox em { font-size: 14px; font-weight: 700; color: var(--txt); font-style: normal }
.figurbox i { font-size: 12px; color: var(--txt-d); font-style: normal; line-height: 1.4 }

/* ===== LIVE GALLERY (smaltorow) ===== */
.smaltorow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px; margin-top: 22px;
}
.smaltorow__box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  transition: transform .15s, border-color .2s, box-shadow .25s;
}
.smaltorow__box:hover {
  transform: translateY(-3px);
  border-color: var(--hot);
  box-shadow: 0 18px 36px -14px rgba(212, 89, 46, .4);
}
.smaltorow__cover {
  width: 100%; aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  font-family: "Playfair Display SC", Georgia, serif;
  font-weight: 700; font-size: 18px; color: rgba(234, 241, 244, .92);
  padding: 12px; text-align: center; letter-spacing: -.2px;
  position: relative; overflow: hidden;
}
.lv-1 { background: linear-gradient(135deg, #2a2008 0%, #e0b13c 100%); color: #08131a }
.lv-2 { background: linear-gradient(135deg, #10263a 0%, #3d6ea8 100%) }
.lv-3 { background: linear-gradient(135deg, #0e2a26 0%, #1f7a72 100%) }
.lv-4 { background: linear-gradient(135deg, #3a1e10 0%, #d4592e 100%) }
.lv-5 { background: linear-gradient(135deg, #10203a 0%, #5f8fd0 100%) }
.lv-6 { background: linear-gradient(135deg, #0e2620 0%, #57c9a0 100%); color: #08131a }

.smaltorow__b { padding: 14px 16px 16px; position: relative }
.smaltorow__t { font-weight: 700; font-size: 16px; margin-bottom: 4px }
.smaltorow__s { font-size: 12px; color: var(--txt-d); margin-bottom: 10px }
.smaltorow__m { font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 4px }
.smaltorow__p { font-size: 12px; color: var(--txt-dd) }
.smaltorow__live {
  position: absolute; top: 12px; right: 16px;
  background: var(--hot); color: #fff;
  padding: 3px 10px; border-radius: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}

/* ===== BRAND OVERVIEW (guiderow) ===== */
.guiderow h3 {
  border-left: 3px solid var(--gold);
  padding-left: 14px; margin-top: 30px;
}
.guiderow p { color: var(--txt); line-height: 1.7 }
.cartellrow {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
}
.cartellrow span {
  padding: 7px 13px;
  background: var(--bg-2);
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 12px; color: var(--txt);
  letter-spacing: .4px;
}

/* ===== REVIEWS (opustag / smaltbox--rev) ===== */
.pietrarow {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 22px;
}
.pietrarow__box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.pietrarow__stars { color: var(--gold); font-size: 16px; letter-spacing: 4px }
.pietrarow__stars--four .star-off { color: var(--line-2) }
.pietrarow__q { font-size: 14px; line-height: 1.6; color: var(--txt); margin: 0 }
.pietrarow__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--txt-d);
  border-top: 1px solid var(--line); padding-top: 14px;
}
.pietrarow__mono {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  border-radius: 50%; color: #08131a; font-weight: 700; font-size: 14px;
  flex: none;
}

/* ===== PAYMENTS (grouterow) ===== */
.grouterow__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  margin: 22px 0 22px;
}
.grouterow__box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 18px 14px;
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.grouterow__box em { font-size: 15px; color: var(--txt); font-weight: 700; font-style: normal }
.grouterow__box i { font-size: 11px; color: var(--txt-d); font-style: normal; text-transform: uppercase; letter-spacing: 1px }

.grouterow__times {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 8px;
}
.grouterow__times > div {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.grouterow__times em {
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 16px; color: var(--gold); font-weight: 700; font-style: normal;
}
.grouterow__times span { font-size: 12px; color: var(--txt-d) }

/* ===== FINAL CTA (smaltbox--final) ===== */
.smaltbox--final {
  text-align: center; padding: 56px 22px;
  background:
    radial-gradient(620px 320px at 50% 50%, rgba(224, 177, 60, .14) 0%, transparent 70%),
    var(--bg-2);
  border-radius: var(--r);
  margin: 32px 22px;
  border: 1px solid var(--line);
  max-width: none;
}
.smaltbox--final h2 { margin-bottom: 10px }
.smaltbox--final p { color: var(--txt-d); margin-bottom: 24px }

/* ===== FAQ (borderrow) ===== */
.smaltbox--faq h2 { margin-bottom: 22px }
.borderrow {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 16px 20px;
  margin: 0 0 10px;
  transition: border-color .2s;
}
.borderrow[open] { border-color: var(--gold) }
.borderrow summary {
  cursor: pointer; font-weight: 700; list-style: none;
  position: relative; padding-right: 32px;
  display: flex; align-items: center; min-height: 24px;
  font-family: "Playfair Display SC", Georgia, serif;
}
.borderrow summary::-webkit-details-marker { display: none }
.borderrow summary::after {
  content: "◇"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  border: 1px solid var(--line); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--gold); font-size: 13px;
  transition: transform .25s;
}
.borderrow[open] summary::after { transform: translateY(-50%) rotate(45deg); border-color: var(--gold) }
.borderrow p { margin: 12px 0 0; color: var(--txt-d); font-size: 15px; line-height: 1.65 }

/* ===== FOOTER (mosfoot) ===== */
.mosfoot {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: rgba(8, 19, 26, .6);
}
.mosfoot__top {
  max-width: 1240px; margin: 0 auto;
  padding: 42px 22px 26px;
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 36px;
}
.mosfoot__brand { font-size: 14px; color: var(--txt-d); line-height: 1.65 }
.mosfoot__logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.mosfoot__logo span { display: flex; flex-direction: column; line-height: 1.1 }
.mosfoot__logo span em { color: var(--txt); font-size: 16px; font-weight: 700; margin-bottom: 2px; font-style: normal }
.mosfoot__legal { font-size: 12px; color: var(--txt-dd); margin: 0; line-height: 1.65 }
.mosfoot__legal span { color: var(--gold) }
.mosfoot__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.mosfoot__col h4 {
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 12px; color: var(--teal); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.6px;
  margin: 0 0 12px;
}
.mosfoot__col ul { list-style: none; padding: 0; margin: 0 }
.mosfoot__col li {
  font-size: 13px; color: var(--txt-d);
  padding: 4px 0; cursor: default;
  transition: color .15s;
}
.mosfoot__col li:hover { color: var(--txt) }
.mosfoot__bottom {
  border-top: 1px solid var(--line);
  padding: 16px 22px;
  max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--txt-dd);
}

/* ===== AUTHOR NOTE (opustag--note) ===== */
.opustag--note {
  max-width: 1240px; margin: 0 auto;
  padding: 12px 22px 40px;
}
.opustag--note div {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--r-s);
  padding: 18px 22px;
  font-size: 13px; color: var(--txt-d); line-height: 1.7;
}
.opustag--note h2 { font-size: 18px; margin-bottom: 10px; color: var(--txt) }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .emblembox { grid-template-columns: repeat(2, 1fr) }
  .grouterow__grid { grid-template-columns: repeat(3, 1fr) }
  .figurbox { grid-template-columns: repeat(2, 1fr) }
  .pietrarow { grid-template-columns: 1fr }
  .mosfoot__top { grid-template-columns: 1fr }
  .tessstrip { grid-template-columns: repeat(3, 1fr) }
  .tessstrip__cell:nth-child(4), .tessstrip__cell:nth-child(5) { border-top: 1px solid var(--line); padding-top: 8px }
  .andamrow { grid-template-columns: repeat(3, 1fr) }
  .andamrow__step { transform: none !important }
}

@media (max-width: 880px) {
  .goldgroundbar { grid-template-columns: 1fr; gap: 24px; padding-top: 32px }
  .figurbox--hero { order: -1 }
  .andamrow--nav { display: none }
  .mosbar { padding: 11px 14px }
  section { padding: 36px 16px }
  .smaltbox--welcome, .smaltbox--tour, .smaltbox--final { padding: 36px 18px; margin: 22px 14px }
  .cartoonrow { grid-template-columns: 1fr }
  .nichecard__grid { grid-template-columns: 1fr }
  .emblembox { grid-template-columns: 1fr }
  .mosfoot__top { padding: 30px 16px 22px; gap: 22px }
  .mosfoot__cols { grid-template-columns: repeat(2, 1fr); gap: 18px }
  .tessstrip { padding: 8px 14px; grid-template-columns: repeat(2, 1fr); font-size: 12px }
  .tessstrip__cell { padding: 4px 10px }
  .grouterow__times { grid-template-columns: 1fr }
  .micarow { grid-template-columns: repeat(2, 1fr) }
}

@media (max-width: 480px) {
  .pietrarow--slots { grid-template-columns: repeat(2, 1fr); gap: 10px }
  .smaltorow { grid-template-columns: 1fr }
  .tesscard h3 { font-size: 13px }
  .tesscard p { font-size: 11px }
  .tesscard__cover { font-size: 16px }
  .goldgroundbar__btns { flex-direction: column; align-items: stretch }
  .settbtn--big { width: 100% }
  .grouterow__grid { grid-template-columns: repeat(2, 1fr) }
  .figurbox { grid-template-columns: 1fr }
  .mosfoot__cols { grid-template-columns: 1fr }
  .andamrow { grid-template-columns: repeat(2, 1fr) }
}
