:root {
  color-scheme: light;
  --ink: #14161a;
  --ink-2: #1c1f26;
  --ink-3: #262a33;
  --cream: #f7f3ea;
  --cream-2: #efe9db;
  --paper: #fffdf8;
  --text: #23262d;
  --muted: #6c7078;
  --line: #e2dbcb;
  --gold: #c9a45c;
  --gold-deep: #a9853f;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -34px rgba(20, 22, 26, .55);
  --font-display: "Georgia", "Times New Roman", serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}

.skip-link:focus { left: 12px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  text-align: center;
}

.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold);
  color: #1a1609;
  box-shadow: 0 10px 26px -14px rgba(201, 164, 92, .9);
}

.btn-gold:hover { background: #d8b46e; }

/* компактная кнопка в шапке + мягкое привлечение внимания */
.btn-cta {
  position: relative;
  overflow: hidden;
  flex: none;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  animation: cta-breathe 4.2s ease-in-out infinite;
}

.btn-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-160%) skewX(-14deg);
  animation: cta-sheen 4.2s ease-in-out infinite;
  pointer-events: none;
}

/* блик при наведении — для кнопок в контенте */
.btn-sheen {
  position: relative;
  overflow: hidden;
}

.btn-sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .45) 48%, transparent 64%);
  transform: translateX(-130%);
  transition: transform .6s cubic-bezier(.2, .8, .3, 1);
  pointer-events: none;
}

.btn-sheen:hover::after { transform: translateX(130%); }

.btn-sheen:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(201, 164, 92, .95);
}

.btn-cta:hover {
  animation-play-state: paused;
  transform: translateY(-1px) scale(1.02);
  background: #d8b46e;
}

.btn-cta:hover::after {
  animation-play-state: paused;
  opacity: 0;
}

.btn-cta:active { transform: translateY(0) scale(.99); }

@keyframes cta-breathe {
  0%, 100% { box-shadow: 0 6px 16px -12px rgba(201, 164, 92, .9); }
  50% { box-shadow: 0 12px 26px -10px rgba(201, 164, 92, 1); }
}

@keyframes cta-sheen {
  0%, 62% { transform: translateX(-160%) skewX(-14deg); }
  88%, 100% { transform: translateX(360%) skewX(-14deg); }
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20, 22, 26, .22);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(20, 22, 26, .04);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 15.5px;
}

.hero .btn-ghost,
.contacts .btn-ghost {
  color: var(--cream);
  border-color: rgba(247, 243, 234, .35);
}

.hero .btn-ghost:hover,
.contacts .btn-ghost:hover {
  background: rgba(247, 243, 234, .12);
  border-color: var(--cream);
}

/* ---------- шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 248, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -26px rgba(20, 22, 26, .7);
}

.header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px clamp(14px, 2.4vw, 40px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--gold);
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: .01em; }
.logo-text i { font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  overflow: hidden;
}

.nav a {
  position: relative;
  display: inline-block;
  padding: 10px 0 9px;
  margin: 0 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #55595f;
  white-space: nowrap;
  transition: color .25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .32s cubic-bezier(.2, .8, .3, 1);
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a:focus-visible {
  outline-offset: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 12px;
  flex: none;
}

.btn-vk,
.btn-max {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-color: transparent;
  padding-left: 16px;
  box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .9);
}

.btn-vk {
  background: linear-gradient(135deg, #2e93ff 0%, #0077ff 52%, #0059c8 100%);
}

.btn-max {
  background: linear-gradient(120deg, #1b0033 0%, #0d001a 52%, #2a0052 100%);
  background-clip: padding-box;
  border-color: rgba(149, 0, 255, .55);
  color: #ffffff;
}

.btn-max .max-mark img {
  filter: drop-shadow(0 0 6px rgba(0, 191, 255, .55));
}

.max-mark {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  line-height: 0;
}

.max-mark img {
  display: block;
  width: 20px;
  height: 20px;
}

.soc-ico {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-vk::after,
.btn-max::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .38) 48%, transparent 64%);
  transform: translateX(-130%);
  transition: transform .55s ease;
  pointer-events: none;
}

.btn-vk:hover,
.btn-max:hover {
  transform: translateY(-1px);
}

.btn-vk:hover { box-shadow: 0 18px 34px -16px rgba(0, 119, 255, .8); }
.btn-max:hover {
  box-shadow: 0 18px 34px -16px rgba(149, 0, 255, .75);
  background: linear-gradient(120deg, #260047 0%, #140026 52%, #38006b 100%);
}

.btn-vk:hover::after,
.btn-max:hover::after {
  transform: translateX(130%);
}

.btn-vk svg,
.btn-max svg {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25));
}

.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: right;
}

.header-phone span { font-size: 10.5px; color: var(--muted); }
.header-phone b { font-size: 15px; white-space: nowrap; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(201, 164, 92, .16), transparent 46%),
    linear-gradient(160deg, #14161a 0%, #1b1f27 60%, #22262f 100%);
  color: var(--cream);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(38px, 6vw, 78px) clamp(14px, 3vw, 28px) clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}

.eyebrow {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 54px);
  color: #fffdf8;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: #c8cbd2;
  max-width: 52ch;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 22px 0 26px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #e6e2d8;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(201, 164, 92, .28);
  padding: 7px 13px;
  border-radius: 999px;
}

.hero-points li::before {
  content: "✓";
  color: var(--gold);
  font-size: 12px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* компактный список фактов под кнопками */
