/* ==========================================================
   Плитка Погреби — «Оливковий травертин»
   ========================================================== */
:root {
  --bg: #F4F1EA;
  --block: #E6DFD2;
  --block-2: #EDE8DE;
  --text: #26281F;
  --muted: #66675A;
  --accent: #5E6B3A;
  --accent-dark: #4A552D;
  --accent-light: #8A9763;
  --accent-soft: rgba(94, 107, 58, .12);
  --line: rgba(38, 40, 31, .12);
  --line-strong: rgba(38, 40, 31, .22);
  --dark: #26281F;
  --dark-2: #31342A;
  --on-dark: #F4F1EA;
  --on-dark-muted: rgba(244, 241, 234, .62);
  --viber: #7360F2;
  --tg: #229ED9;
  --in: #4F7A3A;
  --order: #A36A1C;

  --f-display: "Forum", "Times New Roman", serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: 32px;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --shadow: 0 18px 40px -22px rgba(38, 40, 31, .35);
  --shadow-lg: 0 40px 80px -30px rgba(38, 40, 31, .45);
  --container: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: hidden; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
/* travertine grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .33 0 0 0 0 .27 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: .98; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(3rem, 7.4vw, 7.6rem); }
h2 { font-size: clamp(2.5rem, 5.6vw, 5.2rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.05; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--accent); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; z-index: 2; }
.section--block { background: var(--block); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark em { color: var(--accent-light); }
main, footer, header { position: relative; z-index: 2; }

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.label b { color: var(--accent); font-weight: 600; }
.section--dark .label { color: var(--on-dark-muted); }
.section--dark .label b { color: var(--accent-light); }
.head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px; margin-bottom: clamp(44px, 6vw, 80px); }
.head h2 { margin-top: 20px; }
.head p { max-width: 420px; color: var(--muted); margin: 0; }
.section--dark .head p { color: var(--on-dark-muted); }

/* split-text helpers */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --x: 50%; --y: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 100px;
  font-weight: 600; font-size: .98rem; white-space: nowrap; line-height: 1;
  transition: color .4s var(--ease), border-color .4s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn::before {
  content: ""; position: absolute; z-index: -1; left: var(--x); top: var(--y);
  width: 260%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn--call { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px rgba(94, 107, 58, .9); }
.btn--call::before { background: var(--accent-dark); }
.btn--viber { background: var(--viber); color: #fff; border: 1.5px solid var(--viber); box-shadow: 0 14px 30px -14px rgba(115, 96, 242, .9); }
.btn--tg { background: var(--tg); color: #fff; border: 1.5px solid var(--tg); box-shadow: 0 14px 30px -14px rgba(34, 158, 217, .9); }
/* месенджери: при наведенні світла заливка «розтікається» від курсора, текст та іконка — фірмового кольору */
.btn--viber::before, .btn--tg::before { background: #fff; }
.btn--viber:hover { color: var(--viber); box-shadow: 0 18px 36px -14px rgba(115, 96, 242, .95); }
.btn--tg:hover { color: var(--tg); box-shadow: 0 18px 36px -14px rgba(34, 158, 217, .95); }
.btn--viber:hover svg, .btn--tg:hover svg { transform: rotate(-10deg) scale(1.08); }
.btn--viber svg, .btn--tg svg { transition: transform .45s var(--ease); }
.btn--line { border: 1.5px solid var(--text); color: var(--text); }
.btn--line::before { background: var(--text); }
.btn--line:hover { color: var(--bg); }
.btn--light { background: var(--bg); color: var(--text); }
.btn--light::before { background: #fff; }
.btn--ghost-light { border: 1.5px solid rgba(244,241,234,.4); color: var(--on-dark); }
.btn--ghost-light::before { background: var(--on-dark); }
.btn--ghost-light:hover { color: var(--text); }
.btn--sm { height: 44px; padding: 0 20px; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; position: relative; padding: 6px 0; }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.link-arrow:hover::after { transform: scaleX(0); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translate(4px, -4px); }

.icon-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; transition: transform .4s var(--ease), background .3s, color .3s; }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn--call { background: var(--accent); color: #fff; }
.icon-btn--viber { background: var(--viber); color: #fff; }
.icon-btn--viber:hover { background: #fff; color: var(--viber); box-shadow: inset 0 0 0 1.5px var(--viber); }
.icon-btn--soft { background: var(--block); color: var(--text); }
.icon-btn:hover { transform: scale(1.08) rotate(-8deg); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 34px; height: 40px; flex-shrink: 0; }
.logo__mark { --arch-c: var(--accent); --arch-line: var(--bg); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a.visually-hidden:focus { position: fixed !important; left: 16px; top: 16px; width: auto; height: auto; clip: auto; z-index: 3000; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 100px; }
.logo__name { font-family: var(--f-display); font-size: 1.72rem; line-height: .9; display: flex; flex-direction: column; }
.logo__name small { white-space: nowrap; font-family: var(--f-body); font-size: .56rem; letter-spacing: .26em; font-weight: 600; color: var(--muted); margin-top: 5px; }
.logo:hover .logo__mark { animation: archPulse .9s var(--ease); }
.section--dark .logo__name small, .footer .logo__name small { color: var(--on-dark-muted); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px 0; transition: padding .45s var(--ease), transform .5s var(--ease); }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(244, 241, 234, .9); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -24px rgba(38,40,31,.5); opacity: 0; transition: opacity .45s var(--ease); }
.header.is-scrolled { padding: 8px 0; }
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled .header__bar, .header.is-scrolled .header__phone { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header .header__bar, .header .header__phone { transition: background .45s, border-color .45s, box-shadow .45s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.header__bar {
  display: flex; align-items: center; gap: 4px; padding: 6px;
  background: rgba(244, 241, 234, .72); border: 1px solid var(--line); border-radius: 100px;
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 30px -20px rgba(38,40,31,.4);
}
.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 10px 16px; border-radius: 100px; font-weight: 500; font-size: .93rem; transition: background .3s, color .3s; }
.nav a:hover { background: var(--block); }
.nav a[aria-current="page"] { background: var(--text); color: var(--bg); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__phone { display: flex; align-items: center; gap: 10px; font-weight: 600; padding: 0 14px 0 6px; height: 46px; border-radius: 100px; background: rgba(244,241,234,.72); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header__phone i { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.header__phone i svg { width: 16px; height: 16px; }
.burger { display: none; width: 50px; height: 50px; border-radius: 50%; background: var(--text); color: var(--bg); position: relative; z-index: 3; }
.burger span { position: absolute; left: 16px; right: 16px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 21px; }
.burger span:nth-child(2) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 24.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 24.5px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 99; background: var(--dark); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden;
}
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu nav a { font-family: var(--f-display); font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.15; display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid rgba(244,241,234,.1); padding: 6px 0; transform: translateY(40px); opacity: 0; transition: transform .8s var(--ease), opacity .6s; }
.mmenu nav a small { font-family: var(--f-body); font-size: .8rem; color: var(--accent-light); }
.menu-open .mmenu nav a { transform: none; opacity: 1; }
.menu-open .mmenu nav a:nth-child(2) { transition-delay: .06s; }
.menu-open .mmenu nav a:nth-child(3) { transition-delay: .12s; }
.menu-open .mmenu nav a:nth-child(4) { transition-delay: .18s; }
.menu-open .mmenu nav a:nth-child(5) { transition-delay: .24s; }
.mmenu__foot { display: grid; gap: 10px; }
.mmenu__foot p { color: var(--on-dark-muted); font-size: .92rem; margin: 6px 0 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 130px 0 34px; overflow: hidden; z-index: 2; }
.hero__bg { position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(255,255,255,.75), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(94,107,58,.12), transparent 70%),
    var(--bg);
}
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__fallback { position: absolute; right: 4%; top: 18%; width: 40%; aspect-ratio: 1; display: none; }
.no-webgl .hero__fallback { display: block; }
.hero__fallback img { position: absolute; width: 46%; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.hero__fallback img:nth-child(1) { left: 0; top: 10%; transform: rotate(-8deg); }
.hero__fallback img:nth-child(2) { left: 30%; top: 0; transform: rotate(4deg); }
.hero__fallback img:nth-child(3) { left: 52%; top: 30%; transform: rotate(10deg); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); gap: 40px; align-items: end; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; padding: 8px 16px 8px 12px; border-radius: 100px; background: rgba(244,241,234,.7); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: 28px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--in); box-shadow: 0 0 0 0 rgba(79,122,58,.5); animation: pulse 2s infinite; }
.hero h1 { margin-bottom: 30px; }
.hero h1 .ln { display: block; }
.hero h1 .ln { white-space: nowrap; }
.hero h1 .ln--indent { padding-left: clamp(30px, 7vw, 120px); }
.hero__lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--muted); max-width: 470px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero__cta .link-arrow { margin-left: 10px; }
.hero__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.badge-round { width: 132px; height: 132px; position: relative; display: grid; place-items: center; border-radius: 50%; background: var(--text); color: var(--bg); }
.badge-round svg.ring { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 22s linear infinite; }
.badge-round text { font-size: 9.6px; letter-spacing: 2.6px; fill: var(--bg); text-transform: uppercase; font-family: var(--f-body); font-weight: 600; }
.badge-round .arr { width: 34px; height: 34px; transition: transform .6s var(--ease); }
.badge-round:hover .arr { transform: rotate(45deg); }
.hero__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(40px, 6vh, 70px); padding-top: 22px; border-top: 1px solid var(--line); }
.chip-info { display: inline-flex; align-items: center; gap: 12px; font-size: .9rem; }
.chip-info b { font-family: var(--f-display); font-size: 2rem; font-weight: 400; line-height: 1; }
.chip-info .stars { color: #C9962E; letter-spacing: 1px; }
.chip-info small { display: block; color: var(--muted); font-size: .8rem; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1.5px; height: 40px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--accent); animation: cue 1.8s var(--ease-io) infinite; }
.hero__hint { position: absolute; right: var(--gutter); top: 50%; writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); opacity: .8; }

/* ---------- Marquee ---------- */
.marquee-wrap { position: relative; z-index: 3; padding: 30px 0; overflow: hidden; }
.marquee { display: flex; overflow: hidden; padding: 20px 0; white-space: nowrap; }
.marquee--olive { background: var(--accent); color: var(--bg); transform: rotate(-2deg); width: 106%; margin-left: -3%; position: relative; z-index: 2; box-shadow: 0 20px 40px -20px rgba(38,40,31,.4); }
.marquee--ghost { background: var(--block); color: var(--text); transform: rotate(1.6deg); width: 106%; margin-left: -3%; position: absolute; left: 0; top: 46px; opacity: .9; }
.marquee__track { display: flex; flex-shrink: 0; gap: 0; will-change: transform; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(1.7rem, 3.2vw, 2.8rem); display: inline-flex; align-items: center; padding: 0 28px; line-height: 1; }
.marquee__track span::after { content: ""; width: 14px; height: 17px; margin-left: 56px; background: currentColor; opacity: .55; clip-path: path("M0 17V7a7 7 0 0 1 14 0v10z"); }

/* ---------- Statement ---------- */
.statement { font-family: var(--f-display); font-size: clamp(1.9rem, 4.1vw, 3.9rem); line-height: 1.14; max-width: 1180px; }
.statement .sword { opacity: .16; }
.statement .pill-img { display: inline-block; vertical-align: middle; width: 1.9em; height: .9em; border-radius: 100px; overflow: hidden; margin: 0 .12em; position: relative; top: -.06em; }
.statement .pill-img img { width: 100%; height: 100%; object-fit: cover; }
.statement-meta { display: flex; gap: 40px; margin-top: 50px; color: var(--muted); flex-wrap: wrap; }
.statement-meta div { max-width: 300px; font-size: .96rem; }
.statement-meta b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 3rem; color: var(--text); line-height: 1; margin-bottom: 6px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.bento__c { position: relative; border-radius: var(--r-lg); padding: 28px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; transform-style: preserve-3d; transition: box-shadow .5s var(--ease); }
.bento__c:hover { box-shadow: var(--shadow); }
.bento__c h3 { margin-bottom: 8px; }
.bento__c p { color: var(--muted); font-size: .95rem; margin: 0; }
.bento__c--photo { grid-column: span 2; grid-row: span 2; padding: 0; color: #fff; }
.bento__c--photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.bento__c--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,22,15,.75)); }
.bento__c--photo .bento__txt { position: absolute; left: 30px; right: 30px; bottom: 28px; z-index: 1; }
.bento__c--photo h3 { font-size: clamp(2rem, 3.4vw, 3rem); color: #fff; }
.bento__c--photo p { color: rgba(255,255,255,.8); }
.bento__c--olive { background: var(--accent); color: var(--bg); }
.bento__c--olive p { color: rgba(244,241,234,.75); }
.bento__c--dark { background: var(--dark); color: var(--on-dark); }
.bento__c--dark p { color: var(--on-dark-muted); }
.bento__big { font-family: var(--f-display); font-size: clamp(3.4rem, 5.6vw, 5.4rem); line-height: .9; }
.bento__big sup { font-size: .4em; color: #C9962E; vertical-align: top; position: relative; top: .3em; }
.bento__ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.bento__c--olive .bento__ic { background: rgba(244,241,234,.16); color: var(--bg); }
.bento__c--dark .bento__ic { background: rgba(244,241,234,.08); color: var(--accent-light); }
.bento__ic svg { width: 26px; height: 26px; }
.bento__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.truck-road { position: relative; height: 34px; margin: 6px 0 14px; }
.truck-road::before { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; border-bottom: 1.5px dashed var(--line-strong); }
.truck-road svg { position: absolute; bottom: 8px; width: 30px; height: 30px; color: var(--accent); animation: drive 6s linear infinite; }
.mini-tiles { display: grid; grid-template-columns: repeat(6, 1fr); max-width: 220px; gap: 5px; margin: 6px 0 16px; }
.mini-tiles i { aspect-ratio: 1; border-radius: 5px; background: rgba(244,241,234,.12); animation: tileBlink 3.2s infinite; }
.mini-tiles i:nth-child(3n) { animation-delay: .4s; }
.mini-tiles i:nth-child(4n) { animation-delay: .9s; }
.mini-tiles i:nth-child(5n) { animation-delay: 1.4s; }

/* ---------- Collections (horizontal) ---------- */
.hs { position: relative; }
.hs__viewport { overflow: hidden; }
.hs__track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; }
.hs__progress { height: 2px; background: var(--line); margin: 44px var(--gutter) 0; position: relative; max-width: calc(var(--container) - 2 * var(--gutter)); }
.hs__progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.hs__hint { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; margin: 14px auto 0; max-width: calc(var(--container) - 2 * var(--gutter)); padding: 0; }

.pcard { position: relative; width: clamp(280px, 26vw, 380px); flex-shrink: 0; display: flex; flex-direction: column; background: var(--bg); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.pcard:hover { box-shadow: var(--shadow-lg); }
.pcard__media { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--block); }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .7s var(--ease), clip-path .9s var(--ease); }
.pcard__media .pcard__photo { clip-path: inset(100% 0 0 0); }
.pcard:hover .pcard__photo { clip-path: inset(0 0 0 0); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__tags { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 100px; font-size: .76rem; font-weight: 600; background: rgba(244,241,234,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--text); }
.tag--hit { background: var(--accent); color: #fff; }
.tag--sale { background: #B5562F; color: #fff; }
.tag--new { background: var(--text); color: var(--bg); }
.stock { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px 0 10px; border-radius: 100px; font-size: .76rem; font-weight: 600; background: rgba(244,241,234,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--in); }
.stock--order { color: var(--order); }
.pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.pcard__meta { font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.pcard__name { font-family: var(--f-display); font-size: 1.75rem; line-height: 1.05; }
.pcard__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; padding: 0; list-style: none; }
.pcard__specs li { font-size: .76rem; font-weight: 500; padding: 4px 10px; border-radius: 8px; background: var(--block-2); color: var(--muted); }
.pcard__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.price { line-height: 1; }
.price small { display: block; font-size: .76rem; color: var(--muted); margin-bottom: 4px; }
.price small s { color: #B5562F; margin-left: 4px; }
.price b { font-family: var(--f-display); font-weight: 400; font-size: 2rem; white-space: nowrap; }
.price b span { font-family: var(--f-body); font-size: .8rem; color: var(--muted); font-weight: 500; }
.pcard__actions { display: flex; gap: 6px; }
.pcard--more { background: var(--accent); color: var(--bg); justify-content: space-between; padding: 30px; min-height: 100%; }
.pcard--more h3 { font-size: clamp(2.2rem, 3vw, 3rem); }
.pcard--more p { color: rgba(244,241,234,.75); }
.pcard--more .arrow-big { width: 84px; height: 84px; border-radius: 50%; background: var(--bg); color: var(--accent); display: grid; place-items: center; transition: transform .6s var(--ease); }
.pcard--more .arrow-big svg { width: 32px; height: 32px; }
.pcard--more:hover .arrow-big { transform: rotate(45deg) scale(1.08); }
.pcard--more .tiles-anim { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 70%; }
.pcard--more .tiles-anim i { aspect-ratio: 1 / 1.4; border-radius: 6px; background: rgba(244,241,234,.14); transition: transform .6s var(--ease), background .4s; }
.pcard--more:hover .tiles-anim i:nth-child(odd) { transform: translateY(-8px); background: rgba(244,241,234,.3); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 18px; align-items: stretch; }
.viewer {
  position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 620px;
  background: radial-gradient(90% 70% at 50% 35%, #3a3e31 0%, #2b2e24 55%, #22241c 100%);
  border: 1px solid rgba(244,241,234,.08);
}
.viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.viewer.is-drag canvas { cursor: grabbing; }
.viewer__top { position: absolute; left: 18px; right: 18px; top: 18px; display: flex; justify-content: space-between; gap: 10px; pointer-events: none; z-index: 2; }
.viewer__top > * { pointer-events: auto; }
.vbtns { display: flex; gap: 6px; background: rgba(38,40,31,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 5px; border-radius: 100px; border: 1px solid rgba(244,241,234,.1); }
.vbtns button { height: 36px; min-width: 36px; padding: 0 14px; border-radius: 100px; font-size: .84rem; font-weight: 500; color: var(--on-dark-muted); display: inline-flex; align-items: center; justify-content: center; transition: background .3s, color .3s; }
.vbtns button svg { width: 16px; height: 16px; }
.vbtns button:hover { color: var(--on-dark); }
.vbtns button.is-on { background: var(--on-dark); color: var(--text); }
.viewer__hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--on-dark-muted); background: rgba(38,40,31,.55); padding: 8px 14px; border-radius: 100px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .5s; pointer-events: none; z-index: 2; white-space: nowrap; }
.viewer__hint svg { width: 16px; height: 16px; animation: swipe 2.4s var(--ease-io) infinite; }
.viewer.was-dragged .viewer__hint { opacity: 0; }
.dim3d { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; padding: 5px 11px; border-radius: 100px; background: var(--on-dark); color: var(--text); font-size: .78rem; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); transition: opacity .3s; will-change: transform; }
.viewer__tile { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 100px; background: rgba(38,40,31,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(244,241,234,.1); font-size: .86rem; }
.viewer__tile i { width: 34px; height: 34px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid var(--on-dark); }
.viewer__tile small { display: block; color: var(--on-dark-muted); font-size: .74rem; }
.viewer__tile-i { display: flex; align-items: center; gap: 12px; }
.viewer__tile-i + .viewer__tile-i { padding-left: 14px; margin-left: 2px; border-left: 1px solid rgba(244,241,234,.16); }

/* окрема плитка для підлоги і стін */
.step__t .step__hint { font-size: .74rem; color: var(--on-dark-muted); }
[data-both][hidden], .calc-split[hidden], .viewer__tile[hidden] { display: none; }

.panel { background: var(--dark-2); border: 1px solid rgba(244,241,234,.08); border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; gap: 22px; }
.step { display: grid; gap: 12px; }
.step[hidden] { display: none; }
.step__t { display: flex; justify-content: space-between; align-items: baseline; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.step__t b { color: var(--accent-light); font-weight: 600; margin-right: 8px; }
.step__t output { letter-spacing: 0; text-transform: none; color: var(--on-dark); font-size: .9rem; }
.seg { display: flex; background: rgba(244,241,234,.06); border-radius: 14px; padding: 4px; gap: 4px; position: relative; }
.seg label { flex: 1; position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 42px; padding: 6px 8px; border-radius: 11px; font-size: .86rem; font-weight: 500; color: var(--on-dark-muted); line-height: 1.15; transition: color .3s, background .35s var(--ease); }
.seg span em { font-size: .7rem; color: inherit; opacity: .7; margin-top: 2px; }
.seg input:checked + span { background: var(--on-dark); color: var(--text); }
.seg input:disabled + span { opacity: .3; cursor: not-allowed; }
.seg input:focus-visible + span { outline: 2px solid var(--accent-light); }

.slider { display: grid; gap: 8px; }
.slider__row { display: flex; justify-content: space-between; align-items: baseline; font-size: .88rem; color: var(--on-dark-muted); }
.slider__row b { color: var(--on-dark); font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.slider__row b small { font-family: var(--f-body); font-size: .8rem; color: var(--on-dark-muted); margin-left: 3px; }
.rng { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; --p: 50%; }
.rng::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent-light) var(--p), rgba(244,241,234,.14) var(--p)); }
.rng::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(244,241,234,.14); }
.rng::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent-light); }
.rng::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--on-dark); border: 5px solid var(--accent); box-shadow: 0 4px 12px rgba(0,0,0,.4); transition: transform .25s var(--ease); }
.rng::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--on-dark); border: 5px solid var(--accent); }
.rng:active::-webkit-slider-thumb { transform: scale(1.25); }
.sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.sliders .is-off { opacity: .5; }
.sliders .is-off .slider__row label::after { content: ' · для стін'; font-size: .75em; color: var(--accent-light); }

