/* Шкафы да Кухни — шаблон сайта (tpl_shkafy). Copy of site/assets/css/style.css + «Joomla integration» at the end. */

:root {
  --bg: #2a2b2e;
  --bg-2: #313236;
  --card: #37383c;
  --card-2: #3f4045;
  --card-3: #48494e;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .17);
  --text: #f2f1ec;
  --muted: #bdbcb6;
  --dim: #93928c;
  --shade: 36, 37, 40;
  --accent: #ccb766;
  --accent-rgb: 204, 183, 102;
  --accent-2: #dccb85;
  --light: #f3f1ea;
  --danger: #ef8a7a;
  --ok: #9fcf9a;
  --serif: "Raleway", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 8px;
  --r-sm: 6px;
  --r-btn: 4px;
  --gutter: 24px;
  --max: 1240px;
  --header: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
em { font-style: italic; }
b, strong { font-weight: 600; }
::selection { background: var(--accent); color: #111; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.i { flex: none; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--light); color: #111; border-radius: var(--r-btn); transition: top .2s; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 128px) 0 0; }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }
main > .section:last-of-type:not(.cta) { padding-bottom: clamp(72px, 9vw, 128px); }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.h2 em, .hero__title em, .page-hero__title em, .cta__title em, .statement em, .intro__text em { color: var(--muted); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-btn);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tag__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }

.shead { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.shead__lead { margin-top: 16px; color: var(--muted); font-size: 17px; text-wrap: pretty; }
.shead .tag { margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn--light { background: var(--light); color: #121211; }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--card-3); color: var(--text); border-color: var(--line); }
.btn--dark:hover { background: var(--card-2); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(var(--shade), .4); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 14px; }
.link-btn .i { transition: transform .2s var(--ease); }
.link-btn:hover .i { transform: translateX(4px); }
.round-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: var(--r-btn); transition: background-color .2s, border-color .2s; }
.round-btn:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled, .header.is-open { background: rgba(var(--shade), .82); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header); max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.header__logo { flex: none; }
.header__nav { display: flex; gap: 4px; margin: 0 auto; }
.header__nav a { padding: 8px 12px; border-radius: var(--r-btn); color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s, background-color .2s; }
.header__nav a:hover { color: var(--text); }
.header__nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .07); }
.header__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header__phone { font-weight: 600; font-size: 15px; white-space: nowrap; }
.burger { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-btn); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.header.is-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.header.is-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { height: calc(100dvh - var(--header)); overflow-y: auto; padding: 16px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { overflow-wrap: anywhere; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 26px; font-weight: 300; }
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 14px; }
.mobile-menu__phone { font-size: 22px; font-weight: 600; }

.logo { display: block; width: auto; height: 50px; }
.footer__logo .logo { height: 72px; }

/* ---------- Hero: split layout, blueprint grid, framed photo with dimension lines ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header) + clamp(40px, 6vw, 88px)) 0 clamp(48px, 6vw, 80px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
/* Barely visible interior photo under the blueprint grid */
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .1; filter: grayscale(.35); }
.hero__bg::before { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(var(--accent-rgb), .12), transparent 70%),
    linear-gradient(90deg, var(--bg) 0%, rgba(var(--shade), .55) 45%, rgba(var(--shade), .2) 100%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px; }