.hero-facts {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-facts-title {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-facts ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
}

.hero-facts li {
  position: relative;
  padding-left: 15px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #c3c7d0;
}

.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .75;
}



.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--gold);
  font-weight: 400;
}

.hero-stats span {
  font-size: 11.5px;
  line-height: 1.4;
  color: #a9aeb8;
  display: block;
  margin-top: 2px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-art {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 560;
  object-fit: cover;
  display: block;
  border-radius: 26px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
  border: 1px solid rgba(255, 255, 255, .08);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 253, 248, .96);
  color: var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .7);
  font-size: 12px;
}

.float-card b { display: block; font-size: 12.5px; }
.float-card span { color: var(--muted); font-size: 11px; }

.float-card-top { top: 14px; left: -14px; max-width: 250px; }

.float-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4c9c6c;
  box-shadow: 0 0 0 4px rgba(76, 156, 108, .18);
  flex: none;
}

.float-card-bottom {
  bottom: -16px;
  right: 8px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.float-card-bottom b {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold-deep);
}

/* ---------- секции ---------- */

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(46px, 7vw, 88px) clamp(14px, 3vw, 28px);
}

.section-tight { padding-top: clamp(10px, 2vw, 20px); }

/* чередующийся фон на всю ширину окна */
.section-alt {
  background: var(--cream);
  box-shadow: 0 0 0 100vmax var(--cream);
  clip-path: inset(0 -100vmax);
}

.section-head {
  max-width: 66ch;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.section-head h2 {
  font-size: clamp(24px, 3.4vw, 38px);
  margin-bottom: 14px;
}

.section-lead {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 62ch;
}

/* ---------- карточки услуг ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 20px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.33, .9, .3, 1),
    box-shadow .4s cubic-bezier(.33, .9, .3, 1),
    border-color .4s cubic-bezier(.33, .9, .3, 1);
  display: flex;
  flex-direction: column;
}

/* мягкое золотое свечение из угла превью */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 148px;
  background: radial-gradient(circle at 50% 120%, rgba(201, 164, 92, .55), transparent 62%);
  opacity: 0;
  transition: opacity .4s cubic-bezier(.33, .9, .3, 1);
  pointer-events: none;
  z-index: 1;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #ddc9a2;
  box-shadow: 0 30px 56px -34px rgba(20, 22, 26, .5);
}

.card:hover::before { opacity: 1; }

.card:hover .card-art { transform: scale(1.05); }

.card:hover h3 { color: var(--gold-deep); }

.card-art {
  transition: transform .5s cubic-bezier(.33, .9, .3, 1);
}

.card h3 {
  transition: color .35s cubic-bezier(.33, .9, .3, 1);
}

.card .card-price {
  transition: color .35s cubic-bezier(.33, .9, .3, 1);
}

.card:hover .card-price { color: var(--gold); }

.card-art {
  height: 148px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), transparent 60%);
}