.swatch-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.sw { position: relative; aspect-ratio: 1; border-radius: 12px; background-size: cover; background-position: center; border: 2px solid transparent; transition: transform .35s var(--ease), border-color .3s; }
.sw::after { content: ""; position: absolute; inset: 3px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.sw:hover { transform: translateY(-3px); }
.sw.is-on { border-color: var(--accent-light); transform: scale(1.06); }
.sw.is-on::before { content: ""; position: absolute; right: -6px; top: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; z-index: 1; }
.picks { display: grid; gap: 10px; }
.picks[hidden] { display: none; }
.picks__t { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--on-dark-muted); }
.picks__t b { color: var(--accent-light); font-weight: 600; }
.picks__t button { font-size: .8rem; color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 3px; }
.picks__t button:hover { color: var(--on-dark); }
.sw em { position: absolute; left: 3px; right: 3px; bottom: 3px; border-radius: 0 0 8px 8px; background: rgba(20,22,16,.62); color: #fff; font-style: normal; font-size: .6rem; line-height: 1.5; text-align: center; }
.sw-name { display: flex; justify-content: space-between; font-size: .9rem; }
.sw-name span { color: var(--on-dark-muted); }
.grout { display: flex; gap: 10px; }
.grout label { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--on-dark-muted); }
.grout input { position: absolute; opacity: 0; }
.grout i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(244,241,234,.2); transition: transform .3s var(--ease), border-color .3s; }
.grout input:checked + i { border-color: var(--accent-light); transform: scale(1.15); box-shadow: 0 0 0 3px rgba(138,151,99,.3); }
.grout input:checked ~ span { color: var(--on-dark); }