.hero__bg::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, transparent, var(--bg)); }
.hero__wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; color: var(--accent); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero__kicker::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.hero__title em { display: block; margin-top: .1em; font-style: normal; font-weight: 500; color: var(--accent); font-size: .8em; letter-spacing: -.02em; }
.hero__lead { max-width: 560px; margin: 26px 0 0; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-2); }
.hero__facts li { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 0 0; color: #dbdad4; font-size: 13.5px; line-height: 1.35; }
.hero__facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.hero__facts .i { color: var(--accent); }
.hero__media { position: relative; padding: 34px 34px 0 0; }
.hero__frame { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: 76vh; margin-left: auto; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-btn); animation: hero-in 1.2s var(--ease) both; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.hero__frame::before { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(var(--accent-rgb), .35); border-radius: 2px; pointer-events: none; }
.dim { position: absolute; color: var(--accent); font: 600 12px/1 var(--sans); letter-spacing: .08em; }
.dim i { position: absolute; padding: 3px 8px; background: var(--bg); font-style: normal; }
.dim--x { left: 0; right: 0; top: -30px; height: 1px; background: var(--accent); }
.dim--x::before, .dim--x::after { content: ""; position: absolute; top: -6px; width: 1px; height: 13px; background: var(--accent); }
.dim--x::before { left: 0; }
.dim--x::after { right: 0; }
.dim--x i { left: 50%; top: -9px; transform: translateX(-50%); }
.dim--y { top: 0; bottom: 0; right: -30px; width: 1px; background: var(--accent); }
.dim--y::before, .dim--y::after { content: ""; position: absolute; left: -6px; width: 13px; height: 1px; background: var(--accent); }
.dim--y::before { top: 0; }
.dim--y::after { bottom: 0; }
.dim--y i { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; }
.hero__card { position: absolute; left: -36px; bottom: 36px; display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border: 1px solid var(--line-2); border-top: 2px solid var(--accent); border-radius: var(--r-btn); background: rgba(var(--shade), .94); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .7); transition: transform .3s var(--ease); }
.hero__card:hover { transform: translateY(-4px); }
.hero__card-img { width: 64px; height: 64px; border-radius: 2px; overflow: hidden; flex: none; }
.hero__card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero__card-body { display: flex; flex-direction: column; gap: 2px; }
.hero__card-body b { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.hero__card-body span { color: var(--muted); font-size: 13px; }
.hero__card > .i { color: var(--accent); }

/* ---------- Page hero (inner pages): text left, photo fades from the right ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header) + clamp(64px, 10vw, 130px)) 0 clamp(48px, 6vw, 80px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--bg) 0%, rgba(var(--shade), .88) 38%, rgba(var(--shade), .35) 75%, rgba(var(--shade), .2) 100%),
  linear-gradient(180deg, rgba(var(--shade), .5) 0%, transparent 30%, transparent 70%, var(--bg) 100%); }
.page-hero__inner { position: relative; }
.crumbs { display: flex; gap: 10px; margin-bottom: 24px; color: var(--muted); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--accent); }
.crumbs span::before { content: "/"; margin-right: 10px; color: var(--dim); }
.page-hero__title { max-width: 820px; font-family: var(--serif); font-weight: 300; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.page-hero__lead { max-width: 600px; margin: 22px 0 0; color: #d3d2cc; font-size: 17px; text-wrap: pretty; }
.page-hero__inner::after { content: ""; display: block; width: 120px; height: 1px; margin-top: 34px; background: linear-gradient(90deg, var(--accent), transparent); }
.nf__code { font-family: var(--serif); font-weight: 200; font-size: clamp(5rem, 14vw, 10rem); line-height: 1; color: rgba(255, 255, 255, .14); margin-bottom: 10px; }
.nf .hero__actions { margin-top: 32px; }

/* ---------- Intro + stats ---------- */
.intro__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro__text { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.28; letter-spacing: -.01em; text-wrap: pretty; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stats--row { grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; background: var(--bg-2); }
.stat b { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.stat > span { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---------- Bento (directions) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 280px; gap: 16px; }
.bento__item { position: relative; overflow: hidden; border-radius: var(--r); background: var(--card); isolation: isolate; grid-column: span 2; }
.bento__item--1 { grid-column: span 4; grid-row: span 2; }
.bento__item--2 { grid-column: span 2; grid-row: span 2; }
.bento__item--6 { grid-column: span 6; }
.bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.bento__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--shade), 0) 40%, rgba(var(--shade), .4) 65%, rgba(var(--shade), .85) 100%); transition: background-color .4s; }
.bento__item:hover img { transform: scale(1.05); }
.bento__body { position: absolute; inset: auto 0 0; padding: 24px 26px; }
.bento__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.15; }
.bento__item--1 .bento__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.bento__text { margin-top: 10px; color: #d3d2cc; font-size: 14.5px; line-height: 1.5; max-width: 520px; }
.bento__points { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.bento__points li { padding: 5px 11px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-btn); background: rgba(var(--shade), .6); font-size: 12.5px; color: #e0dfd9; }
.bento__item:not(.bento__item--1):not(.bento__item--2) .bento__points { display: none; }
.bento__btn { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-btn); background: rgba(var(--shade), .62); border: 1px solid rgba(255, 255, 255, .2); transition: background-color .2s, color .2s, transform .3s var(--ease); }
.bento__btn:hover { background: var(--light); color: #111; transform: rotate(45deg); }
@media (hover: hover) and (min-width: 901px) {
  .bento__item:not(.bento__item--1) .bento__text { max-height: 0; opacity: 0; margin-top: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
  .bento__item:not(.bento__item--1):hover .bento__text, .bento__item:not(.bento__item--1):focus-within .bento__text { max-height: 160px; opacity: 1; margin-top: 10px; }
}

/* ---------- Glass panels ---------- */
.glass { background: rgba(var(--shade), .7); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.glass__label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--accent); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Steps (process) ---------- */
.steps { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: stretch; }
.steps > * { min-width: 0; }
.steps__list { display: flex; flex-direction: column; gap: 8px; }
.steps__tab { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2); text-align: left; overflow: hidden; transition: background-color .25s, border-color .25s; }
.steps__tab:hover { border-color: var(--line-2); }
.steps__tab[aria-selected="true"] { background: var(--card-2); border-color: var(--line-2); }
.steps__num { font-family: var(--serif); color: var(--dim); font-size: 15px; transition: color .25s; }
.steps__name { font-weight: 600; font-size: 16px; color: var(--muted); transition: color .25s; }
.steps__tab[aria-selected="true"] .steps__num { color: var(--accent); }
.steps__tab[aria-selected="true"] .steps__name { color: var(--text); }
.steps__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.steps__tab[aria-selected="true"] .steps__bar { width: var(--p, 0%); }
.steps__stage { position: relative; min-height: 560px; border-radius: var(--r); overflow: hidden; background: var(--card); }
.steps__panel { position: absolute; inset: 0; animation: fade-in .6s var(--ease) both; }
.steps__img { width: 100%; height: 100%; object-fit: cover; }
.steps__card { position: absolute; left: 24px; bottom: 24px; max-width: 440px; padding: 24px 26px; }
.steps__title { font-family: var(--serif); font-size: 1.9rem; font-weight: 300; margin-bottom: 10px; }
.steps__card p { color: #d8d7d1; font-size: 15px; }
.steps__result { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); color: var(--text) !important; font-weight: 600; font-size: 14px !important; }
.steps__result .i { color: var(--ok); }
@keyframes fade-in { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }

/* ---------- Geometry ---------- */
.geometry__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.geo { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--bg-2), var(--bg)); transition: border-color .3s, transform .4s var(--ease); }
.geo:hover { border-color: var(--line-2); transform: translateY(-4px); }
.geo p { color: var(--muted); font-size: 15px; }
.geo__title { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; margin: 18px 0 8px; }
.plan { width: 100%; height: auto; aspect-ratio: 200 / 140; border-radius: 12px; background:
  linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 20px 20px,
  linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 20px 20px,
  #26272a; }
.pl-wall { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: square; stroke-linejoin: miter; }
.pl-furn { fill: rgba(var(--accent-rgb), .16); stroke: var(--accent); stroke-width: 1.2; }
.pl-line { fill: none; stroke: var(--accent); stroke-width: .8; opacity: .7; }
.pl-col { fill: rgba(255, 255, 255, .22); stroke: var(--text); stroke-width: 1.5; }
.pl-glass { fill: none; stroke: #8fb6c9; stroke-width: 1.4; stroke-dasharray: 4 3; }
.pl-dim { fill: none; stroke: var(--muted); stroke-width: .8; stroke-dasharray: 3 3; }
.pl-arc { fill: none; stroke: var(--accent); stroke-width: 1; }
.pl-txt { fill: var(--muted); font: 500 10px var(--sans); text-anchor: middle; }
.geo .pl-furn { transition: fill .4s; }
.geo:hover .pl-furn { fill: rgba(var(--accent-rgb), .3); }

/* ---------- Audience ---------- */
.statement { max-width: 980px; margin: 0 auto 48px; text-align: center; font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: var(--r-btn); color: var(--muted); font-size: 14px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.chip span { color: var(--dim); font-size: 12px; }
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--light); border-color: var(--light); color: #111; }
.chip[aria-selected="true"] span, .chip[aria-pressed="true"] span { color: #555; }
.ticks { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks .i { margin-top: 4px; color: var(--accent); }
.ticks--sm li { font-size: 14px; color: var(--muted); }
.ticks--sm .i { margin-top: 4px; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; max-width: 1040px; margin: 0 auto; }
.benefit { text-align: center; }
.benefit__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .08), transparent 60%), var(--bg-2); color: var(--accent); flex: none; }
.benefit__title { margin: 18px 0 8px; font-size: 17px; font-weight: 600; }
.benefit p { color: var(--muted); font-size: 15px; max-width: 300px; margin-inline: auto; }

/* ---------- Materials rail ---------- */
.rail-wrap { position: relative; }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2)) 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }
.rail-nav { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.rail-nav .btn { margin-left: auto; }
.swatch { width: 340px; }
.swatch__img { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--card); }
.swatch__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.swatch:hover .swatch__img img { transform: scale(1.05); }
.swatch__title { margin: 18px 0 6px; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.swatch p { color: var(--muted); font-size: 15px; }

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(300px, auto); gap: 16px; }
.review { position: relative; margin: 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); overflow: hidden; isolation: isolate; }
.review--photo { justify-content: flex-start; padding: 0; }
.review__bg { display: block; width: 100%; height: 190px; object-fit: cover; flex: none; }
.review--photo .review__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.review--photo figcaption { margin-top: auto; padding-top: 16px; }
.review--1 .review__bg { height: 360px; }
.review--1 { grid-row: span 2; }
.review__stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 14px; }
.review__stars .i { fill: currentColor; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.55; color: #e8e7e1; text-wrap: pretty; }
.review--1 blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.4; }
.review figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.review figcaption b { font-weight: 600; }
.review figcaption span { color: var(--muted); font-size: 13px; }
.review--rating { justify-content: space-between; background: radial-gradient(120% 80% at 100% 0%, rgba(var(--accent-rgb), .16), transparent 60%), var(--bg-2); }
.review--rating p { color: var(--muted); }
.review__big { font-family: var(--serif); font-weight: 300; font-size: 5rem; line-height: 1; color: var(--text) !important; }
.review--rating .btn { align-self: flex-start; margin-top: 20px; }
.rail--reviews .review--card { width: 380px; min-height: 280px; justify-content: flex-start; }