.art-matte { background: linear-gradient(170deg, #f4f0e6, #dcd6c8 70%, #cfc8b8); }
.art-matte::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 26px;
  height: 8px;
  background: linear-gradient(90deg, transparent, #fff8e6, transparent);
  box-shadow: 0 0 30px 8px rgba(255, 236, 200, .8);
}

.art-gloss {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .05) 42%, rgba(255, 255, 255, .5) 60%, transparent 75%),
    linear-gradient(160deg, #dfe5ea, #aebbc7 70%, #93a3b1);
}

.art-shadow { background: linear-gradient(160deg, #f2eee4, #ddd7c9); }

.art-shadow::before {
  content: "";
  position: absolute;
  left: 18px; right: 18px; top: 30px; bottom: 30px;
  border: 2px solid #b9b1a0;
  border-radius: 4px;
  box-shadow: inset 0 0 0 6px #fffdf7, inset 0 0 26px rgba(20, 22, 26, .18);
}

.art-light { background: linear-gradient(150deg, #2b2f38, #161920); }

.art-light::before {
  content: "";
  position: absolute;
  left: 12%; right: 12%; top: 44px;
  height: 5px;
  background: #ffe3a8;
  border-radius: 4px;
  box-shadow: 0 0 26px 7px rgba(255, 214, 140, .7);
}

.art-light::after {
  content: "";
  position: absolute;
  left: 46%; top: 8px; bottom: 0;
  width: 4px;
  background: rgba(255, 227, 168, .8);
  box-shadow: 0 0 22px 5px rgba(255, 214, 140, .45);
}

.art-niche { background: linear-gradient(165deg, #f6f2e8, #e0dacb); }

.art-niche::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 30px;
  height: 26px;
  background: linear-gradient(180deg, #cfc7b5, #efe9db);
  border-bottom: 2px solid #b6ae9c;
}

.art-niche::after {
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: 56px; bottom: 0;
  background: repeating-linear-gradient(90deg, #b7c6c0 0 6px, transparent 6px 14px);
  opacity: .7;
}

.art-fabric {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .35) 0 3px, transparent 3px 7px),
    linear-gradient(160deg, #e8e3d6, #cfc7b6);
}

.card h3 {
  font-size: 21px;
  margin: 16px 20px 8px;
}

.card p {
  margin: 0 20px;
  font-size: 14px;
  color: var(--muted);
}

.card .card-price {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 700;
  color: var(--gold-deep);
  font-size: 14px;
}

/* ---------- география ---------- */

.geo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.geo-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .4s cubic-bezier(.33, .9, .3, 1),
    box-shadow .4s cubic-bezier(.33, .9, .3, 1),
    border-color .4s cubic-bezier(.33, .9, .3, 1);
}

.geo-card:hover {
  transform: translateY(-4px);
  border-color: #ddc9a2;
  box-shadow: 0 26px 48px -34px rgba(20, 22, 26, .5);
}

.geo-card h3 {
  font-size: 19px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.geo-list {
  display: grid;
  gap: 8px;
}

.geo-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #4a4e56;
}

.geo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.geo-list-check li::before {
  content: "✓";
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 700;
}

.geo-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- таблица цен ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.price-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px -34px rgba(20, 22, 26, .45);
}

.price-card-head {
  padding: 18px 22px 16px;
  background: linear-gradient(180deg, var(--cream), var(--paper));
  border-bottom: 1px solid var(--line);
}

.price-card-head h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.price-card-head p {
  font-size: 12px;
  color: var(--muted);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

.price-table thead th {
  text-align: left;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 11px 22px;
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

.price-table thead th:last-child { text-align: right; }

.price-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.35;
  vertical-align: top;
}

.price-table tbody td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  vertical-align: top;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr {
  transition: background .4s cubic-bezier(.4, 0, .2, 1);
}

.price-table tbody tr:hover {
  background: var(--cream);
}

.price-cell {
  white-space: nowrap;
  font-weight: 700;
  color: var(--gold-deep) !important;
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-size: 14.5px !important;
}

/* вторая таблица: две колонки, цена справа */
.price-table-extra { table-layout: auto; }

.price-table-extra tbody th {
  font-weight: 500;
  font-size: 13.5px;
  padding: 12px 22px;
}

.price-table-extra tbody td {
  padding: 12px 22px;
  font-size: 13.5px;
}

.price-note {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--muted);
  max-width: 78ch;
  line-height: 1.5;
}

/* ---------- калькулятор ---------- */

.calc-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(201, 164, 92, .14), transparent 45%),
    linear-gradient(180deg, #16181e, #1e222a);
  color: var(--cream);
  padding: clamp(46px, 7vw, 84px) 0;
}

.calc-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.calc-copy h2 {
  color: #fffdf8;
  font-size: clamp(24px, 3.4vw, 38px);
  margin-bottom: 14px;
}

.calc-copy .section-lead { color: #b9bec8; }

.calc-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.calc-notes li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: #a8aeba;
  line-height: 1.5;
}

.calc-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.calc-card {
  background: #f9f6ee;
  color: var(--text);
  border-radius: 26px;
  padding: clamp(18px, 2.6vw, 28px);
  box-shadow: 0 40px 90px -46px rgba(0, 0, 0, .9);
  border: 1px solid rgba(201, 164, 92, .3);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-area { grid-column: 1 / -1; }

.calc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.calc-field label,
.calc-field > span {
  font-size: 12px;
  font-weight: 600;
  color: #5f636b;
  letter-spacing: .01em;
}

.calc-field input[type="number"],
.calc-field select {
  font: inherit;
  font-size: 15px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid #d9d2c1;
  background: #fffdf8;
  color: var(--text);
  width: 100%;
  min-width: 0;
}

.calc-field input:focus,
.calc-field select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 164, 92, .22);
}

.area-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.area-row input[type="range"] {
  flex: 1;
  min-width: 0;
  accent-color: var(--gold-deep);
  height: 26px;
}

.area-row input[type="number"] {
  width: 88px;
  flex: none;
  text-align: center;
  font-weight: 600;
}

/* ---------- выбор цвета ---------- */

.calc-color { grid-column: 1 / -1; }

.color-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid #d9d2c1;
  background: #fffdf8;
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.color-toggle:hover { border-color: var(--gold); }

.color-toggle[aria-expanded="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, .2);
}

.color-chip {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: none;
  background: var(--c, #fff);
  border: 1px solid rgba(20, 22, 26, .16);
  box-shadow: inset 0 -6px 10px -6px rgba(0, 0, 0, .3);
  transition: background .2s ease;
}

.color-toggle-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.color-toggle-text b { font-size: 14.5px; font-weight: 600; }
.color-toggle-text i { font-style: normal; font-size: 11px; color: #8a8e96; }

.color-arrow {
  margin-left: auto;
  color: #8a8e96;
  display: grid;
  place-items: center;
  transition: transform .25s ease;
}

.color-toggle[aria-expanded="true"] .color-arrow { transform: rotate(180deg); }

.calc-color { position: relative; }

.color-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  padding: 0 12px;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .35s cubic-bezier(.4, 0, .2, 1), opacity .25s ease,
    transform .3s ease, padding .25s ease, border-color .25s ease;
  border-radius: 14px;
  background: #fffdf8;
  border: 1px solid transparent;
  box-shadow: 0 30px 60px -28px rgba(20, 22, 26, .55);
  overflow: hidden;
}

.color-panel.is-open {
  max-height: 380px;
  opacity: 1;
  transform: translateY(0);
  padding: 12px;
  border-color: #e6dfcd;
  overflow-y: auto;
}

.color-panel-inner { padding: 12px; }

.color-hint {
  font-size: 11px;
  color: #8a8e96;
  line-height: 1.4;
  margin-bottom: 10px;
}

.color-group + .color-group { margin-top: 12px; }

.color-group-name {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8a8e96;
  margin-bottom: 7px;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
  gap: 7px;
}

.swatch {
  appearance: none;
  border: 1px solid #e2dbcb;
  background: #fffdf8;
  border-radius: 11px;
  padding: 6px 4px 5px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.swatch:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.swatch.is-active {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 2px rgba(201, 164, 92, .3);
}

.swatch-color {
  width: 100%;
  height: 30px;
  border-radius: 7px;
  background: var(--c);
  border: 1px solid rgba(20, 22, 26, .12);
  box-shadow: inset 0 -8px 12px -8px rgba(0, 0, 0, .35);
}

.swatch-name {
  font-size: 9.5px;
  line-height: 1.2;
  color: #5f636b;
  text-align: center;
}

/* ---------- extras ---------- */

.calc-extras {
  border: 1px dashed #d9d2c1;
  border-radius: 14px;
  padding: 12px 14px 14px;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}

.calc-extras legend {
  font-size: 12px;
  font-weight: 600;
  color: #5f636b;
  padding: 0 6px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.35;
}

.check input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--gold-deep);
  flex: none;
}

.calc-result {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #ded7c6;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  transition: min-height .35s cubic-bezier(.2, .8, .3, 1);
}

.calc-breakdown.is-anim .calc-line {
  animation: calc-line-in .75s cubic-bezier(.33, .9, .3, 1) both;
}

.calc-breakdown.is-anim .calc-line:nth-child(1) { animation-delay: .02s; }
.calc-breakdown.is-anim .calc-line:nth-child(2) { animation-delay: .07s; }
.calc-breakdown.is-anim .calc-line:nth-child(3) { animation-delay: .12s; }
.calc-breakdown.is-anim .calc-line:nth-child(4) { animation-delay: .17s; }
.calc-breakdown.is-anim .calc-line:nth-child(5) { animation-delay: .22s; }
.calc-breakdown.is-anim .calc-line:nth-child(6) { animation-delay: .27s; }
.calc-breakdown.is-anim .calc-line:nth-child(7) { animation-delay: .32s; }
.calc-breakdown.is-anim .calc-line:nth-child(8) { animation-delay: .37s; }
.calc-breakdown.is-anim .calc-line:nth-child(9) { animation-delay: .42s; }
.calc-breakdown.is-anim .calc-line:nth-child(10) { animation-delay: .47s; }

@keyframes calc-line-in {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calc-total strong {
  transition: color .3s ease;
}

.calc-total.is-updating strong {
  color: var(--gold-deep);
}

.calc-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #5f636b;
}

.calc-line span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--text);
}

.calc-line.is-discount span:last-child { color: #3f7d57; font-weight: 600; }

.calc-total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fffdf8;
  border: 1px solid #e6dfcd;
  border-radius: 16px;
  padding: 14px 16px;
}

.calc-total-sum { min-width: 140px; }

.calc-submit-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  flex: 1 1 100%;
  max-width: none;
}