.result { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr) 1.4fr auto; gap: 1px; background: rgba(244,241,234,.08); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(244,241,234,.08); }
.result > div { background: var(--dark-2); padding: 20px 22px; }
.result small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 8px; font-weight: 600; }
.result b { font-family: var(--f-display); font-weight: 400; font-size: 2.1rem; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.result b span:not([data-out]) { font-family: var(--f-body); font-size: .85rem; color: var(--on-dark-muted); margin-left: 4px; }
.result .result__total b span:not([data-out]) { color: rgba(244,241,234,.75); }
.result .result__total { background: var(--accent); }
.result .result__total small { color: rgba(244,241,234,.75); }
.result .result__total b { font-size: 2.6rem; }
.result__btns { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.calc-split { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 0; font-size: .88rem; color: var(--on-dark-muted); }
.calc-split b { color: var(--accent-light); font-weight: 600; margin-right: 8px; }
.calc-note { grid-column: 1 / -1; text-align: center; color: var(--on-dark-muted); font-size: .84rem; margin: 6px 0 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.gallery__col { display: grid; gap: 18px; }
.gallery__col:nth-child(2) { margin-top: 120px; }
.gitem { position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; background: var(--block); display: block; width: 100%; }
.gitem img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.gitem:hover img { transform: scale(1.05); }
.gitem figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(244,241,234,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .86rem; font-weight: 500; transform: translateY(130%); transition: transform .6s var(--ease); text-align: left; }
.gitem figcaption svg { width: 18px; height: 18px; flex-shrink: 0; }
.gitem:hover figcaption, .gitem:focus-visible figcaption { transform: none; }
.gitem--tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.gitem--wide img { aspect-ratio: 4 / 3; object-fit: cover; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20, 21, 16, .94); display: flex; align-items: center; justify-content: center; padding: 70px 20px; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--r); transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: var(--on-dark); margin-top: 16px; font-size: .95rem; }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: rgba(244,241,234,.1); color: var(--on-dark); display: grid; place-items: center; transition: background .3s; }
.lb-btn:hover { background: var(--accent); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); color: var(--on-dark-muted); font-size: .85rem; letter-spacing: .15em; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: .8fr 1.6fr; gap: 50px; align-items: start; }
.rating-big { position: sticky; top: 120px; }
.rating-big strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(6rem, 12vw, 10rem); line-height: .85; }
.rating-big .stars { color: #C9962E; font-size: 1.5rem; letter-spacing: 3px; margin: 14px 0 6px; }
.rating-big p { color: var(--muted); margin-bottom: 26px; }
.rtrack { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; cursor: grab; }
.rtrack::-webkit-scrollbar { display: none; }
.rtrack.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rcard { flex: 0 0 min(420px, 84%); scroll-snap-align: start; background: var(--bg); border-radius: var(--r-lg); padding: 32px; margin: 0; display: flex; flex-direction: column; gap: 18px; user-select: none; }
.rcard .stars { color: #C9962E; letter-spacing: 2px; }
.rcard blockquote { margin: 0; font-family: var(--f-display); font-size: 1.55rem; line-height: 1.22; }
.rcard figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.rcard figcaption i { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 600; }
.rcard figcaption small { display: block; color: var(--muted); font-size: .82rem; }
.rnav { display: flex; gap: 8px; margin-top: 22px; }
.rnav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.rnav button:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.rnav svg { width: 20px; height: 20px; }

/* ---------- Delivery ---------- */
.delivery { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.delivery__sticky { position: sticky; top: 120px; align-self: start; }
.delivery__sticky p { color: var(--muted); max-width: 440px; margin: 24px 0 30px; }
.facts { display: grid; gap: 10px; }
.fact { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--block-2); font-size: .95rem; }
.fact svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.timeline { position: relative; padding-left: 70px; }
.timeline__line { position: absolute; left: 24px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.timeline__truck { position: absolute; left: -15px; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg); }
.timeline__truck svg { width: 17px; height: 17px; }
.tstep { position: relative; padding: 30px 32px; border-radius: var(--r-lg); background: var(--bg); margin-bottom: 18px; border: 1px solid var(--line); transition: border-color .5s, box-shadow .5s; }
.tstep::before { content: attr(data-n); position: absolute; left: -62px; top: 30px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--line-strong); font-size: .85rem; font-weight: 600; transition: background .5s, color .5s, border-color .5s; }
.tstep.is-on { border-color: var(--accent); box-shadow: var(--shadow); }
.tstep.is-on::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.tstep h3 { margin-bottom: 8px; }
.tstep p { color: var(--muted); margin: 0; }

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; }
.ccard { background: var(--dark); color: var(--on-dark); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 26px; position: relative; overflow: hidden; }
.ccard::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 340px; height: 400px; border-radius: 170px 170px 0 0; border: 1.5px solid rgba(244,241,234,.08); }
.ccard__phone { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; display: inline-block; transition: color .3s; }
.ccard__phone:hover { color: var(--accent-light); }
.crow { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(244,241,234,.1); font-size: 1rem; }
.crow small { color: var(--on-dark-muted); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.ccard .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; position: relative; z-index: 1; }
.map { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 520px; }
.map__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.map__pin { display: flex; align-items: center; gap: 12px; font-size: .92rem; line-height: 1.3; min-width: 0; }
.map__pin b { display: block; font-weight: 600; }
.map__pin small { color: var(--muted); font-size: .82rem; }
.map__pin i { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.map__pin i svg { width: 18px; height: 18px; }
.map__frame { position: relative; flex: 1; min-height: 420px; background: var(--block); }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.12) contrast(1.02); }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; }
.head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.head--center .label { justify-content: center; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex-shrink: 0; position: relative; transition: transform .5s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] summary i { background: var(--accent); color: #fff; border-color: var(--accent); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { color: var(--muted); padding-bottom: 26px; margin: 0; max-width: 720px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark); padding: 90px 0 30px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer .logo__mark { --arch-line: var(--dark); }
.footer p { color: var(--on-dark-muted); font-size: .95rem; max-width: 320px; margin-top: 20px; }
.footer h4 { font-family: var(--f-body); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--accent-light); }
.footer__word { position: relative; font-kerning: none; font-family: var(--f-display); font-size: clamp(4rem, 17.5vw, 17rem); line-height: .8; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(244,241,234,.22); white-space: nowrap; display: flex; justify-content: center; user-select: none; }
.footer__word span { display: inline-block; }
/* час від часу по контуру напису пробігає хвиля градієнта в кольорах сайту */
.footer__word::after {
  content: attr(data-word); position: absolute; inset: 0; display: block; text-align: center; pointer-events: none;
  color: transparent; -webkit-text-stroke: 1.5px transparent;
  background: linear-gradient(100deg, transparent 0 34%, rgba(94,107,58,.0) 36%, var(--accent) 42%, var(--accent-light) 47%, rgba(244,241,234,.95) 50%, var(--accent-light) 53%, var(--accent) 58%, transparent 64% 100%) 120% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  opacity: .9; animation: fword-sheen 9s cubic-bezier(.45, 0, .25, 1) 2.5s infinite;
}
@keyframes fword-sheen { 0% { background-position: 120% 0; } 32%, 100% { background-position: -20% 0; } }
@media (prefers-reduced-motion: reduce) { .footer__word::after { animation: none; display: none; } }
.header__actions .btn--tg span { display: inline; }
@media (max-width: 1280px) { .header__actions .btn--tg { width: 44px; padding: 0; } .header__actions .btn--tg span { display: none; } }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(244,241,234,.1); color: var(--on-dark-muted); font-size: .85rem; }