/* ---------- Cards (catalog preview) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card__img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--card); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: var(--r-btn); background: rgba(var(--shade), .74); border: 1px solid rgba(255, 255, 255, .16); color: #eae9e3; font-size: 12px; font-weight: 500; }
.card__title { margin-top: 18px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.card__meta { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header) + 24px); }
.faq__head .shead__lead a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.faq__head .socials { margin-top: 20px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { color: var(--muted); transition: transform .3s var(--ease); }
.faq__item[open] summary .i { transform: rotate(45deg); color: var(--accent); }
.faq__item p { padding: 0 40px 24px 0; color: var(--muted); }

/* ---------- Socials ---------- */
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--r-btn); color: var(--text); transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--light); color: #111; }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(72px, 9vw, 128px); padding: clamp(120px, 16vw, 220px) 0 clamp(96px, 12vw, 160px); text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(var(--shade), .62) 28%, rgba(var(--shade), .7) 70%, var(--bg) 100%); }
.cta__inner { max-width: 980px; }
.cta__title, .cta__lead { max-width: 820px; margin-left: auto; margin-right: auto; }
.cta__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.cta__lead { margin: 20px auto 0; max-width: 600px; color: #d6d5cf; font-size: 17px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta__meta { margin-top: 22px; color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); background: var(--bg); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr; gap: 40px; }
.footer__lead { margin: 18px 0 20px; color: var(--muted); font-size: 15px; max-width: 340px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col a { color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__col span { color: var(--muted); }
.footer__title { margin-bottom: 6px; color: var(--dim); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer__phone { color: var(--text) !important; font-size: 19px; font-weight: 600; }
.footer__credits-client { color: var(--text) !important; }
.footer__credits-label { margin-top: 8px; color: var(--dim) !important; font-size: 13px; }
.footer__partner { display: inline-flex; align-self: flex-start; opacity: .8; transition: opacity .2s; }
.footer__partner:hover { opacity: 1; }
.footer__partner img { height: 24px; width: auto; }
.footer__partner[title="Мой бизнес"] img { height: 38px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.footer__bottom a:hover { color: var(--text); }
.footer__mark { margin: 0 0 -.18em; text-align: center; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 10.4vw, 10.4rem); line-height: 1; letter-spacing: -.04em; white-space: nowrap; background: linear-gradient(180deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; pointer-events: none; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); transition: border-color .3s, background-color .3s; }
.service:hover { border-color: var(--line-2); background: var(--card); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service__num { font-family: var(--serif); color: var(--dim); }
.service__title { margin: 20px 0 10px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.service > p { color: var(--muted); font-size: 15px; }
.service .ticks { margin: 16px 0 22px; }
.service .link-btn { margin-top: auto; }


.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { display: flex; align-items: center; min-height: 56px; padding: 12px 16px 12px 46px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 15px; transition: border-color .2s, background-color .2s; }
.option span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1.5px solid var(--dim); border-radius: 50%; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.option input[type="checkbox"] + span::before { border-radius: 5px; }
.option:hover span { border-color: rgba(255, 255, 255, .3); }
.option input:checked + span { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.option input:checked + span::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--bg-2); }
.option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.factors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.factor { position: relative; padding: 28px; background: var(--bg-2); }
.factor__num { position: absolute; top: 26px; right: 28px; font-family: var(--serif); color: var(--dim); }
.factor__title { margin: 18px 0 6px; font-size: 17px; font-weight: 600; }
.factor p { color: var(--muted); font-size: 15px; }
.note { display: flex; align-items: center; gap: 18px; margin-top: 20px; padding: 22px 26px; border: 1px solid rgba(var(--accent-rgb), .3); border-radius: var(--r); background: rgba(var(--accent-rgb), .06); }
.note a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), .4); }


.timeline { max-width: 1000px; margin: 0 auto; counter-reset: t; }
.timeline__item { display: grid; grid-template-columns: 80px 1fr 260px; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__num { font-family: var(--serif); font-size: 2rem; font-weight: 300; line-height: 1; color: var(--dim); }
.timeline__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; margin-bottom: 8px; }
.timeline__item p { color: var(--muted); font-size: 15px; }
.timeline__result { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); color: var(--text) !important; font-size: 14px !important; font-weight: 600; }
.timeline__result .i { margin-top: 3px; color: var(--ok); }

/* ---------- Catalog ---------- */
.catalog-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.catalog-bar__note { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 14px; }
.catalog-bar__note .i { color: var(--accent); }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.way__title { margin-top: 8px; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.way p { color: var(--muted); font-size: 15px; flex: 1; }

.specs { margin: 22px 0 24px; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 40% 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--dim); }
.specs dd { margin: 0; }
.specs--wide > div { grid-template-columns: 220px 1fr; font-size: 15px; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story__media { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__text .h2 { margin-bottom: 24px; }
.story__text p { color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.principle { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.principle__num { position: absolute; top: 26px; right: 24px; font-family: var(--serif); color: var(--dim); }
.principle__title { margin: 20px 0 8px; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.principle p { color: var(--muted); font-size: 15px; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.mosaic__item { border-radius: var(--r-sm); overflow: hidden; background: var(--card); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.85); }
.mosaic__item:hover img { transform: scale(1.05); filter: none; }
.mosaic__item--1 { grid-column: span 2; grid-row: span 2; }
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.role { position: relative; padding: 28px 22px 8px 0; }
.role + .role { padding-left: 22px; border-left: 1px solid var(--line); }
.role__num { display: block; margin-bottom: 18px; font-family: var(--serif); color: var(--dim); }
.role__title { margin: 18px 0 8px; font-size: 17px; font-weight: 600; }
.role p { color: var(--muted); font-size: 14.5px; }

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: start; }
.contacts__info { display: flex; flex-direction: column; gap: 12px; }
.cinfo { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); transition: border-color .2s; }
a.cinfo:hover { border-color: var(--line-2); }
.cinfo > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cinfo small { color: var(--dim); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.cinfo b { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.cinfo em { font-style: normal; color: var(--muted); font-size: 14px; }
.cinfo--big b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cinfo .socials { margin-top: 4px; }
.contacts__form { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.map { position: relative; height: 480px; border-radius: var(--r); overflow: hidden; background: var(--card); }
.map__ph { position: absolute; inset: 0; }
.map__bg { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75) saturate(.9); }
.map__card { position: absolute; left: clamp(16px, 4vw, 48px); top: 50%; transform: translateY(-50%); max-width: 460px; padding: 28px; }
.map__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.2; margin-bottom: 10px; }
.map__card p { color: #d8d7d1; font-size: 15px; }
.map__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.start { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.start__item { padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.start__num { font-family: var(--serif); font-size: 2.4rem; font-weight: 300; line-height: 1; color: var(--accent); }
.start__item h3 { margin: 18px 0 8px; font-size: 18px; font-weight: 600; }
.start__item p { color: var(--muted); font-size: 15px; }
.requisites { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--r); }
.requisites__title { font-family: var(--serif); font-size: 1.6rem; font-weight: 300; }
.requisites .specs { margin-bottom: 0; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(72px, 9vw, 120px); }
.legal__toc { position: sticky; top: calc(var(--header) + 24px); padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.legal__label { margin-bottom: 12px; color: var(--dim); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.legal__toc ol { list-style: decimal; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.legal__toc a:hover { color: var(--text); }
.legal__body { max-width: 780px; color: #d3d2cc; font-size: 15.5px; }
.legal__body h2 { margin: 40px 0 14px; font-family: var(--serif); font-size: 1.6rem; font-weight: 300; color: var(--text); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal__body li { margin-bottom: 6px; }
.legal__body a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.legal__card { margin-top: 40px; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); }
.section--flush { padding-top: 0; }

/* ---------- Forms & modal ---------- */
.modal { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); color: var(--text); overflow-y: auto; }
.modal::backdrop { background: rgba(5, 5, 5, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .35s var(--ease) both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-btn); background: rgba(var(--shade), .6); border: 1px solid var(--line-2); transition: background-color .2s; }
.modal__close:hover { background: var(--card-3); }
.modal__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; }
.modal__lead { margin: 12px 0 22px; color: var(--muted); font-size: 15px; }
.modal__topic { margin: -8px 0 18px; padding: 10px 14px; border-radius: var(--r-sm); background: rgba(var(--accent-rgb), .1); color: var(--accent); font-size: 14px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form .tag { align-self: flex-start; margin-bottom: 4px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { color: var(--muted); font-size: 13px; }
.field i { font-style: normal; color: var(--dim); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23bdbcb6' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: 13px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.check a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.check.is-invalid span { color: var(--danger); }
.form__status { min-height: 1.2em; margin: 0; font-size: 14px; text-align: center; color: var(--muted); }
.form__status.is-error { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { text-align: center; padding: 20px 0; }
.form-done p { margin: 12px 0 24px; color: var(--muted); }
.form-done a { color: var(--text); }
.form-done__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: var(--r-btn); background: rgba(159, 207, 154, .14); color: var(--ok); }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 8, .95); color: var(--text); }
.lightbox::backdrop { background: rgba(8, 8, 8, .9); }
.lightbox__fig { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%; margin: 0; padding: 64px 72px 24px; }
.lightbox__fig img { max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; border-radius: 10px; }
.lightbox figcaption { display: flex; gap: 14px; color: var(--muted); font-size: 14px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-btn); border: 1px solid var(--line-2); }
.lightbox__nav { position: absolute; top: 50%; margin-top: -23px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-btn); border: 1px solid var(--line-2); background: rgba(var(--shade), .6); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 16px; max-width: 520px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: rgba(var(--shade), .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 13px; color: var(--muted); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); }
.cookie p { margin: 0; }
.cookie a { color: var(--text); border-bottom: 1px solid var(--line-2); }

/* ---------- Accent button, small socials, WhatsApp button ---------- */
.btn--accent { background: var(--accent); color: #1c1b16; }
.btn--accent:hover { background: var(--accent-2); }
.socials--sm a { width: 38px; height: 38px; }
.mobile-menu__phone--2 { margin-top: -8px; font-size: 18px; color: var(--muted); }
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 55; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-btn); background: var(--accent); color: #1c1b16; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .55); transition: transform .25s var(--ease), background-color .2s; }
.fab:hover { transform: scale(1.06); background: var(--accent-2); }

/* ---------- Home: intro, counts, works ---------- */
.intro__sub { margin: 22px 0 22px; color: var(--muted); max-width: 560px; }
.bento__count { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 10px; border-radius: var(--r-btn); background: rgba(var(--shade), .7); border: 1px solid rgba(255, 255, 255, .16); color: var(--accent); font-size: 12px; font-weight: 600; }
.bento__item--6 .bento__body { max-width: 640px; }
.works__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.works__lead { margin: 0; color: var(--muted); font-size: 16px; text-wrap: pretty; }
.works__lead--album { margin: -12px 0 28px; max-width: 720px; }
.mosaic--works { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; }
.mosaic__item { position: relative; display: block; }
.mosaic__label { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: var(--r-btn); background: rgba(var(--shade), .75); border: 1px solid rgba(255, 255, 255, .16); font-size: 12.5px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.mosaic__item:hover .mosaic__label, .mosaic__item:focus-visible .mosaic__label { opacity: 1; transform: none; }
.mosaic--works .mosaic__item--1 { grid-row: span 2; grid-column: span 2; }
.mosaic--works .mosaic__item--4 { grid-row: span 2; }
.center-cta { flex-wrap: wrap; gap: 12px; }
.steps__img--plan { object-fit: contain; background: #f4f3ef; padding: 24px; }

/* ---------- Kitchen plan details ---------- */
.pl-app { fill: none; stroke: var(--text); stroke-width: 1; opacity: .75; }

/* ---------- Measure block ---------- */
.measure { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.measure__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.measure__media img { width: 100%; height: 100%; object-fit: cover; }
.measure__badge { position: absolute; left: 20px; bottom: 20px; display: flex; flex-direction: column; padding: 18px 22px; }
.measure__badge b { font-family: var(--serif); font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--accent); }
.measure__badge span { margin-top: 6px; color: #dbdad4; font-size: 14px; }
.measure__list { display: flex; flex-direction: column; margin: 28px 0 32px; border-top: 1px solid var(--line); }
.measure__list li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.measure__num { font-family: var(--serif); font-size: 1.4rem; color: var(--accent); line-height: 1.2; }
.measure__list h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.measure__list p { color: var(--muted); font-size: 15px; }

/* ---------- Calculator ---------- */
.calc { border: 1px solid var(--line-2); border-radius: calc(var(--r) + 6px); background: var(--bg-2); overflow: hidden; }
.calc__types { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line); }
.calc__type { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 14px 8px; color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; line-height: 1.25; border-right: 1px solid var(--line); transition: background-color .2s, color .2s; }
.calc__type:last-child { border-right: 0; }
.calc__type:hover { color: var(--text); background: rgba(255, 255, 255, .03); }
.calc__type[aria-selected="true"] { color: #1c1b16; background: var(--accent); }
.calc__grid { display: grid; grid-template-columns: 1fr 380px; }
.calc__form { padding: clamp(22px, 3vw, 36px); min-width: 0; }
.calc__panel { display: flex; flex-direction: column; gap: 26px; animation: fade-in .4s var(--ease) both; }
.calc__field { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc__label { display: block; margin-bottom: 12px; padding: 0; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc__value { font-family: var(--serif); font-size: 1.5rem; color: var(--text); }
.calc__scale { display: flex; justify-content: space-between; margin-top: 6px; color: var(--dim); font-size: 12px; }
.calc__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option--sm span { min-height: 50px; font-size: 14.5px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-btn); font-size: 14.5px; transition: background-color .2s, border-color .2s, color .2s; }
.pill:hover span { border-color: rgba(255, 255, 255, .32); }
.pill input:checked + span { background: var(--light); border-color: var(--light); color: #111; }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.layouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.layout { position: relative; cursor: pointer; }
.layout input { position: absolute; opacity: 0; pointer-events: none; }
.layout > span { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); transition: border-color .2s, background-color .2s; }
.layout b { font-size: 14px; font-weight: 600; text-align: center; }
.layout .plan { border-radius: 8px; }
.layout .pl-txt, .layout .pl-dim { display: none; }
.layout:hover > span { border-color: rgba(255, 255, 255, .32); }
.layout input:checked + span { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.layout input:checked + span .pl-furn { fill: rgba(var(--accent-rgb), .32); }
.layout input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 4px 0 0; background: transparent; cursor: pointer; --p: 50%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line-2) var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line-2) var(--p)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--light); border: 4px solid var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--light); border: 4px solid var(--accent); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .35); }
.calc__result { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 3vw, 34px); border-left: 1px solid var(--line); background: radial-gradient(120% 70% at 100% 0%, rgba(var(--accent-rgb), .14), transparent 60%), var(--card); }
.calc__result-label { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.calc__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 14px 0 20px; font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 2.8vw, 2.4rem); line-height: 1.1; }
.calc__price i { font-style: normal; color: var(--dim); }
.calc__summary { display: flex; flex-direction: column; margin-bottom: 24px; border-top: 1px solid var(--line); }
.calc__summary li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.calc__summary li span:first-child { color: var(--dim); }
.calc__summary li span:last-child { text-align: right; }
.calc__note { margin-top: 14px; color: var(--dim); font-size: 13px; text-align: center; }
.calc__price.is-bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { color: var(--accent); } }

/* ---------- Services: included ---------- */
.included { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.included__head .shead__lead { margin-bottom: 28px; }
.included__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.included__list li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2); font-size: 15px; font-weight: 500; }
.included__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-btn); background: rgba(var(--accent-rgb), .12); color: var(--accent); }
.factor .benefit__icon { width: 46px; height: 46px; }

/* ---------- Catalog: albums and gallery ---------- */
.albums { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.album { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; isolation: isolate; background: var(--card); }
.album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.album::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(var(--shade), .9)); }
.album:hover img { transform: scale(1.05); }
.album__body { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.album__body b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.15; }
.album__body span { color: var(--accent); font-size: 13px; font-weight: 600; }
.album.is-active { outline: 2px solid var(--accent); outline-offset: 3px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.work { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--card); animation: fade-in .5s var(--ease) both; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover img { transform: scale(1.05); }
.work__zoom { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-btn); background: rgba(var(--shade), .7); border: 1px solid rgba(255, 255, 255, .2); opacity: 0; transition: opacity .25s; }
.work:hover .work__zoom, .work:focus-visible .work__zoom { opacity: 1; }
.gallery__more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 32px; }
.gallery__count { margin: 0; color: var(--dim); font-size: 14px; }