.calc-consent-check {
  max-width: none;
  flex: 0 0 auto;
  font-size: 10px;
  line-height: 1.4;
}

.calc-submit-row .btn {
  width: 100%;
  padding-block: 13px;
}

.calc-hint {
  flex-basis: 100%;
  margin: 0;
  font-size: 10.5px;
  color: #a33d2f;
  text-align: right;
}

.calc-total-label {
  display: block;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7b7f86;
}

.calc-total strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

.calc-per-m2 { font-size: 12px; color: #7b7f86; }

.calc-consent {
  margin-top: 12px;
  font-size: 10.5px;
  line-height: 1.45;
  color: #7b7f86;
}

.calc-disclaimer {
  margin-top: 6px;
  font-size: 11px;
  color: #8a8e96;
  line-height: 1.45;
}

/* ---------- примерка комнаты ---------- */

.preview-section { background: var(--paper); }

.preview-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
  gap: 20px;
  align-items: start;
}

.preview-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f1115;
  box-shadow: 0 30px 60px -40px rgba(20, 22, 26, .7);
}

.preview-stage svg {
  display: block;
  width: 100%;
  height: auto;
}

#pv-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: default;
  z-index: 2;
}

.check-count {
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.check-count input {
  width: 58px;
  flex: none;
  font: inherit;
  font-size: 13px;
  padding: 5px 8px;
  border-radius: 9px;
  border: 1px solid #d9d2c1;
  background: #fffdf8;
  color: var(--text);
  text-align: center;
}

.preview-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: #f2eee4;
  background: rgba(20, 22, 26, .62);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 4px 11px;
  backdrop-filter: blur(6px);
}