/* ---------- Mobile CTA bar ---------- */
.mbar { display: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 100px; z-index: 500; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--text); color: var(--bg); padding: 14px 22px; border-radius: 100px; font-size: .92rem; font-weight: 500; box-shadow: var(--shadow-lg); transition: opacity .4s, transform .5s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; mix-blend-mode: normal; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); }
.cursor__ring { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid rgba(94,107,58,.5); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s; }
.cursor__ring span { font-size: .72rem; font-weight: 600; color: #fff; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(94,107,58,.12); border-color: transparent; }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); border-color: transparent; }
.cursor.is-label .cursor__ring span { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }

/* ---------- Preloader / transitions ---------- */
.preloader { position: fixed; inset: 0; z-index: 2000; background: var(--bg); display: grid; place-items: center; }
.preloader__in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader svg { width: 74px; height: 88px; }
.preloader .pl-arch { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 200; stroke-dashoffset: 200; }
.preloader .pl-grid { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 100; stroke-dashoffset: 100; }
.preloader .pl-fill { fill: var(--accent); opacity: 0; }
.preloader__count { font-family: var(--f-display); font-size: 1.4rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.preloader__bar { width: 160px; height: 1.5px; background: var(--line); position: relative; overflow: hidden; }
.preloader__bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.ptrans { position: fixed; inset: 0; z-index: 1900; background: var(--accent); pointer-events: none; visibility: hidden; display: grid; place-items: center; }
.ptrans svg { width: 60px; height: 72px; }
.ptrans svg { --arch-c: var(--bg); --arch-line: var(--accent); }
.scrollbar { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 150; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ==========================================================
   Catalog page
   ========================================================== */
.chero { position: relative; padding: 150px 0 60px; overflow: hidden; z-index: 2; }
.chero__canvas { position: absolute; right: 0; top: 0; width: 55%; height: 100%; z-index: -1; }
.crumbs { display: flex; gap: 10px; font-size: .88rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--accent); }
.chero h1 { font-size: clamp(3rem, 7.4vw, 7rem); max-width: 900px; }
.chero__lead { color: var(--muted); max-width: 520px; font-size: 1.08rem; margin: 26px 0 0; }
.chero__stats { display: flex; gap: 44px; margin-top: 40px; flex-wrap: wrap; }
.chero__stats div { font-size: .88rem; color: var(--muted); }
.chero__stats b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2.8rem; color: var(--text); line-height: 1; }

.rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.room { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.1; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 22px; isolation: isolate; text-align: left; transition: transform .5s var(--ease); }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.room::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,22,15,.05) 30%, rgba(20,22,15,.75)); transition: background .5s; }
.room:hover img { transform: scale(1.08); }
.room h3 { font-size: 2rem; }
.room span { font-size: .85rem; opacity: .85; display: flex; justify-content: space-between; align-items: center; }
.room span i { width: 34px; height: 34px; border-radius: 50%; background: rgba(244,241,234,.2); display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .3s, transform .5s var(--ease); }
.room span i svg { width: 16px; height: 16px; }
.room:hover span i { background: var(--accent); transform: rotate(-45deg); }
.room.is-on { outline: 3px solid var(--accent); outline-offset: 3px; }
.room.is-on::before { background: linear-gradient(180deg, rgba(94,107,58,.2) 30%, rgba(38,44,20,.85)); }