/* ---------- About: salon, VK, reviews rail ---------- */
.story__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.salon { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 520px; padding: clamp(20px, 4vw, 56px); border-radius: var(--r); }
.salon__bg { position: absolute; inset: 0; z-index: -1; }
.salon__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); }
.salon__card { max-width: 520px; padding: clamp(22px, 3vw, 34px); }
.salon__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; margin-bottom: 10px; }
.salon__card > p { color: #d8d7d1; font-size: 15px; }
.salon .specs { margin: 18px 0 20px; }
.salon .specs a { border-bottom: 1px solid var(--line-2); }
.vk-band { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 32px; align-items: center; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--r); background: radial-gradient(90% 120% at 0% 0%, rgba(var(--accent-rgb), .12), transparent 55%), var(--bg-2); }
.vk-band__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--r-btn); background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.vk-band__title { font-family: var(--serif); font-weight: 300; font-size: 1.9rem; margin-bottom: 6px; }
.vk-band p { color: var(--muted); max-width: 560px; }
.vk-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.review__thumb { width: 72px; height: 72px; margin-bottom: 16px; border-radius: 14px; overflow: hidden; }
.review__thumb img { width: 100%; height: 100%; object-fit: cover; }
.review--rating .review__big { color: var(--accent) !important; }
.cinfo__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.cinfo--big a b { display: block; }
.cinfo em a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), .4); }