.preview-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.preview-extras { margin: 0; }

.preview-cta { width: 100%; }

.preview-grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.preview-grid .calc-area { grid-column: 1 / -1; }

.preview-info {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  font-size: 10.5px;
  letter-spacing: .03em;
  color: #f2eee4;
  background: rgba(20, 22, 26, .62);
  border: 1px solid rgba(201, 164, 92, .35);
  border-radius: 999px;
  padding: 4px 11px;
  backdrop-filter: blur(6px);
  max-width: calc(100% - 28px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 560px) {
  .preview-grid { grid-template-columns: 1fr; }
  .preview-badge { display: none; }
}

@media (max-width: 1020px) {
  .preview-wrap { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- галерея-слайдер ---------- */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 500;
  color: #4a4e56;
  cursor: pointer;
  transition: color .5s cubic-bezier(.4, 0, .2, 1),
    border-color .5s cubic-bezier(.4, 0, .2, 1),
    background .5s cubic-bezier(.4, 0, .2, 1),
    transform .5s cubic-bezier(.4, 0, .2, 1),
    box-shadow .5s cubic-bezier(.4, 0, .2, 1);
}

.filter:hover {
  color: var(--ink);
  border-color: #d8c8a6;
  background: var(--cream-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -20px rgba(20, 22, 26, .55);
}

.filter:active {
  transform: translateY(0);
  transition-duration: .18s;
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  box-shadow: 0 10px 22px -18px rgba(20, 22, 26, .8);
  transition-duration: .55s;
}

.filter.is-active:hover {
  background: #23262d;
  border-color: var(--gold);
  color: #fffdf8;
}

.slider {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slider-view {
  position: relative;
  background: #101318;
  min-height: 320px;
  display: flex;
}

.slider-media {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 7;
  overflow: hidden;
}

.slider-media svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide svg { width: 100%; height: 100%; display: block; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(20, 22, 26, .5);
  color: #fffdf8;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .18s ease, border-color .18s ease;
}

.slider-arrow:hover {
  background: rgba(20, 22, 26, .8);
  border-color: var(--gold);
}

.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }

.slider-counter {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #f4f0e6;
  background: rgba(20, 22, 26, .6);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 4px 11px;
  backdrop-filter: blur(6px);
}

.slider-info {
  padding: clamp(18px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8, #faf6ed);
}

.slider-room {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}

.slider-info h3 {
  font-size: clamp(20px, 2.2vw, 26px);
}

.slider-note {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.slider-specs {
  display: grid;
  gap: 7px;
  margin: 4px 0 0;
}

.slider-specs div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}

.slider-specs dt {
  font-size: 11.5px;
  color: var(--muted);
  flex: none;
}

.slider-specs dd {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  text-align: right;
  color: var(--ink);
}

.slider-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.slider-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #d6cebc;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.slider-dot:hover { background: var(--gold); }

.slider-dot.is-active {
  background: var(--gold-deep);
  transform: scale(1.35);
}

.gallery-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- шаги ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s ease,
    border-color .3s ease, background .3s ease;
}

.steps li:hover {
  transform: translateY(-4px);
  background: var(--cream);
  border-color: #ddc9a2;
  box-shadow: 0 24px 44px -30px rgba(20, 22, 26, .5);
}

.steps li:hover .step-num {
  color: var(--gold-deep);
  transform: translateY(-2px);
}

.step-num { transition: color .3s ease, transform .3s cubic-bezier(.2, .8, .3, 1); }

.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 8px;
}

.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 13.5px; color: var(--muted); }

/* ---------- отзывы ---------- */

.reviews-section {
  background: var(--paper);
}

.reviews-section.section-alt {
  background: var(--cream);
  box-shadow: 0 0 0 100vmax var(--cream);
  clip-path: inset(0 -100vmax);
}

.reviews-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(46px, 7vw, 82px) clamp(14px, 3vw, 28px);
}

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.reviews-head h2 {
  font-size: clamp(24px, 3.4vw, 38px);
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 16px;
}

