/* Наша Мебель — шаблон сайта (tpl_nashamebel). Copy of site/assets/css/style.css + «Joomla integration» at the end. */

:root {
  --bg: #1d1b18;
  --bg-2: #24221e;
  --card: #2a2824;
  --card-2: #33302b;
  --card-3: #3c3933;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .17);
  --text: #f1efe9;
  --muted: #b7b3a9;
  --dim: #8d897f;
  --shade: 29, 27, 24;
  --accent: #cdb68e;
  --light: #f3f1ea;
  --danger: #ef8a7a;
  --ok: #9fcf9a;
  --serif: "Noto Serif Display", "Times New Roman", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 22px;
  --r-sm: 14px;
  --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: 999px; 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: 999px;
  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(205, 182, 142, .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: 999px;
  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: #34342f; }
.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: 50%; 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: 999px; 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: 50%; }
.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: inline-flex; align-items: center; gap: 10px; }
.logo__icon { color: var(--text); }
.logo__text { font-family: var(--serif); font-size: 21px; font-weight: 400; letter-spacing: -.01em; white-space: nowrap; }
.logo__text i { font-style: italic; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header) + 40px) 0 32px; isolation: isolate; overflow: hidden; }
.hero__bg, .page-hero__bg, .cta__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img, .page-hero__bg img, .cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg img { animation: hero-zoom 18s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), .55) 0%, rgba(var(--shade), .32) 45%, var(--bg) 100%); }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--shade), .5) 0%, rgba(var(--shade), .05) 30%, rgba(var(--shade), .2) 62%, var(--bg) 100%),
    radial-gradient(80% 60% at 50% 45%, rgba(var(--shade), 0), rgba(var(--shade), .32));
}
.hero__title, .page-hero__title, .page-hero__lead, .hero__lead, .cta__title, .cta__lead { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.hero__inner { text-align: center; margin: auto auto 0; max-width: 980px; }
.hero__kicker { padding: 7px 14px; border-radius: 999px; background: rgba(var(--shade), .6); border: 1px solid var(--line-2); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hero__title { text-shadow: 0 2px 30px rgba(0, 0, 0, .35); font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.hero__title em { color: #d9d6cc; }
.hero__lead { max-width: 640px; margin: 24px auto 0; color: #cfccc3; font-size: clamp(16px, 1.4vw, 18px); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(48px, 8vh, 96px); border: 1px solid var(--line); border-radius: var(--r); background: var(--line); overflow: hidden; padding: 0; max-width: calc(var(--max)); }
.hero__facts li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 14px; background: rgba(var(--shade), .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #d8d5cc; font-size: 14px; text-align: center; }
.hero__facts .i { color: var(--accent); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header) + clamp(72px, 12vw, 150px)) 0 clamp(48px, 6vw, 80px); text-align: center; }
.page-hero__inner { max-width: 900px; }
.crumbs { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; color: var(--muted); font-size: 13px; }
.crumbs a:hover { color: var(--text); }
.page-hero--portrait { min-height: clamp(560px, 62vw, 760px); display: flex; align-items: flex-end; text-align: left; }
.page-hero--portrait .page-hero__inner { max-width: calc(var(--max) + var(--gutter) * 2); }
.page-hero--portrait .page-hero__title, .page-hero--portrait .page-hero__lead { max-width: 620px; margin-left: 0; }
.page-hero--portrait .crumbs { justify-content: flex-start; }
.page-hero--portrait .page-hero__bg img { object-position: 78% 20%; }
.page-hero--portrait .page-hero__bg::after { background: linear-gradient(90deg, rgba(var(--shade), .82) 0%, rgba(var(--shade), .45) 38%, rgba(var(--shade), 0) 62%), linear-gradient(180deg, rgba(var(--shade), .45) 0%, rgba(var(--shade), 0) 25%, rgba(var(--shade), 0) 70%, var(--bg) 100%); }
.crumbs span::before { content: "/"; margin-right: 10px; color: var(--dim); }
.page-hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
.page-hero__lead { max-width: 660px; margin: 22px auto 0; color: #cfccc3; font-size: 17px; text-wrap: pretty; }
.nf__code { font-family: var(--serif); 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, .bento__item--7 { grid-column: span 3; }
.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: #cfccc3; 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: 999px; background: rgba(var(--shade), .6); font-size: 12.5px; color: #dedbd2; }
.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: 50%; 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(22, 22, 20, .62); 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: #d6d3ca; 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,
  #191814; }
.pl-wall { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: square; stroke-linejoin: miter; }
.pl-furn { fill: rgba(205, 182, 142, .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(205, 182, 142, .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; }
.aud__tabs { justify-content: center; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; 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; }
.aud__panel { position: relative; animation: fade-in .6s var(--ease) both; }
.aud__media { height: clamp(420px, 48vw, 600px); border-radius: var(--r); overflow: hidden; }
.aud__media img { width: 100%; height: 100%; object-fit: cover; }
.aud__card { position: absolute; top: 50%; left: clamp(20px, 5vw, 64px); transform: translateY(-50%); max-width: 460px; padding: 30px; }
.aud__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 300; line-height: 1.15; margin-bottom: 12px; }
.aud__card > p { color: #d6d3ca; font-size: 15px; }
.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: 50%; 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; }

/* ---------- Compare ---------- */
.compare { position: relative; overflow-x: auto; border-radius: var(--r); -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { font-weight: 600; font-size: 15px; color: var(--muted); padding-top: 22px; padding-bottom: 22px; }
.compare tbody th { text-align: left; font-weight: 500; color: #d6d3ca; }
.compare .is-us { background: var(--card-2); color: var(--text); }
.compare thead .is-us { border-radius: var(--r) var(--r) 0 0; font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--text); }
.compare__foot td, .compare__foot th { border-bottom: 0; }
.compare__foot .is-us { border-radius: 0 0 var(--r) var(--r); padding: 20px; }
.mark { display: inline-grid; place-items: center; }
.mark--yes { width: 28px; height: 28px; border-radius: 50%; background: rgba(159, 207, 154, .14); color: var(--ok); }
.compare .is-us .mark--yes { background: var(--light); color: #111; }
.mark--no { color: var(--dim); }
.mark--part { color: var(--dim); font-size: 13px; }

/* ---------- 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 { border-color: transparent; }
.review__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.review--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--shade), 0) 0%, rgba(var(--shade), .4) 40%, rgba(var(--shade), .9) 100%); }
.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: #e6e3da; 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(205, 182, 142, .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: 999px; background: rgba(var(--shade), .74); border: 1px solid rgba(255, 255, 255, .16); color: #e8e5dc; 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); }

/* ---------- MAX ---------- */
.max-btn { gap: 8px; }
.max-btn .i { color: var(--accent); }

/* ---------- 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: 50%; 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::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(var(--shade), .3) 30%, rgba(var(--shade), .35) 70%, var(--bg) 100%); }
.cta__inner { max-width: 820px; }
.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: #d3d0c7; 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(4rem, 15.5vw, 15rem); 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; }

.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.format { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--card), var(--bg-2)); }
.format--featured { background: linear-gradient(180deg, #2c2b27, #1b1b19); border-color: rgba(255, 255, 255, .2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.format__flag { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #17160f; font-size: 12px; font-weight: 700; }
.format__title { font-family: var(--serif); font-size: 1.9rem; font-weight: 300; }
.format__sub { margin-top: 6px; color: var(--muted); font-size: 14px; }
.format__text { margin: 18px 0 6px; font-size: 15px; }
.format__price { margin-bottom: 22px; color: var(--dim); font-size: 13px; }
.format__label { margin: 26px 0 12px; color: var(--dim); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.format__list { display: flex; flex-direction: column; gap: 11px; }
.format__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.format__list .i { margin-top: 3px; }
.format__list .is-on .i { color: var(--accent); }
.format__list .is-off { color: var(--dim); }

.quiz-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quiz-wrap__media { margin-top: 32px; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; }
.quiz-wrap__media img { width: 100%; height: 100%; object-fit: cover; }
.quiz { display: flex; flex-direction: column; min-height: 520px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); }
.quiz__progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.quiz__progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s var(--ease); }
.quiz__count { margin: 14px 0 20px; color: var(--dim); font-size: 13px; }
.quiz__step { margin: 0; padding: 0; border: 0; min-width: 0; animation: fade-in .4s var(--ease) both; }
.quiz__q { display: block; margin-bottom: 20px; padding: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
.quiz__q i { display: block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--dim); }
.quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.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(205, 182, 142, .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; }
.quiz__nav { display: flex; justify-content: space-between; margin-top: auto; padding-top: 28px; }
.quiz__done { animation: fade-in .4s var(--ease) both; }
.quiz__done .form-done__icon { margin-bottom: 18px; }
.quiz__summary { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.quiz__summary li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.quiz__summary li span:first-child { color: var(--dim); }
.quiz__summary li span:last-child { text-align: right; }

.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(205, 182, 142, .3); border-radius: var(--r); background: rgba(205, 182, 142, .06); }
.note a { color: var(--accent); border-bottom: 1px solid rgba(205, 182, 142, .4); }

.biz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.biz__item { position: relative; min-height: 420px; border-radius: var(--r); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.biz__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.biz__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(var(--shade), .85)); }
.biz__item:hover img { transform: scale(1.05); }
.biz__body { padding: 24px; }
.biz__title { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; line-height: 1.2; margin-bottom: 8px; }
.biz__body p { color: #cfccc3; font-size: 14.5px; }

.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); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.product:hover { border-color: var(--line-2); }
.product__img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #f1efe9; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__img img { transform: scale(1.04); }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.product__cat { margin-bottom: 8px; color: var(--accent); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.product__title { font-size: 18px; font-weight: 600; line-height: 1.3; }
.product__title a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.product__short { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.product__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.product__price { margin: 0; font-family: var(--serif); font-size: 1.3rem; }

.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; }

.modal.modal--product { width: min(1100px, calc(100vw - 32px)); padding: 0; }
.pm { display: grid; grid-template-columns: 1.05fr 1fr; }
.pm__img { display: block; background: #f1efe9; min-height: 100%; }
.pm__img img { width: 100%; height: 100%; object-fit: cover; max-height: 86vh; }
.pm__body { padding: clamp(24px, 3vw, 40px); overflow-y: auto; max-height: 86vh; }
.pm__body > p:not(.product__cat):not(.product__price):not(.pm__note) { color: #cfccc3; font-size: 15px; }
.pm .modal__title { margin-bottom: 18px; }
.pm .product__price { margin: 0 0 16px; }
.pm__note { margin-top: 14px; color: var(--dim); font-size: 13px; text-align: center; }
.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; }
.partner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); border-radius: calc(var(--r) + 8px); background: radial-gradient(100% 80% at 0% 0%, rgba(205, 182, 142, .1), transparent 55%), var(--bg-2); }
.partner .ticks { margin: 24px 0 30px; }
.partner__media { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.partner__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 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: #d6d3ca; 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: #cfccc3; 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: 50%; 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(205, 182, 142, .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='%23a6a39a' 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(205, 182, 142, .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: 50%; 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: 50%; 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: 50%; 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(26, 26, 24, .92); 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); }

/* ---------- 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); }
  .biz { 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, .partner, .quiz-wrap, .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, .bento__item--7 { grid-column: span 1; grid-row: span 1; }
  .bento__item--1 { grid-column: span 2; grid-row: span 2; }
  .bento__item--7 { 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, .formats, .cards, .products, .ways, .start { grid-template-columns: 1fr 1fr; }
  .aud__media { height: 360px; }
  .aud__card { position: relative; top: auto; left: auto; transform: none; max-width: none; margin: -60px 12px 0; }
  .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; }
  .pm { grid-template-columns: 1fr; }
  .pm__img img { max-height: 46vh; }
  .pm__body { max-height: none; }
  .modal--product { max-height: calc(100dvh - 24px); overflow-y: auto; }
  .story__media, .partner__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; }
  .quiz { min-height: 0; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; --header: 64px; }
  body { font-size: 15.5px; }
  .header__cta, .header__phone, .header__max, .header__vk { display: none; }
  .page-hero--portrait { min-height: 0; padding-top: calc(var(--header) + 360px); }
  .page-hero--portrait .page-hero__bg { bottom: auto; height: calc(var(--header) + 440px); }
  .page-hero--portrait .page-hero__bg img { object-position: 76% 0; }
  .page-hero--portrait .page-hero__bg::after { background: linear-gradient(180deg, rgba(var(--shade), .3) 0%, rgba(var(--shade), 0) 20%, rgba(var(--shade), 0) 62%, var(--bg) 100%); }
  .logo__text { font-size: 19px; }
  .page-hero__title { font-size: 2.15rem; }
  .page-privacy .page-hero__title { hyphens: auto; -webkit-hyphens: auto; }
  .hero { min-height: max(600px, 100svh); }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts li { padding: 14px 10px; font-size: 13px; flex-direction: column; gap: 6px; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__item, .bento__item--1, .bento__item--7 { 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; }
  .compare table { min-width: 580px; font-size: 14px; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare tbody th { min-width: 170px; }
  .geometry__grid, .formats, .cards, .products, .ways, .start, .services, .biz, .principles, .benefits, .factors { grid-template-columns: 1fr; }
  .benefits { gap: 36px; }
  .quiz__options { grid-template-columns: 1fr; }
  .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; }
}

/* ============ Joomla integration ============ */
.nm-messages:empty, .nm-messages #system-message-container:empty { display: none; }
.nm-messages { position: relative; z-index: 45; }
.nm-messages .alert, .nm-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 .nm-messages .alert, .page-home .nm-messages joomla-alert { position: absolute; left: 16px; right: 16px; }
.nm-messages .alert-heading, .nm-messages .joomla-alert--close { display: none; }
.no-hero .header { background: rgba(var(--shade), .92); border-bottom-color: var(--line); }
.nm-content { padding: calc(var(--header) + 48px) 0 clamp(72px, 9vw, 128px); }
.nm-content h1, .nm-content h2 { font-family: var(--serif); font-weight: 300; }
.nm-content a { color: var(--accent); }
.logo-img { display: block; max-height: 42px; width: auto; }
.legal--single { grid-template-columns: minmax(0, 1fr); }
.page-privacy #main, .page-standard #main { padding-bottom: 0; }
.pm__img { position: relative; }
.pm__img > a { display: block; height: 100%; }
.pm__img > a.pm__more { display: none; }
.pm__count { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(var(--shade), .74); color: var(--text); font-size: 13px; pointer-events: none; }
.pm__text p { color: #cfccc3; font-size: 15px; }
.note .socials { margin-top: 12px; }
.way .socials { margin-top: auto; }
.partner--solo { grid-template-columns: minmax(0, 1fr); }
.mosaic--4 .mosaic__item--1 { grid-row: span 1; }
.nf { min-height: 100svh; display: flex; align-items: center; }
.page-404 .page-hero__inner { padding-top: 24px; }

/* ============ Правки клиента (ноябрь 2026) ============ */
:root { --yellow: #f2c32c; }

/* Шапка: жёлтая прямоугольная кнопка */
.btn--accent {
  border-radius: 4px;
  border-color: transparent;
  background: var(--yellow);
  color: #17140d;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(242, 195, 44, .22);
}
.btn--accent:hover { background: #ffd34a; box-shadow: 0 8px 26px rgba(242, 195, 44, .32); }
.header__cta { border-radius: 4px; padding-inline: 20px; }

/* Путь проекта: кнопка «Заказать замер» под списком этапов */
.steps__side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.steps__side .steps__list { flex: 1 1 auto; }
.steps__cta { margin-top: auto; }
.steps__cta .btn { width: 100%; }

/* Реализованные проекты: линейный ряд фото */
.shot { margin: 0; width: 420px; }
.shot__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--card); }
.shot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover .shot__img img { transform: scale(1.04); }
.shot__cap { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.shot__cap b { font-weight: 600; font-size: 15px; }
.shot__cap span { color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Материалы: горизонтальные карточки, текст не обрезается */
.swatch { width: 300px; }
.swatch__img { aspect-ratio: 4 / 3; }
.swatch__title { margin: 14px 0 4px; font-size: 1.1rem; line-height: 1.25; }
.swatch p { font-size: 13.5px; line-height: 1.5; }

/* Отзывы: без крупной цифры */
.review--rating { justify-content: space-between; }
.review__rating-text { font-family: var(--serif); font-weight: 300; font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.35; color: var(--text); }

@media (max-width: 900px) {
  .steps__side { gap: 16px; }
  .steps__cta { margin-top: 0; }
}

@media (max-width: 760px) {
  .shot { width: 82vw; }
  .swatch { width: 78vw; }
}

/* Кнопка «Заказать замер»: на мобиле — после этапа, на десктопе — под списком */
.steps__cta--m { display: none; }
@media (max-width: 900px) {
  .steps__side .steps__cta { display: none; }
  .steps__cta--m { display: block; margin-top: 16px; }
}

/* ============ Калькулятор стоимости ============ */
.calc-sec { overflow: hidden; }
.calc { display: flex; flex-direction: column; gap: 24px; }
.calc__types { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.calc__type { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--muted); font: 500 15px var(--sans); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.calc__type:hover { color: var(--text); border-color: rgba(255, 255, 255, .32); }
.calc__type[aria-selected="true"] { background: var(--light); border-color: var(--light); color: #121211; }
.calc__type .i { flex: none; }
.calc__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.calc__form { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.calc__panel { display: flex; flex-direction: column; gap: 22px; }
.calc__field { margin: 0; padding: 0; border: 0; }
.calc__field + .calc__field { margin-top: 0; }
.calc__label { display: block; margin-bottom: 10px; padding: 0; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.calc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.calc__row .calc__label { margin-bottom: 12px; }
.calc__value { color: var(--text); font-family: var(--serif); font-size: 1.3rem; white-space: nowrap; }
.calc__scale { display: flex; justify-content: space-between; margin-top: 6px; color: var(--dim); font-size: 12px; }
.range { display: block; width: 100%; height: 24px; margin: 0; padding: 0; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--p, 50%), rgba(255, 255, 255, .18) var(--p, 50%)) center / 100% 4px no-repeat; }
.range::-webkit-slider-runnable-track { height: 25px; background: transparent; }
.range::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: 2px; border: 0; border-radius: 50%; background: var(--light); box-shadow: 0 0 0 4px rgba(var(--shade), .92); appearance: none; -webkit-appearance: none; }
.range::-moz-range-track { height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.range::-moz-range-progress { height: 4px; border-radius: 3px; background: var(--accent); }
.range::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--light); }
.range:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
.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: 999px; color: var(--muted); font-size: 14px; transition: background-color .2s, color .2s, border-color .2s; }
.pill:hover span { color: var(--text); border-color: rgba(255, 255, 255, .32); }
.pill input:checked + span { background: var(--light); border-color: var(--light); color: #121211; }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.calc__checks { display: grid; gap: 8px; }
.option--sm span { min-height: 46px; font-size: 14px; }
.layouts { display: grid; grid-template-columns: repeat(4, minmax(0, 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 .plan { border-radius: 8px; }
.layout b { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; }
.layout:hover span { border-color: rgba(255, 255, 255, .32); }
.layout input:checked + span { border-color: var(--accent); background: rgba(205, 182, 142, .08); }
.layout input:checked + span b { color: var(--text); }
.layout input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.calc__result { position: sticky; top: calc(var(--header) + 16px); display: flex; flex-direction: column; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: radial-gradient(120% 90% at 100% 0%, rgba(242, 195, 44, .1), transparent 60%), var(--bg-2); }
.calc__result-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.calc__result-label .i { color: var(--yellow); }
.calc__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; color: var(--text); }
.calc__price i { color: var(--dim); font-style: normal; }
.calc__price.is-bump { animation: price-bump .4s var(--ease); }
@keyframes price-bump { 0% { transform: scale(1); } 40% { transform: scale(1.03); } 100% { transform: scale(1); } }
.calc__summary { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.calc__summary li { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13.5px; }
.calc__summary li span:last-child { color: var(--text); text-align: right; }
.calc__note { color: var(--dim); font-size: 12.5px; line-height: 1.5; }
@media (max-width: 1100px) {
  .calc__grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .layouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .calc__grid { grid-template-columns: minmax(0, 1fr); }
  .calc__result { position: static; }
  .calc__types { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
  .calc__types::-webkit-scrollbar { display: none; }
  .calc__type { flex: none; }
}