@media (max-width: 1100px) {
  .calc__grid { grid-template-columns: 1fr; }
  .calc__result { border-left: 0; border-top: 1px solid var(--line); }
  .albums { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .header__social { display: none; }
}
@media (max-width: 900px) {
  .measure, .included, .works__head { grid-template-columns: 1fr; }
  .measure__media { aspect-ratio: 4 / 3; }
  .calc__types { grid-template-columns: repeat(3, 1fr); }
  .calc__type:nth-child(3) { border-right: 0; }
  .calc__type:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .mosaic--works { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .vk-band { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .layouts { grid-template-columns: 1fr 1fr; }
  .calc__checks, .included__list { grid-template-columns: 1fr; }
  .calc__type { min-height: 78px; font-size: 13px; }
  .albums { grid-template-columns: 1fr 1fr; }
  .album:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mosaic--works .mosaic__item--4 { grid-row: span 1; }
  .salon { min-height: 0; padding: 200px 12px 12px; }
  .fab { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .cookie { bottom: 76px; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .header__nav a { padding: 8px 9px; }
  .header__phone { display: none; }
}
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .header__actions { margin-left: auto; }
  .header__phone { display: block; }
  .burger { display: block; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(3, 1fr); }
  .role:nth-child(4) { border-left: 0; padding-left: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .timeline__item { grid-template-columns: 64px 1fr; }
  .timeline__result { grid-column: 2; }
}
@media (max-width: 900px) {
  .intro__grid, .story, .contacts, .faq__grid, .legal { grid-template-columns: 1fr; }
  .faq__head, .legal__toc { position: static; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
  .bento__item, .bento__item--1, .bento__item--2, .bento__item--6 { grid-column: span 1; grid-row: span 1; }
  .bento__item--1 { grid-column: span 2; grid-row: span 2; }
  .bento__item--6 { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .steps__list { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .steps__list::-webkit-scrollbar { display: none; }
  .steps__list li { flex: none; }
  .steps__tab { padding: 12px 16px; }
  .steps__stage { min-height: 0; display: grid; }
  .steps__panel { position: relative; inset: auto; }
  .steps__img { aspect-ratio: 4 / 3; height: auto; }
  .steps__card { position: static; max-width: none; margin: -40px 12px 12px; }
  .geometry__grid, .cards, .ways, .start { grid-template-columns: 1fr 1fr; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .review--1 { grid-column: span 2; grid-row: span 1; min-height: 420px; }
  .stats--row { grid-template-columns: 1fr 1fr; }
  .story__media { aspect-ratio: 16 / 11; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .mosaic__item--1 { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; --header: 64px; }
  body { font-size: 15.5px; }
  .header__cta, .header__phone, .header__max { display: none; }
  .logo { height: 42px; }
  .page-hero__title { font-size: 2.15rem; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__item, .bento__item--1, .bento__item--6 { grid-column: span 1; grid-row: span 1; min-height: 340px; display: flex; align-items: flex-end; }
  .bento__item--1, .bento__item--2 { min-height: 440px; }
  .bento__body { position: relative; inset: auto; padding: 120px 20px 22px; }
  .geometry__grid, .cards, .ways, .start, .services, .principles, .benefits, .factors { grid-template-columns: 1fr; }
  .benefits { gap: 36px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .review--1 { grid-column: span 1; }
  .rail--reviews .review--card, .swatch { width: 82vw; }
  .roles { grid-template-columns: 1fr; }
  .role, .role + .role { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .role__num { margin-bottom: 10px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .form__row { grid-template-columns: 1fr; }
  .specs > div, .specs--wide > div { grid-template-columns: 1fr; gap: 2px; }
  .timeline__item { grid-template-columns: 1fr; gap: 10px; }
  .timeline__result { grid-column: 1; }
  .map { height: auto; min-height: 460px; }
  .map__card { left: 12px; right: 12px; max-width: none; }
  .note { flex-direction: column; align-items: flex-start; }
  .cookie { right: 16px; flex-direction: column; align-items: flex-start; }
  .faq__item p { padding-right: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .lightbox__fig { padding: 64px 12px 24px; }
  .lightbox__nav { top: auto; bottom: 16px; }
  .rail-nav .btn { margin-left: 0; }
  .rail-nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Design v2 — «чертёж»: numbered left-aligned section heads, gold hairlines,
   corner marks on cards, square controls, solid panels instead of glass.
   ========================================================================== */
main { counter-reset: sec; }
.h2 { font-weight: 300; font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -.02em; }
.h2 em, .cta__title em, .statement em, .intro__text em, .page-hero__title em { font-style: normal; font-weight: 600; color: var(--accent); }
.cta__title, .cta__lead { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }

/* Label above headings: gold line + uppercase text */
.tag { gap: 12px; padding: 0; border: 0; border-radius: 0; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.tag__dot { width: 28px; height: 1px; border-radius: 0; box-shadow: none; }

/* Section head: number + label, title left, lead right, hairline below */
.shead { counter-increment: sec; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "tag tag" "title lead"; gap: 0 clamp(24px, 5vw, 80px); align-items: end; max-width: none; margin: 0 0 clamp(36px, 4.5vw, 56px); padding-bottom: clamp(22px, 2.5vw, 30px); border-bottom: 1px solid var(--line); text-align: left; }
.shead .tag { grid-area: tag; margin-bottom: 16px; }
.shead .tag::before { content: counter(sec, decimal-leading-zero); order: -1; color: var(--text); font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.shead .h2 { grid-area: title; }
.shead__lead { grid-area: lead; margin: 0; font-size: 16px; }
.faq__head .shead__lead { margin-top: 16px; }

/* Buttons: rectangular, uppercase */
.btn { border-radius: var(--r-btn); font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 14px; }
.btn--sm { font-size: 12.5px; }
.btn--ghost { background: rgba(var(--shade), .5); border-color: rgba(255, 255, 255, .22); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(var(--accent-rgb), .06); }
.link-btn { color: var(--accent); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.header__nav a { border-radius: var(--r-btn); }
.header__nav a[aria-current="page"] { background: none; color: var(--accent); box-shadow: inset 0 -1px 0 var(--accent); border-radius: 0; }

/* Solid panels instead of glass */
.glass { background: rgba(var(--shade), .93); border: 1px solid var(--line-2); border-top: 2px solid var(--accent); border-radius: var(--r-btn); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Corner marks on cards (show on hover) */
.geo, .service, .way, .principle, .start__item, .factor, .stat, .cinfo, .included__list li, .benefit { position: relative; }
.geo::after, .service::after, .way::after, .principle::after, .start__item::after, .factor::after, .cinfo::after, .included__list li::after, .benefit::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background:
    linear-gradient(var(--accent), var(--accent)) left top / 18px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left top / 2px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right top / 18px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right top / 2px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left bottom / 18px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left bottom / 2px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 18px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 2px 18px no-repeat; }
.geo:hover::after, .service:hover::after, .way:hover::after, .principle:hover::after, .start__item:hover::after, .factor:hover::after, a.cinfo:hover::after, .included__list li:hover::after, .benefit:hover::after { opacity: 1; }
.geo:hover { transform: none; }

/* Icons in squares */
.benefit__icon { border-radius: var(--r-btn); background: rgba(var(--accent-rgb), .08); border-color: rgba(var(--accent-rgb), .3); }

/* Intro + stats */
.intro__text { font-family: var(--serif); font-weight: 300; letter-spacing: -.015em; }
.stat b { font-weight: 200; color: var(--accent); letter-spacing: -.02em; }
.stats { border-radius: var(--r-btn); }

/* Bento: square, numbered, gold line on hover */
.bento { counter-reset: bento; }
.bento__item { counter-increment: bento; border-radius: var(--r-btn); }
.bento__item::before { content: counter(bento, decimal-leading-zero); position: absolute; top: 20px; left: 24px; z-index: 1; color: var(--accent); font: 600 13px/1 var(--sans); letter-spacing: .1em; }
.bento__title { font-weight: 400; letter-spacing: -.01em; }
.bento__item:hover { box-shadow: inset 0 -3px 0 var(--accent); }
.bento__btn:hover { background: var(--accent); color: #1c1b16; transform: none; }
.bento__count { border-radius: var(--r-btn); }

/* Kitchen layouts */
.geo { border-radius: var(--r-btn); background: var(--bg-2); }
.geo__title { font-weight: 500; }
.plan { border-radius: 2px; }

/* Steps */
.steps__tab { border-radius: var(--r-btn); }
.steps__tab[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--accent); }
.steps__stage { border-radius: var(--r-btn); }
.steps__title { font-weight: 400; }

/* Benefits: left-aligned table */
.benefits { max-width: none; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-btn); }
.benefit { padding: 30px 28px; background: var(--bg); text-align: left; }
.benefit p { max-width: none; margin: 0; }
.benefit__title { margin-top: 20px; }

/* Measure, materials, reviews, cards */
.measure__media, .story__media, .swatch__img, .card__img, .mosaic__item, .album, .work, .aud__media, .review, .salon, .map, .calc, .contacts__form, .requisites, .vk-band { border-radius: var(--r-btn); }
.measure__num { font-weight: 600; }
.swatch__title { font-weight: 500; }
.review--1 blockquote { font-weight: 400; }
.review__big { font-weight: 200; }
.faq__item summary { font-weight: 600; }
.faq__item[open] summary { color: var(--accent); }

/* Calculator */
.calc__value, .calc__price { font-weight: 300; }
.calc__price { color: var(--accent); }
.pill input:checked + span { background: var(--accent); border-color: var(--accent); color: #1c1b16; }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #1c1b16; }
.chip[aria-pressed="true"] span, .chip[aria-selected="true"] span { color: rgba(28, 27, 22, .65); }
.layout > span, .option span { border-radius: var(--r-btn); }

/* Services, factors, timeline */
.service, .way, .principle, .start__item, .cinfo, .included__list li { border-radius: var(--r-btn); }
.factors { border-radius: var(--r-btn); }
.timeline__num, .start__num { color: var(--accent); font-weight: 200; }
.timeline__result { border-radius: var(--r-btn); }
.service__num, .factor__num, .principle__num, .role__num { color: var(--accent); font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em; }

/* Footer */
.footer { border-top: 1px solid rgba(var(--accent-rgb), .25); }
.footer__mark { font-weight: 200; font-size: clamp(2.2rem, 8.6vw, 8.6rem); letter-spacing: .02em; text-transform: uppercase; }
.fab { border-radius: var(--r-sm); }

@media (max-width: 1100px) {
  .hero__wrap { grid-template-columns: 1fr 1fr; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__facts li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 16px; }
}
@media (max-width: 900px) {
  .hero__wrap { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; width: calc(100% - 20px); margin: 8px auto 0; padding: 34px 34px 0 0; }
  .hero__card { left: -10px; bottom: 20px; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .shead { grid-template-columns: 1fr; grid-template-areas: "tag" "title" "lead"; }
  .shead__lead { margin-top: 14px; }
}
@media (max-width: 700px) {
  .hero { padding-top: calc(var(--header) + 32px); }
  .hero__title { font-size: 2.3rem; }
  .hero__facts li { font-size: 12.5px; }
  .hero__actions .btn { width: 100%; }
  .benefits { grid-template-columns: 1fr; }
  .page-hero__title { font-size: 2.1rem; }
  .page-hero__bg::after { background: linear-gradient(180deg, rgba(var(--shade), .75) 0%, rgba(var(--shade), .82) 60%, var(--bg) 100%); }
  .dim { font-size: 11px; }
}
.nowrap { white-space: nowrap; }

/* ============ Joomla integration ============ */
.sk-messages:empty, .sk-messages #system-message-container:empty { display: none; }
.sk-messages { position: relative; z-index: 45; }
.sk-messages .alert, .sk-messages joomla-alert { display: block; max-width: var(--max); margin: calc(var(--header) + 12px) auto 0; padding: 14px 18px; border-radius: var(--r-sm); background: var(--card-2); color: var(--text); border: 1px solid var(--line-2); font-size: 15px; }
.page-home .sk-messages .alert, .page-home .sk-messages joomla-alert { position: absolute; left: 16px; right: 16px; }
.sk-messages .alert-heading, .sk-messages .joomla-alert--close { display: none; }
.no-hero .header { background: rgba(var(--shade), .92); border-bottom-color: var(--line); }
.sk-content { padding: calc(var(--header) + 48px) 0 clamp(72px, 9vw, 128px); }
.sk-content h1, .sk-content h2 { font-family: var(--serif); font-weight: 300; }
.sk-content a { color: var(--accent); }
.logo--text { font-family: var(--serif); font-size: 22px; font-weight: 500; white-space: nowrap; height: auto; }
.legal--single { grid-template-columns: minmax(0, 1fr); }
.page-privacy #main, .page-standard #main { padding-bottom: 0; }
.way .socials { margin-top: auto; }
.nf { min-height: 100svh; display: flex; align-items: center; }
.page-404 .page-hero__inner { padding-top: 24px; }
.review--card .review__thumb { flex: none; }