.rating-summary strong {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.rating-summary span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #e8a92c;
  font-size: 14px;
  line-height: 1;
  transition: transform .25s ease, color .25s ease;
}

.stars-lg { font-size: 17px; margin-bottom: 3px; gap: 3px; }

.star {
  display: inline-block;
  color: #e8a92c;
  text-shadow: 0 1px 0 rgba(150, 100, 10, .22);
  animation: star-glow 4.6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .22s);
}

.star.is-empty {
  color: #d9cdb4;
  text-shadow: none;
  animation: none;
}

.stars-five .star {
  animation-name: star-glow-strong;
  animation-duration: 3.6s;
}

@keyframes star-glow {
  0%, 100% {
    color: #e8a92c;
    text-shadow: 0 1px 0 rgba(150, 100, 10, .22);
  }
  50% {
    color: #f2b63f;
    text-shadow: 0 0 6px rgba(242, 182, 63, .45), 0 1px 0 rgba(150, 100, 10, .18);
  }
}

@keyframes star-glow-strong {
  0%, 100% {
    color: #e8a92c;
    text-shadow: 0 1px 0 rgba(150, 100, 10, .22);
  }
  45% {
    color: #f6c34a;
    text-shadow: 0 0 9px rgba(246, 195, 74, .7), 0 0 16px rgba(255, 190, 60, .3);
  }
  75% {
    color: #efb23a;
    text-shadow: 0 0 5px rgba(239, 178, 58, .35);
  }
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.review {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 18px 40px -34px rgba(20, 22, 26, .6);
  transition: transform .28s cubic-bezier(.2, .8, .3, 1), box-shadow .28s ease,
    border-color .28s ease, background .28s ease;
}

.review::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 22% 0%, rgba(201, 164, 92, .18), transparent 62%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.review:hover {
  transform: translateY(-5px);
  border-color: #ddc9a2;
  box-shadow: 0 30px 52px -32px rgba(20, 22, 26, .55);
}

.review:hover::before { opacity: 1; }

.review:hover .avatar {
  transform: rotate(-7deg) scale(1.08);
  background: linear-gradient(150deg, #f7edd4, #e5d5ae);
}

.review:hover .stars {
  color: #f6c34a;
}

.review:hover .star {
  text-shadow: 0 0 8px rgba(246, 195, 74, .6), 0 1px 0 rgba(150, 100, 10, .18);
}

.review:hover .review-text { color: var(--ink); }

.review:hover .review-order { color: #8a6a2c; }

.avatar {
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), background .3s ease;
}

.review-text { transition: color .25s ease; }
.review-order { transition: color .25s ease; }

.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #f3e7cc, #e0d2b4);
  color: #7a6435;
  font-family: var(--font-display);
  font-size: 16px;
  border: 1px solid #e4d8bd;
}

.review-person { min-width: 0; flex: 1; }
.review-person b { display: block; font-size: 14px; font-weight: 700; }
.review-person span { font-size: 11px; color: var(--muted); }

.review-date {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.review-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #3d4148;
}

.review-order {
  margin-top: auto;
  font-size: 11px;
  color: var(--gold-deep);
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}

.reviews-note {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.faq-head { margin-bottom: 0; position: sticky; top: 100px; }

.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: none;
  border: 0;
  padding: 18px 2px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: color .45s cubic-bezier(.4, 0, .2, 1),
    padding-left .45s cubic-bezier(.4, 0, .2, 1);
}

.faq-q::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  border-radius: 2px;
  background: var(--gold);
  transform: translateY(-50%);
  transition: height .45s cubic-bezier(.4, 0, .2, 1);
}

.faq-q:hover {
  color: var(--gold-deep);
  padding-left: 12px;
}

.faq-q:hover::before { height: 60%; }

.faq-q:hover i {
  border-color: var(--gold);
  background: rgba(201, 164, 92, .12);
  transform: rotate(90deg);
}

.faq-q i {
  transition: background .45s cubic-bezier(.4, 0, .2, 1),
    border-color .45s cubic-bezier(.4, 0, .2, 1),
    transform .45s cubic-bezier(.4, 0, .2, 1);
}

.faq-q[aria-expanded="true"]:hover i {
  transform: rotate(0);
}

.faq-q i {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  border: 1px solid #cfc7b5;
  transition: background .2s ease, border-color .2s ease;
}

.faq-q i::before,
.faq-q i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}