.shop { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 34px; align-items: start; padding: 40px 0 120px; }
.filters { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; overscroll-behavior: contain; padding-right: 10px; scrollbar-width: thin; scrollbar-color: var(--accent-light) transparent; }
.filters::-webkit-scrollbar { width: 5px; }
.filters::-webkit-scrollbar-thumb { background: var(--accent-light); border-radius: 5px; }
.filters::-webkit-scrollbar-track { background: transparent; }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.filters__head h2 { font-size: 1.9rem; }
.f-reset { font-size: .86rem; font-weight: 600; color: var(--accent); }
.f-reset:hover { text-decoration: underline; }
.search { position: relative; margin-bottom: 8px; }
.search input { width: 100%; height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 16px 0 44px; font-size: .95rem; transition: border-color .3s, box-shadow .3s; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.fgrp { border-bottom: 1px solid var(--line); }
.fgrp summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: .95rem; }
.fgrp summary::-webkit-details-marker { display: none; }
.fgrp summary svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.fgrp[open] summary svg { transform: rotate(180deg); }
.fgrp__body { padding-bottom: 20px; }
.checks { display: grid; gap: 4px; }
.check { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0; cursor: pointer; font-size: .94rem; }
.check input { position: absolute; opacity: 0; }
.check i { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background .25s, border-color .25s; flex-shrink: 0; }
.check i::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .3s var(--ease); }
.check input:checked + i { background: var(--accent); border-color: var(--accent); }
.check input:checked + i::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.check em { margin-left: auto; font-style: normal; font-size: .8rem; color: var(--muted); }
.check.is-empty { opacity: .4; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.cswatch { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 100px; border: 1.5px solid var(--line); background: var(--bg); font-size: .85rem; font-weight: 500; transition: border-color .3s, background .3s, opacity .3s; }
.cswatch i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); position: relative; }
.cswatch i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translate(-50%, -65%) rotate(-45deg) scale(0); transition: transform .3s var(--ease); filter: drop-shadow(0 0 1px rgba(0,0,0,.7)); }
.cswatch:hover { border-color: var(--accent); }
.cswatch.is-on { border-color: var(--accent); background: var(--accent-soft); }
.cswatch.is-on i::after { transform: translate(-50%, -65%) rotate(-45deg) scale(1); }
.cswatch.is-empty, .fchip.is-empty { opacity: .35; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { height: 40px; padding: 0 16px; border-radius: 100px; border: 1.5px solid var(--line); background: var(--bg); font-size: .88rem; font-weight: 500; transition: border-color .3s, background .3s, color .3s, opacity .3s; }
.fchip:hover { border-color: var(--accent); }
.fchip.is-on { background: var(--accent); color: #fff; border-color: var(--accent); }
.prange { position: relative; height: 30px; margin: 4px 0 12px; }
.prange__track { position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 4px; background: var(--block); }
.prange__fill { position: absolute; top: 0; bottom: 0; background: var(--accent); border-radius: 4px; }
.prange input { position: absolute; inset: 0; width: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; }
.prange input::-webkit-slider-runnable-track { height: 30px; background: none; }
.prange input::-moz-range-track { background: none; }
.prange input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%; background: #fff; border: 5px solid var(--accent); box-shadow: 0 3px 10px rgba(38,40,31,.3); cursor: grab; }
.prange input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--accent); cursor: grab; }
.pinputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; color: var(--muted); }
.pinputs input { width: 100%; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 12px; font-size: .9rem; }
.pinputs input:focus { outline: none; border-color: var(--accent); }
.switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 0; cursor: pointer; font-weight: 500; font-size: .94rem; border-bottom: 1px solid var(--line); }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 44px; height: 26px; border-radius: 13px; background: var(--block); position: relative; transition: background .3s; flex-shrink: 0; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .4s var(--ease); }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.filters__apply { display: none; }
.f-shade { display: none; }
.chero h1 .ln { display: block; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.toolbar__count { font-size: .95rem; color: var(--muted); }
.toolbar__count b { color: var(--text); font-weight: 600; }
.toolbar__r { display: flex; align-items: center; gap: 10px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 44px; border-radius: 100px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 42px 0 18px; font-size: .9rem; font-weight: 500; cursor: pointer; }
.select select:focus { outline: none; border-color: var(--accent); }
.select svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; }
.vtoggle { display: flex; background: var(--block); border-radius: 100px; padding: 4px; }
.vtoggle button { width: 38px; height: 36px; border-radius: 100px; display: grid; place-items: center; color: var(--muted); transition: background .3s, color .3s; }
.vtoggle button svg { width: 17px; height: 17px; }
.vtoggle button.is-on { background: var(--bg); color: var(--text); box-shadow: 0 2px 8px rgba(38,40,31,.12); }
.f-open { display: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; margin-bottom: 20px; }
.pills:empty { margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px 0 14px; border-radius: 100px; background: var(--text); color: var(--bg); font-size: .82rem; font-weight: 500; animation: pillIn .4s var(--ease); }
.pill svg { width: 14px; height: 14px; }
.pill span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(244,241,234,.14); transition: background .3s; }
.pill:hover span { background: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
/* компактна картка для 4 колонок: ціна над кнопками, кнопки на всю ширину */
.grid:not(.is-list) .pcard__body { padding: 16px 16px 18px; }
.grid:not(.is-list) .pcard__name { font-size: 1.45rem; }
.grid:not(.is-list) .pcard__foot { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 14px; }
.grid:not(.is-list) .price b { font-size: 1.7rem; }
.grid:not(.is-list) .pcard__actions .icon-btn { flex: 1; width: auto; height: 42px; border-radius: 12px; }
.grid:not(.is-list) .pcard__actions .icon-btn:hover { transform: translateY(-2px); }
@media (max-width: 1320px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid .pcard { width: auto; background: #FBF9F4; border: 1px solid var(--line); }
.grid .pcard.is-hidden { display: none; }
.pcard__qv { position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translate(-50%, 20px); opacity: 0; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 100px; background: var(--text); color: var(--bg); font-size: .84rem; font-weight: 600; transition: transform .5s var(--ease), opacity .4s, background .3s; white-space: nowrap; }
.pcard__qv svg { width: 16px; height: 16px; }
.pcard__qv:hover { background: var(--accent); }
.pcard:hover .pcard__qv, .pcard__qv:focus-visible { transform: translate(-50%, 0); opacity: 1; }
.pcard:hover .stock { opacity: 0; }
.stock { transition: opacity .3s; }
.pcard__name a::after, .pcard__name button::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__name button { font: inherit; text-align: left; color: inherit; }
.pcard__actions, .pcard__qv { position: relative; z-index: 2; }
.pcard__qv { position: absolute; }

.grid.is-list { grid-template-columns: 1fr; }
.grid.is-list .pcard { flex-direction: row; }
.grid.is-list .pcard__media { width: 260px; aspect-ratio: 1; flex-shrink: 0; }
.grid.is-list .pcard__body { padding: 24px 28px; }
.grid.is-list .pcard__name { font-size: 2.1rem; }
.pcard__table { display: none; }
.grid.is-list .pcard__table { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px 28px; font-size: .86rem; margin: 6px 0 4px; }
.grid.is-list .pcard__table small { display: block; color: var(--muted); font-size: .74rem; }

.more { text-align: center; margin-top: 44px; }
.more p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.more__bar { width: 220px; height: 2px; background: var(--line); margin: 0 auto 22px; position: relative; }
.more__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transition: transform .6s var(--ease); }

.empty { text-align: center; padding: 70px 24px; border-radius: var(--r-xl); background: var(--block-2); }
.empty svg { width: 70px; height: 84px; margin: 0 auto 20px; }
.empty svg { --arch-c: var(--block); --arch-line: var(--bg); }
.empty p { color: var(--muted); max-width: 420px; margin: 12px auto 24px; }
.empty .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Quick view */
.qv { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; }
.qv.is-open { visibility: visible; }
.qv__bg { position: absolute; inset: 0; background: rgba(20,21,16,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.qv.is-open .qv__bg { opacity: 1; }
.qv__box { position: relative; width: min(1080px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--bg); border-radius: var(--r-xl); display: grid; grid-template-columns: 1.05fr 1fr; transform: translateY(40px) scale(.97); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.qv.is-open .qv__box { transform: none; opacity: 1; }
.qv__close { position: absolute; right: 16px; top: 16px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.qv__close:hover { transform: rotate(90deg); }
.qv__close svg { width: 20px; height: 20px; }
.qv__gal { position: relative; background: var(--block); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.qv__main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; }
.qv__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.qv__thumbs { display: flex; flex-wrap: wrap; gap: 8px; }   /* усі фото видно — візерунки, інтер'єр, магазин */
.qv__thumbs button { width: 64px; height: 64px; flex-shrink: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; transition: border-color .3s; }
.qv__thumbs button.is-on { border-color: var(--accent); }
.qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv__info { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.qv__info h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.qv__type { color: var(--muted); font-size: .92rem; }
.qv__price { display: flex; align-items: baseline; gap: 12px; }
.qv__price b { font-family: var(--f-display); font-weight: 400; font-size: 3rem; line-height: 1; }
.qv__price span { color: var(--muted); }
.qv__price s { color: #B5562F; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.specs div { background: var(--bg); padding: 12px 16px; font-size: .92rem; }
.specs small { display: block; color: var(--muted); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.qv__formats { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: .88rem; color: var(--muted); }
.qv__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.qv__btns .btn--line { grid-column: 1 / -1; }
.qv__note { font-size: .82rem; color: var(--muted); margin: 0; }

.cta-band { background: var(--accent); color: var(--bg); border-radius: var(--r-xl); padding: clamp(30px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.cta-band p { color: rgba(244,241,234,.8); margin: 14px 0 0; max-width: 520px; }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band__arches { position: absolute; right: 26%; top: -30px; display: flex; gap: 14px; opacity: .14; }
.cta-band__arches i { width: 80px; height: 200px; border-radius: 40px 40px 0 0; border: 1.5px solid var(--bg); }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79,122,58,.5); } 70% { box-shadow: 0 0 0 9px rgba(79,122,58,0); } 100% { box-shadow: 0 0 0 0 rgba(79,122,58,0); } }
@keyframes cue { 0% { top: -40%; } 100% { top: 110%; } }
@keyframes drive { 0% { left: -10%; } 100% { left: 100%; } }
@keyframes tileBlink { 0%, 100% { background: rgba(244,241,234,.1); } 50% { background: rgba(138,151,99,.6); } }
@keyframes swipe { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
@keyframes archPulse { 50% { transform: scale(.88) rotate(-6deg); } }
@keyframes pillIn { from { opacity: 0; transform: scale(.8); } }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav a { padding: 10px 12px; }
  .header__phone span { display: none; }
  .header__phone { padding: 0 6px; }
  .result { grid-template-columns: repeat(4, 1fr); }
  .result .result__total { grid-column: span 2; }
  .result__btns { grid-column: span 2; padding: 14px !important; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .nav, .header__bar { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__side { display: none; }
  .hero__hint { display: none; }
  .calc { grid-template-columns: 1fr; }
  .viewer { min-height: 460px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .reviews, .delivery, .contacts { grid-template-columns: 1fr; }
  .rating-big, .delivery__sticky { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .hs__track { overflow-x: auto; scroll-snap-type: x mandatory; width: auto; scrollbar-width: none; padding-bottom: 6px; }
  .hs__track::-webkit-scrollbar { display: none; }
  .hs__track .pcard { scroll-snap-align: start; }
  .hs__progress, .hs__hint { display: none; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 450; max-height: 86vh; background: var(--bg); border-radius: 26px 26px 0 0; padding: 26px 20px 100px; transform: translateY(105%); transition: transform .6s var(--ease); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.4); }
  .filters.is-open { transform: none; }
  .filters__apply { display: block; position: fixed; left: 20px; right: 20px; bottom: 20px; }
  .filters.is-open .filters__apply { position: sticky; bottom: -80px; margin-top: 20px; }
  .f-open { display: inline-flex; }
  .f-shade { display: block; position: fixed; inset: 0; z-index: 440; background: rgba(20,21,16,.5); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .f-shade.is-on { opacity: 1; visibility: visible; }
  .rooms { grid-template-columns: repeat(2, 1fr); }
  .chero__canvas { width: 100%; opacity: .35; }
  .qv__box { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 84px; }
  :root { --header-h: 74px; }
  .head { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; min-height: 100svh; }
  .hero__inner { position: relative; z-index: 1; }
  .hero h1 .ln--indent { padding-left: 0; }
  .hero__cta .btn { flex: 1 1 calc(50% - 6px); padding: 0 16px; }
  .hero__cta .link-arrow { margin: 6px 0 0; }
  .hero__bottom .scroll-cue { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento__c--photo, .bento__c--dark { grid-column: auto; }
  .bento__c--photo { min-height: 380px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__col:nth-child(2) { margin-top: 60px; }
  .gallery__col:nth-child(3) { display: none; }
  .sliders { grid-template-columns: 1fr 1fr; }
  .swatch-list { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .panel { padding: 20px; }
  .result { grid-template-columns: 1fr 1fr; }
  .result > div { padding: 16px; }
  .result b { font-size: 1.7rem; }
  .result .result__total, .result__btns { grid-column: 1 / -1; }
  .viewer { min-height: 380px; border-radius: var(--r-lg); }
  .vbtns button { padding: 0 10px; }
  .crow { grid-template-columns: 1fr; gap: 4px; }
  .map { min-height: 0; }
  .map__frame { min-height: 340px; }
  .map__bar .btn { flex: 1 1 100%; }
  .footer__top { grid-template-columns: 1fr; }
  .statement-meta { gap: 24px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid:not(.is-list) .pcard__body { padding: 14px; }
  .grid:not(.is-list) .pcard__name { font-size: 1.3rem; }
  .grid .pcard__specs { display: none; }
  .grid:not(.is-list) .price b { font-size: 1.5rem; }
  .grid:not(.is-list) .pcard__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  /* на телефоні 2 картки в ряд — 3 кнопки рівними частинами на всю ширину */
  .grid:not(.is-list) .pcard__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .grid:not(.is-list) .pcard__actions .icon-btn { width: auto; height: 40px; border-radius: 12px; }
  .grid .pcard__qv { display: none; }
  .tag, .stock { height: 24px; font-size: .68rem; padding: 0 9px; }
  .grid.is-list .pcard { flex-direction: column; }
  .grid.is-list .pcard__media { width: auto; }
  .grid.is-list .pcard__table { grid-template-columns: 1fr 1fr; }
  .toolbar__r .select select { padding: 0 34px 0 14px; }
  .vtoggle { display: none; }
  .cta-band { grid-template-columns: 1fr; }
  .rooms { gap: 10px; }
  .room { padding: 14px; }
  .room h3 { font-size: 1.5rem; }
  .mbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 120; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 100px; background: rgba(244,241,234,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: 0 16px 40px -14px rgba(38,40,31,.45); transform: translateY(150%); transition: transform .6s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar .btn { height: 50px; padding: 0 10px; }
  .qv { padding: 0; align-items: flex-end; }
  .qv__box { border-radius: 26px 26px 0 0; max-height: 92vh; }
  .specs { grid-template-columns: 1fr 1fr; }
  .qv__btns { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .swatch-list { grid-template-columns: repeat(4, 1fr); }
}
@media (hover: none) {
  .pcard .pcard__photo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* hero content hidden until animation engine is ready (fallback timer in <head>) */
.js:not(.ready) .hero h1, .js:not(.ready) .hero [data-anim], .js:not(.ready) .chero h1, .js:not(.ready) .chero [data-anim="fade"] { opacity: 0; }
.hero .container { pointer-events: none; }
.hero .container a, .hero .container button { pointer-events: auto; }

/* drawer open: hide floating chrome */
.drawer-open .mbar { transform: translateY(150%) !important; }
.drawer-open .header { transform: translateY(-110%); }
@media (max-width: 760px) {
  .header__actions .btn--viber, .header__actions .btn--tg { display: none; }
  .header__phone { height: 50px; padding: 0 7px; }
  .header__phone i { width: 36px; height: 36px; }
  .logo__name { font-size: 1.5rem; }
  .hero { min-height: auto; padding: 84px 0 30px; justify-content: flex-start; }
  .hero { min-height: 100svh; justify-content: center; }
  .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244,241,234,.55) 0%, rgba(244,241,234,.78) 30%, rgba(244,241,234,.82) 60%, rgba(244,241,234,.5) 100%); z-index: 1; pointer-events: none; }
  .hero__canvas { z-index: 0; }
  .hero__bg { z-index: 0; }
  .hero .container { position: relative; z-index: 2; }
  .hero__kicker { margin-bottom: 20px; }
  .hero__bottom { flex-wrap: wrap; }
  .viewer__tile { display: none; }
  .no-webgl .hero__fallback { position: relative; right: auto; top: auto; width: 80%; margin: 0 auto 20px; }
}

@media (max-width: 420px) {
  .viewer__top { flex-wrap: wrap; }
  .vbtns button { padding: 0 10px; font-size: .8rem; }
  .toolbar__r { width: 100%; flex-wrap: wrap; }
  .toolbar__r .select { flex: 1; min-width: 0; }
  .toolbar__r .select select { width: 100%; }
}

[hidden] { display: none !important; }
/* сторінка не «стрибає», коли після фільтра карток стає менше */
.shop > section { min-height: calc(100vh - 116px); }
@media (max-width: 1024px) { .shop > section { min-height: 0; } }

/* ---------- «Додати до 3D» у каталозі ---------- */
.pick-btn.is-on { background: var(--accent); color: #fff; }
#qvPick.is-on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.pickbar { position: fixed; left: 50%; bottom: 20px; z-index: 390; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 12px; border-radius: 100px; background: var(--dark); color: var(--on-dark); box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); animation: pickbar-in .5s var(--ease); }
.pickbar[hidden] { display: none; }
.pickbar__thumbs { display: flex; }
.pickbar__thumbs img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--dark); }
.pickbar__thumbs img + img { margin-left: -12px; }
.pickbar__txt { font-size: .9rem; white-space: nowrap; }
.pickbar__txt b { color: var(--accent-light); }
.pickbar__x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--on-dark-muted); flex-shrink: 0; }
.pickbar__x:hover { color: var(--on-dark); background: rgba(244,241,234,.08); }
.pickbar__x svg { width: 16px; height: 16px; }
.has-pickbar .toast { bottom: 96px; }
@keyframes pickbar-in { from { opacity: 0; transform: translate(-50%, 20px); } }
@media (max-width: 760px) {
  .pickbar { gap: 10px; bottom: 84px; }   /* над мобільною панеллю дзвінка */
  .pickbar__thumbs { display: none; }
  .pickbar__txt { font-size: .84rem; }
}

/* пояснення кнопок над каталогом */
.legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 18px; padding: 14px 18px; border-radius: 16px; background: var(--block); font-size: .88rem; color: var(--muted); }
.legend > span { display: flex; align-items: center; gap: 12px; }
.legend .icon-btn { width: 36px; height: 36px; pointer-events: none; }
.legend .icon-btn svg { width: 16px; height: 16px; }
.legend b { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .legend { flex-direction: column; padding: 12px 14px; font-size: .84rem; } }

/* картки плиток з адмінки: вирізана плитка цілком, як товар на світлому тлі */
.pcard--db .pcard__media { background: radial-gradient(120% 90% at 50% 30%, #FBF9F4 0%, var(--block) 100%); }
.pcard--db .pcard__media .pcard__cut { object-fit: contain; padding: 9% 9% 14%; filter: drop-shadow(0 16px 18px rgba(38, 40, 31, .28)); }
/* формати в калькуляторі беруться з каталогу — переносимо в кілька рядків, якщо їх багато */
#fmtSeg { flex-wrap: wrap; }
#fmtSeg label { flex: 1 0 72px; }
#fmtSeg label.is-cat span::after { content: ""; display: block; width: 5px; height: 5px; margin: 3px auto 0; border-radius: 50%; background: var(--accent-light); }
.fmt-own { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--on-dark-muted); }
.fmt-own input { width: 64px; height: 38px; border-radius: 10px; border: 1px solid rgba(244,241,234,.18); background: rgba(244,241,234,.06); color: var(--on-dark); text-align: center; font: inherit; font-weight: 600; }
.fmt-own input:focus { outline: 0; border-color: var(--accent-light); }
.fmt-own i { font-style: normal; }
.fmt-note { margin: 0; font-size: .8rem; color: var(--accent-light); }
.fmt-note[hidden] { display: none; }