.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-q[aria-expanded="true"] i { background: var(--gold); border-color: var(--gold); }
.faq-q[aria-expanded="true"] i::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .45s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
}

.faq-a > p {
  font-size: 14px;
  color: var(--muted);
  padding-right: 30px;
}

.faq-a > p:last-child { padding-bottom: 18px; }

.faq-item.is-open .faq-a {
  max-height: 460px;
  opacity: 1;
}

.faq-expert {
  font-size: 11px !important;
  color: var(--gold-deep) !important;
  letter-spacing: .02em;
  margin-top: 8px;
}

.faq-expert::before {
  content: "— ";
}

.contact-address {
  font-style: normal;
  display: block;
}

.price-updated {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: none;
}

/* ---------- контакты ---------- */

.contacts {
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 164, 92, .18), transparent 44%),
    linear-gradient(165deg, #15171c, #21252d);
  color: var(--cream);
  padding: clamp(46px, 7vw, 84px) 0;
}

.contacts-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.contacts h2 {
  color: #fffdf8;
  font-size: clamp(24px, 3.4vw, 36px);
  margin-bottom: 14px;
}

.contacts-lead { color: #b6bbc5; font-size: 15px; max-width: 52ch; }

.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-ico {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(201, 164, 92, .3);
  font-size: 16px;
}

.contact-list b {
  display: block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1px;
}

.contact-list div > span,
.contact-list a {
  font-size: 14.5px;
  color: #e8e4da;
}

.contact-list a {
  display: inline-block;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: color .28s ease, background-size .34s cubic-bezier(.2, .8, .3, 1);
}

.contact-list a:hover {
  color: var(--gold);
  background-size: 100% 1px;
}

.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.messenger-note {
  font-size: 12px;
  color: #a4a9b3;
  margin-bottom: 20px;
}

.messenger-note a { color: var(--gold); }
.messenger-note a:hover { text-decoration: underline; }

.map {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #e8e4d8;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8);
}

.map svg { display: block; width: 100%; height: auto; }

/* карта в сетке контактов */
.contacts-left { order: 1; }
.contacts-right { order: 2; }

.contacts-map {
  order: 3;
  grid-column: 1 / -1;
  margin-top: 6px;
}

.contacts-map .map {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8);
}

.contacts-map .map svg {
  width: 100%;
  height: clamp(220px, 24vw, 340px);
}

.contacts-map .map-tag {
  left: 14px;
  bottom: 14px;
}

.map-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(20, 22, 26, .78);
  color: #f2eee4;
  font-size: 10.5px;
  padding: 4px 9px;
  border-radius: 8px;
  letter-spacing: .02em;
}

.lead-form {
  background: #f9f6ee;
  color: var(--text);
  border-radius: 24px;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid rgba(201, 164, 92, .3);
  box-shadow: 0 40px 90px -46px rgba(0, 0, 0, .9);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-form h3 { font-size: 22px; }

.form-sub { font-size: 13px; color: var(--muted); margin-top: -6px; }

.field { display: flex; flex-direction: column; gap: 5px; }

.field > span {
  font-size: 12px;
  font-weight: 600;
  color: #5f636b;
}

.field b { color: #b0483a; }

.field input,
.field textarea {
  font: inherit;
  font-size: 14.5px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid #d9d2c1;
  background: #fffdf8;
  color: var(--text);
  width: 100%;
  min-width: 0;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 164, 92, .22);
}

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 11.5px;
  line-height: 1.45;
  color: #6f737b;
  cursor: pointer;
}

.consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--gold-deep);
  flex: none;
}

.form-error {
  margin: 0;
  font-size: 12.5px;
  color: #a33d2f;
  background: #fbeae6;
  border: 1px solid #f0cdc4;
  border-radius: 10px;
  padding: 8px 11px;
}

.form-submit { width: 100%; }

.form-note {
  font-size: 10.5px;
  color: #8a8e96;
  text-align: center;
  line-height: 1.4;
}

.form-success {
  background: #f9f6ee;
  color: var(--text);
  border-radius: 24px;
  padding: 32px 26px;
  border: 1px solid rgba(201, 164, 92, .3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.success-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6f2e6;
  color: #3f7d57;
  font-size: 24px;
  border: 1px solid #cbe2cc;
}

.form-success h3 { font-size: 22px; }
.form-success p { font-size: 13.5px; color: var(--muted); max-width: 34ch; }

/* ---------- подвал ---------- */

.footer {
  background: #0f1115;
  color: #9aa0aa;
  padding: 34px 0 22px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.footer-brand b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: #f4f0e6;
  margin-bottom: 6px;
}

.footer-brand p { font-size: 12.5px; line-height: 1.55; max-width: 40ch; }

.footer-nav { display: flex; flex-direction: column; gap: 7px; font-size: 13px; }

.footer-nav a,
.footer-contacts a {
  align-self: flex-start;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: color .28s ease, background-size .34s cubic-bezier(.2, .8, .3, 1);
}

.footer-nav a:hover,
.footer-contacts a:hover {
  color: var(--gold);
  background-size: 100% 1px;
}

.footer-contacts { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.footer-contacts > a:first-child { color: #f4f0e6; font-size: 15px; font-weight: 600; }

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px 7px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #e9e5db;
  border: 1px solid #2b2f37;
  background: #171a20;
  transition: transform .18s ease, border-color .18s ease, background .18s ease,
    box-shadow .18s ease;
}

.footer-socials a:hover { transform: translateY(-2px); }
.footer-socials svg { flex: none; }

.footer-socials .soc-vk svg { color: #4da3ff; }
.footer-socials .soc-max svg { color: #b479ff; }

.footer-socials .soc-vk:hover {
  border-color: #0077ff;
  background: rgba(0, 119, 255, .18);
  box-shadow: 0 10px 22px -14px rgba(0, 119, 255, .9);
}

.footer-socials .soc-max:hover {
  border-color: #9500ff;
  background: rgba(149, 0, 255, .2);
  box-shadow: 0 10px 22px -14px rgba(149, 0, 255, .9);
}

.footer-bottom {
  max-width: var(--maxw);
  margin: 22px auto 0;
  padding: 14px clamp(14px, 3vw, 28px) 0;
  border-top: 1px solid #23262d;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #6f747d;
}

/* ---------- появление при прокрутке ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .8, .3, 1),
    transform .7s cubic-bezier(.2, .8, .3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* мягкий вариант для крупных блоков */
.reveal-soft {
  opacity: 0;
  transform: translateY(14px) scale(.995);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .3, 1);
}

.reveal-soft.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* каскад для сеток и списков */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.2, .8, .3, 1),
    transform .6s cubic-bezier(.2, .8, .3, 1);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .22s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .34s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .4s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .46s; }

/* ---------- адаптив ---------- */

@media (max-width: 1340px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 14px 16px;
    display: none;
    box-shadow: 0 20px 30px -24px rgba(20, 22, 26, .5);
  }

  .nav.is-open { display: flex; }
  .nav a {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    letter-spacing: .07em;
  }
  .nav a::after { display: none; }
  .nav a:hover { background: var(--cream-2); }
  .burger { display: flex; }
  .header-phone { display: none; }
  .header-inner { grid-template-columns: auto minmax(0, 1fr); }
}

@media (max-width: 1020px) {
  .hero-inner,
  .calc-inner,
  .contacts-inner,
  .faq-wrap,
  .slider {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-head { position: static; }
  .hero-visual { max-width: 560px; }
  .float-card-top { left: 4px; }

  .price-wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .price-table thead th,
  .price-table tbody th,
  .price-table tbody td { padding-left: 16px; padding-right: 16px; }
  .price-card-head { padding: 16px 16px 14px; }

  .slider-view { min-height: 280px; }
  .slider-info { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .header-inner { gap: 10px; padding: 9px 12px; }
  .logo-text i { display: none; }
  .logo-mark { width: 36px; height: 36px; border-radius: 11px; }
  .logo-text b { font-size: 19px; }
  .header-actions .btn-gold { display: none; }

  .hero-stats { grid-template-columns: 1fr; gap: 10px; }
  .hero-stats div { display: flex; align-items: baseline; gap: 8px; }
  .hero-stats b { font-size: 20px; }
  .hero-stats span { margin: 0; }

  .hero-facts ul { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .hero-facts { margin-top: 20px; padding-top: 16px; }

  .float-card-bottom { right: 0; bottom: -10px; }
  .float-card-top { top: 8px; left: 0; padding: 8px 10px; }

  .calc-grid,
  .calc-extras { grid-template-columns: 1fr; }

  .calc-total { flex-direction: column; align-items: stretch; }
  .calc-submit-row { flex: 1 1 100%; max-width: none; }
  .calc-submit-row .btn { width: 100%; }
  .calc-consent-check { max-width: none; flex: 1 1 100%; }
  .calc-hint { text-align: left; }
  .color-panel.is-open { max-height: 300px; }

  .footer-inner { grid-template-columns: 1fr; gap: 18px; }

  .cards { gap: 12px; }

  .slider-view { min-height: 220px; }
  .slider-arrow { width: 38px; height: 38px; }
  .slider-arrow.prev { left: 8px; }
  .slider-arrow.next { right: 8px; }
  .slider-nav { flex-direction: column; align-items: stretch; }
  .slider-nav .btn { width: 100%; }

  .reviews-head { align-items: flex-start; }
  .rating-summary { width: 100%; justify-content: flex-start; }

  .section, .section-tight { padding-left: 14px; padding-right: 14px; }
  .swatches { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); }
}

@media (max-width: 380px) {
  .btn { padding: 10px 16px; font-size: 14px; }
  .hero-points li { font-size: 12px; padding: 6px 10px; }
  .review { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
