/* fitout — right-to-left version of fitout.css (1.117, Hebrew). Generated from fitout.css with rtlcss (left ↔ right);
   transforms are kept as in fitout.css, the hand-made rules are at the end. Regenerate after every change to fitout.css. */
:root {
  --paper: #f7f8fa;
  --surface: #ffffff;
  --surface-sunken: #eef0f4;
  --line: #e3e6ec;
  --line-strong: #8a909b;
  --ink: #15171c;
  --ink-muted: #5b606b;
  --blue: #244bff;
  --blue-press: #1a3ad6;
  --blue-soft: #e8edff;
  --on-blue: #ffffff;
  --lime: #d7ff3f;
  --lime-press: #c4ee1f;
  --on-lime: var(--ink);
  --success: #137a40;
  --success-soft: #e3f5ea;
  --danger: #d92d20;
  --focus: var(--blue);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --shadow-bar: 0 -1px 0 var(--line), 0 -8px 24px rgba(21,23,28,0.06);
  --star: #f5b400;
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* fitout Batumi — component styles. Mobile first, light only, tokens from tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
.ft-stack { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); }
.ft-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-4); }
.ft-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ft-num { }

/* Button */
.ft-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 52px; padding: 0 var(--space-5); border: 1.5px solid transparent; border-radius: var(--radius-sm); font: 500 15px/20px var(--font-sans); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.ft-btn .ft-icon { width: 18px; height: 18px; }
.ft-btn--primary { background: var(--blue); color: var(--on-blue); }
.ft-btn--primary:hover { background: var(--blue-press); }
.ft-btn--secondary { background: var(--surface); color: var(--blue); border-color: var(--blue); }
.ft-btn--secondary:hover { background: var(--blue-soft); }
.ft-btn--lime { background: var(--lime); color: var(--on-lime); }
.ft-btn--lime:hover { background: var(--lime-press); }
.ft-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.ft-btn--block { width: 100%; }
.ft-btn--sm { min-height: 40px; padding: 0 var(--space-4); font-size: 14px; }
.ft-btn:focus-visible, .ft-tab:focus-visible, .ft-option:focus-visible, .ft-navitem:focus-visible, .ft-listrow:focus-visible, .ft-field input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* App bar */
.ft-appbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); height: 60px; padding: 0 var(--space-4); background: var(--paper); }
.ft-appbar__logo { height: 30px; width: auto; display: block; }
.ft-appbar__end { display: flex; align-items: center; gap: var(--space-2); }
.ft-lang { display: inline-flex; padding: 3px; background: var(--surface-sunken); border-radius: var(--radius-sm); font: 600 13px/18px var(--font-sans); }
.ft-lang a { padding: 4px 8px; border-radius: 3px; color: var(--ink-muted); text-decoration: none; }
.ft-lang a[aria-current="true"] { background: var(--surface); color: var(--ink); }
.ft-iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--ink); border-radius: var(--radius-sm); cursor: pointer; }

/* Hero */
.ft-hero { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6) var(--space-4) var(--space-8); }
.ft-hero__title { margin: 0; font: 800 32px/34px var(--font-sans); letter-spacing: -0.03em; /* 1.100.1: same size as H1 on all pages */ text-wrap: balance; }
.ft-hero__lead { margin: 0; font: 400 17px/26px var(--font-sans); color: var(--ink); }
.ft-hero__media { position: relative; margin: var(--space-2) calc(-1 * var(--space-4)) 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-sunken); }
.ft-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ft-tag { position: absolute; left: var(--space-4); bottom: var(--space-4); padding: 8px 12px; background: var(--lime); color: var(--on-lime); border-radius: var(--radius-sm); font: 600 12px/16px var(--font-sans); }

/* Badge */
.ft-badge { display: inline-flex; align-items: center; gap: var(--space-1); padding: 4px 10px; border-radius: var(--radius-sm); font: 500 13px/18px var(--font-sans); white-space: nowrap; }
.ft-badge--lime { background: var(--lime); color: var(--on-lime); }
.ft-badge--blue { background: var(--blue-soft); color: var(--blue); }
.ft-badge--success { background: var(--success-soft); color: var(--success); }
.ft-badge--neutral { background: var(--surface-sunken); color: var(--ink-muted); }

/* Card + list rows */
.ft-card { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-4); }
.ft-list { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; }
.ft-listrow { display: flex; align-items: center; gap: var(--space-3); min-height: 64px; padding: var(--space-3) var(--space-4); color: var(--ink); text-decoration: none; }
.ft-listrow + .ft-listrow { border-top: 1px solid var(--line); }
.ft-listrow__icon { width: 40px; height: 40px; display: grid; place-items: center; flex: none; background: var(--blue-soft); color: var(--blue); border-radius: var(--radius-md); }
.ft-listrow__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ft-listrow__title { font: 700 17px/22px var(--font-sans); letter-spacing: -0.01em; }
.ft-listrow__sub { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.ft-listrow__end { display: flex; align-items: center; gap: var(--space-2); color: var(--ink-muted); font: 500 15px/20px var(--font-sans); }
.ft-listrow--active { background: var(--blue-soft); color: var(--blue); }
.ft-listrow--active .ft-listrow__end { color: var(--blue); }

/* Stages (vertical stepper) */
.ft-stages { list-style: none; margin: 0; padding: 0; }
.ft-stage { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: var(--space-3); padding-bottom: var(--space-5); }
.ft-stage:last-child { padding-bottom: 0; }
.ft-stage::before { content: ""; position: absolute; right: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.ft-stage:last-child::before { display: none; }
.ft-stage--done::before { background: var(--success); }
.ft-stage__dot { width: 32px; height: 32px; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--surface-sunken); color: var(--ink-muted); box-sizing: border-box; }
.ft-stage--done .ft-stage__dot { background: var(--success); color: var(--surface); }
.ft-stage--current .ft-stage__dot { background: var(--surface); border: 2px solid var(--blue); }
.ft-stage--current .ft-stage__dot::after { content: ""; width: 12px; height: 12px; border-radius: var(--radius-full); background: var(--blue); }
.ft-stage__title { margin: 4px 0 2px; font: 700 17px/22px var(--font-sans); letter-spacing: -0.01em; }
.ft-stage__meta { margin: 0; font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.ft-stage--done .ft-stage__meta { color: var(--success); }
.ft-stage--current .ft-stage__meta { color: var(--blue); font-weight: 500; }

/* Stat + progress */
.ft-stat { display: flex; flex-direction: column; gap: var(--space-3); }
.ft-stat__top { display: flex; align-items: flex-end; gap: var(--space-3); }
.ft-stat__value { font: 800 56px/56px var(--font-sans); letter-spacing: -0.04em; }
.ft-stat__label { padding-bottom: 6px; font: 400 15px/20px var(--font-sans); color: var(--ink); }
.ft-progress { height: 12px; background: var(--surface-sunken); border-radius: var(--radius-full); overflow: hidden; }
.ft-progress > span { display: block; height: 100%; background: var(--blue); border-radius: var(--radius-full); }
.ft-stat__meta { display: flex; align-items: center; gap: var(--space-2); font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }

/* Callout (lime decision / offer) */
.ft-callout { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--lime); color: var(--on-lime); border-radius: var(--radius-md); text-decoration: none; }
.ft-callout__mark { width: 32px; height: 32px; border-radius: var(--radius-full); background: var(--ink); color: var(--lime); display: grid; place-items: center; flex: none; font: 800 16px/1 var(--font-sans); }
.ft-callout__body { flex: 1; min-width: 0; }
.ft-callout__title { display: block; font: 700 16px/22px var(--font-sans); }
.ft-callout__sub { display: block; font: 400 14px/20px var(--font-sans); }

/* Segmented tabs */
.ft-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; background: var(--surface-sunken); border-radius: var(--radius-md); }
.ft-tab { min-height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: 8px; font: 500 15px/20px var(--font-sans); cursor: pointer; }
.ft-tab[aria-selected="true"] { background: var(--blue); color: var(--on-blue); }

/* Key-value rows (price, spec) */
.ft-kv { margin: 0; }
.ft-kv__row { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font: 400 15px/20px var(--font-sans); }
.ft-kv__row dt { color: var(--ink); }
.ft-kv__row dd { margin: 0; text-align: left; font-weight: 500; }
.ft-kv__row--total { border-bottom: 0; font-size: 17px; }
.ft-kv__row--total dd { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }

/* Quiz option tiles */
.ft-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.ft-option { position: relative; display: flex; flex-direction: column; gap: var(--space-1); min-height: 88px; padding: var(--space-4); text-align: right; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); font: inherit; cursor: pointer; }
.ft-option__title { font: 700 16px/20px var(--font-sans); }
.ft-option__sub { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.ft-option[aria-checked="true"] { border: 2px solid var(--blue); background: var(--blue-soft); }
.ft-option__check { position: absolute; top: 10px; left: 10px; width: 24px; height: 24px; border-radius: var(--radius-full); background: var(--blue); color: var(--on-blue); display: none; place-items: center; }
.ft-option[aria-checked="true"] .ft-option__check { display: grid; }
.ft-option__check .ft-icon { width: 14px; height: 14px; stroke-width: 2.5; }

/* Text field */
.ft-field { display: flex; flex-direction: column; gap: var(--space-2); }
.ft-field label { font: 500 15px/20px var(--font-sans); }
.ft-field__control { display: flex; align-items: center; min-height: 52px; padding: 0 var(--space-4); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); }
.ft-field__control:focus-within { border-color: var(--blue); }
.ft-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 17px/24px var(--font-sans); color: var(--ink); outline: none; }
.ft-field__suffix { color: var(--ink-muted); font: 400 15px/20px var(--font-sans); }
.ft-field__help { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.ft-field--error .ft-field__control { border-color: var(--danger); }
.ft-field--error .ft-field__help { color: var(--danger); }

/* Project card (case) */
.ft-project { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); text-decoration: none; }
.ft-project__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-sunken); }
.ft-project__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ft-project__media .ft-badge { position: absolute; right: var(--space-3); top: var(--space-3); }
.ft-project__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); }
.ft-project__title { margin: 0; font: 700 18px/24px var(--font-sans); letter-spacing: -0.01em; }
.ft-project__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin: 0; }
.ft-project__facts div { display: flex; flex-direction: column; gap: 2px; }
.ft-project__facts dt { font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }
.ft-project__facts dd { margin: 0; font: 700 15px/20px var(--font-sans); }

/* Messenger bar (sticky lead capture: WhatsApp + Telegram only) */
.ft-msgbar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)); background: var(--surface); box-shadow: var(--shadow-bar); }
.ft-msgbar .ft-btn { min-height: 48px; }

/* Bottom nav */
.ft-bottomnav { display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px var(--space-2) calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--surface); box-shadow: var(--shadow-bar); }
.ft-navitem { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; justify-content: center; color: var(--ink-muted); text-decoration: none; font: 500 11px/14px var(--font-sans); border-radius: var(--radius-sm); }
.ft-navitem .ft-icon { width: 22px; height: 22px; }
.ft-navitem[aria-current="page"] { color: var(--blue); }

/* Section heading */
.ft-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.ft-sechead h2 { margin: 0; font: 800 24px/28px var(--font-sans); letter-spacing: -0.02em; }
.ft-sechead a { font: 500 14px/20px var(--font-sans); color: var(--blue); text-decoration: none; white-space: nowrap; }
/* fitout Batumi — page layer on top of the design system (ds/fitout). Mobile first. */
.pg { min-height: 100%; background: var(--paper); color: var(--ink); font-family: var(--font-sans); display: flex; flex-direction: column; }
.pg-main { display: flex; flex-direction: column; gap: var(--space-8); padding-bottom: var(--space-8); }
.sec { display: flex; flex-direction: column; gap: var(--space-4); padding: 0 var(--space-4); }
.sec-lead { margin: 0; font: 400 15px/22px var(--font-sans); color: var(--ink-muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--space-2) var(--space-4) 0; font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.h1 { margin: 0; font: 800 32px/34px var(--font-sans); letter-spacing: -0.03em; text-wrap: balance; }
.btns { display: flex; flex-direction: column; gap: var(--space-3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--surface); border-radius: var(--radius-sm); font: 500 13px/18px var(--font-sans); color: var(--ink); }
.chip .ft-icon { width: 16px; height: 16px; color: var(--blue); }
.sticky-bottom { position: sticky; bottom: 0; z-index: 5; }
.appbar-sticky { position: sticky; top: 0; z-index: 6; }

/* Checklist */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); font: 400 15px/22px var(--font-sans); }
.checks .tick { width: 24px; height: 24px; border-radius: var(--radius-full); background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.checks .tick .ft-icon { width: 14px; height: 14px; stroke-width: 2.5; }
.checks b { font-weight: 700; }

/* Photo strip (process reports) */
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-md); display: block; }
.control { display: flex; flex-direction: column; gap: var(--space-4); }

/* FAQ */
.faq { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 56px; padding: var(--space-3) var(--space-4); font: 700 16px/22px var(--font-sans); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ft-icon { transition: transform .2s; color: var(--ink-muted); }
.faq details[open] summary .ft-icon {transform: rotate(90deg); }
.faq p { margin: 0; padding: 0 var(--space-4) var(--space-4); font: 400 15px/22px var(--font-sans); color: var(--ink-muted); }

/* Final CTA */
.cta-blue { display: flex; flex-direction: column; gap: var(--space-4); margin: 0 var(--space-4); padding: var(--space-6) var(--space-5); background: var(--blue); color: var(--on-blue); border-radius: var(--radius-lg); }
.cta-blue h2 { margin: 0; font: 800 28px/30px var(--font-sans); letter-spacing: -0.03em; }
.cta-blue p { margin: 0; font: 400 15px/22px var(--font-sans); }
.cta-blue .ft-btn--secondary { border-color: var(--on-blue); background: transparent; color: var(--on-blue); }

/* Footer */
.foot { display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-8) var(--space-4) var(--space-12); background: var(--ink); color: var(--paper); }
.foot img { height: 40px; width: auto; align-self: flex-start; border-radius: var(--radius-sm); }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.foot h3 { margin: 0 0 var(--space-2); font: 700 15px/20px var(--font-sans); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot a { color: var(--paper); text-decoration: none; font: 400 14px/20px var(--font-sans); opacity: .82; }
.foot small { font: 400 12px/18px var(--font-sans); opacity: .6; }

/* Calculator result */
.result { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); }
.result-label { font: 400 14px/20px var(--font-sans); opacity: .8; }
.result-value { font: 800 40px/42px var(--font-sans); letter-spacing: -0.04em; }
.result-note { font: 400 13px/18px var(--font-sans); opacity: .7; }
.levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.step-title { margin: 0; font: 700 17px/22px var(--font-sans); }

/* Compare (frame types) */
.compare { display: flex; flex-direction: column; gap: var(--space-3); }
.compare-body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); background: var(--surface); border-radius: var(--radius-lg); }
.compare-body p { margin: 0; font: 400 15px/22px var(--font-sans); }

/* Menu sheet */
.menu { display: flex; flex-direction: column; gap: var(--space-6); padding: 0 var(--space-4) var(--space-8); }
.menu-group { display: flex; flex-direction: column; gap: var(--space-2); }
.menu-group h2 { margin: 0; font: 500 13px/18px var(--font-sans); color: var(--ink-muted); }

/* Dual currency: lari first, approximate dollars below (NBG rate) */
.usd { display: block; margin-top: 2px; font: 400 12px/16px var(--font-sans); color: var(--ink-muted); letter-spacing: 0; }
.chip .usd { display: inline; margin: 0 6px 0 0; }
.ft-listrow__end .price { display: flex; flex-direction: column; align-items: flex-end; text-align: left; color: var(--ink); font: 600 15px/20px var(--font-sans); }
.rate-note { margin: 0; font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }
.result-usd { font: 500 18px/24px var(--font-sans); opacity: .85; }
.result-value { font-size: 30px; line-height: 34px; }
/* fitout Batumi — shared layout helpers + desktop layer (≥1024px). Same markup as mobile. */
.desk-only { display: none !important; }
.desk-nav { display: none; }
.duo { display: flex; flex-direction: column; gap: var(--space-8); }
.duo > .sec { padding: 0 var(--space-4); }
.svc-grid { display: flex; flex-direction: column; gap: var(--space-3); }
.cases { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-1); }
.cases > * { scroll-snap-align: start; }
.calc-layout { display: flex; flex-direction: column; gap: var(--space-4); }
.calc-inputs { display: flex; flex-direction: column; gap: var(--space-4); }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); display: block; }

@media (min-width: 1024px) {
  .desk-only { display: inline-flex !important; }
  .mob-only { display: none !important; }

  /* Rails: content column of 1200px, 40px minimum gutter */
  .ft-appbar, .sec, .ft-hero, .duo, .crumbs { padding-inline: max(40px, calc((100% - 1200px) / 2)); }
  .duo > .sec { padding: 0; }
  .pg-main { gap: var(--space-16); padding-bottom: var(--space-16); }

  /* Header */
  .ft-appbar { height: 80px; gap: var(--space-8); }
  .ft-appbar__logo { height: 36px; }
  .desk-nav { display: flex; gap: var(--space-6); margin-left: auto; margin-right: var(--space-8); }
  .desk-nav a { color: var(--ink); text-decoration: none; font: 500 15px/20px var(--font-sans); }
  .desk-nav a:hover, .desk-nav a[aria-current="page"] { color: var(--blue); }
  .ft-appbar__end { gap: var(--space-4); }

  /* Type */
  .ft-hero__title { font-size: 48px; line-height: 50px; letter-spacing: -0.035em; }
  .h1 { font-size: 48px; line-height: 50px; letter-spacing: -0.035em; }
  .ft-sechead h2 { font-size: 32px; line-height: 36px; letter-spacing: -0.03em; }
  .ft-hero__lead { font-size: 19px; line-height: 28px; }
  .sec-lead, .ft-kv__row, .checks li, .faq p, .compare-body p { font-size: 16px; line-height: 24px; }

  /* Hero: text left, photo right */
  .ft-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-auto-rows: min-content; column-gap: var(--space-16); row-gap: var(--space-5); align-content: center; padding-top: var(--space-12); padding-bottom: 0 !important; }
  .ft-hero > * { grid-column: 1; }
  .ft-hero__media, .ft-hero > .hero-img { grid-column: 2; grid-row: 1 / span 8; margin: 0; height: 100%; min-height: 560px; aspect-ratio: auto; border-radius: var(--radius-lg); object-fit: cover; }
  .ft-hero .btns { flex-direction: row; }
  .ft-hero .btns .ft-btn--block { width: auto; }
  .ft-hero .chips { margin-top: var(--space-2); }

  /* Two-column pairs */
  .duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12); align-items: start; }
  .svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); align-items: start; }
  .chips { gap: var(--space-3); }

  /* Control: stat left, photos right */
  .control { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-8); align-items: center; padding: var(--space-8); }

  /* Cases grid */
  .cases { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }

  /* FAQ: heading left, answers right */
  .faq-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-12); align-items: start; }

  /* Final CTA */
  .cta-blue { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-12); row-gap: var(--space-3); align-items: center; margin-inline: max(40px, calc((100% - 1200px) / 2)); padding: var(--space-12); }
  .cta-blue h2 { font-size: 44px; line-height: 46px; grid-column: 1; }
  .cta-blue p { grid-column: 1; font-size: 17px; line-height: 26px; max-width: 560px; }
  .cta-blue .btns { grid-column: 2; grid-row: 1 / span 2; min-width: 300px; }

  /* Footer */
  .foot { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: var(--space-16); row-gap: var(--space-8); padding: var(--space-16) max(40px, calc((100% - 1200px) / 2)); }
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot small { grid-column: 1 / -1; }

  /* Calculator: inputs left, result sticks on the right */
  .calc-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-12); align-items: start; }
  .calc-side { position: sticky; top: 104px; }
  .result { padding: var(--space-8); }
  .result-value { font-size: 52px; line-height: 54px; }

  /* Bottom bars: no tab bar on desktop; messenger bar becomes a floating pair */
  .ft-bottomnav { display: none; }
  .ft-msgbar { display: flex; justify-content: flex-end; gap: var(--space-3); background: transparent; box-shadow: none; padding: var(--space-4) max(40px, calc((100% - 1200px) / 2)) var(--space-6); pointer-events: none; }
  .ft-msgbar .ft-btn { pointer-events: auto; box-shadow: 0 8px 24px rgba(21, 23, 28, 0.14); }
  .ft-msgbar .ft-btn--secondary { background: var(--surface); }
}

/* Alignment pass */
.hero-text { display: contents; }
@media (min-width: 1024px) {
  .hero-text { display: flex; flex-direction: column; gap: var(--space-5); grid-column: 1; align-self: center; }
  .ft-hero { grid-template-rows: auto; align-items: center; }
  .ft-hero__media, .ft-hero > .hero-img { grid-row: 1; }
  .ft-hero .chips { margin-top: 0; }
  /* Pairs: same heading line, same top, equal-height cards */
  .duo { align-items: stretch; }
  .duo > .sec { display: flex; flex-direction: column; gap: var(--space-4); }
  .duo .ft-sechead { min-height: 72px; align-items: flex-end; }
  .duo > .sec > .ft-card:last-child, .duo > .sec > .ft-list:last-child, .duo > .sec > .compare-body:last-child, .duo > .sec > .cases:last-child { flex: 1; }
  .duo > .sec > .cases:last-child > * { height: 100%; }
  .faq-sec .ft-sechead { min-height: 0; }
  .sec > .ft-callout { max-width: none; }
}
@media (min-width: 1024px) {
  .ft-project__body { flex: 1; }
  .ft-project__facts { margin-top: auto; }
}
@media (min-width: 1024px) {
  .sec > .btns { flex-direction: row; }
  .sec > .btns .ft-btn--block { width: auto; }
}

/* ---------- WordPress theme layer ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.skip-link { position: absolute; right: -9999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--ink); color: var(--paper); border-radius: var(--radius-sm); }
.skip-link:focus { right: 8px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ft-appbar a { display: inline-flex; }
.ft-appbar__logo { height: 30px; width: auto; }
.pg { min-height: 100vh; }

/* Mobile menu sheet */
.menu-sheet { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: var(--paper); display: flex; flex-direction: column; }
.menu-sheet[hidden] { display: none; }
.menu-sheet .menu { flex: 1; }
.menu-sheet .ft-msgbar { position: sticky; bottom: 0; }
body.menu-open { overflow: hidden; }

/* Cases & posts */
.ft-project__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ft-project__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-muted); font: 500 14px/20px var(--font-sans); }
.cases--grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); overflow: visible; }
.ft-project[hidden] { display: none; }
.ft-filter { border: 0; min-height: 40px; padding: 0 14px; font-size: 14px; cursor: pointer; }
.post-card { display: flex; flex-direction: column; gap: var(--space-2); color: var(--ink); text-decoration: none; }
.post-card__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
/* 1.114: branded cover of an article without a featured image (same look as the theme's blog covers). */
.post-cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; width: 100%; aspect-ratio: 4 / 3; padding: 9% 7.5%; overflow: hidden; border-radius: var(--radius-md); background-color: var(--blue, #244bff); background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(-90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 6.25% 8.333%; color: #fff; }
.post-cover::after { content: ""; position: absolute; left: 6.25%; top: 8.333%; width: 6.25%; aspect-ratio: 1; background: #d7ff3f; }
.post-cover__badge { align-self: flex-start; padding: 4px 8px; background: #d7ff3f; color: #15171c; font: 700 12px/1 var(--font-sans); }
.post-cover__title { font: 800 clamp(18px, 2.2vw, 26px)/1.1 var(--font-sans); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-cover__foot { font: 600 12px/1 var(--font-sans); opacity: .9; }
.post-card__title { margin: 0; font: 700 18px/24px var(--font-sans); letter-spacing: -0.01em; }

/* Article / page text */
.article { gap: var(--space-4); }
.entry { max-width: 720px; font: 400 16px/26px var(--font-sans); color: var(--ink); }
.entry > * + * { margin-top: 1em; }
.entry h2 { font: 800 24px/30px var(--font-sans); letter-spacing: -0.02em; margin-top: 1.6em; }
.entry h3 { font: 700 19px/26px var(--font-sans); margin-top: 1.4em; }
.entry a { color: var(--blue); }
.entry img { border-radius: var(--radius-md); height: auto; }
.entry ul, .entry ol { padding-right: 1.2em; }
.nav-links { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-4); }
.nav-links .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); text-decoration: none; }
.nav-links .current { background: var(--blue); color: var(--on-blue); }
.foot small a { color: inherit; }
.foot > a { display: inline-flex; align-self: flex-start; }

@media (min-width: 640px) { .cases--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .cases--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .menu-sheet { display: none !important; }
  .article .h1, .article .entry { max-width: 820px; }
}

/* WP fixes */
.ft-field__control input:focus, .ft-field__control input:focus-visible { outline: none; box-shadow: none; }
.ft-field__control:focus-within { box-shadow: 0 0 0 3px var(--blue-soft); }
button.ft-navitem { font-family: var(--font-sans); cursor: pointer; }

/* Floating chat button (desktop): square like all buttons (radius-sm), opens WhatsApp / Telegram */
.ft-fab { display: none; }
@media (min-width: 1024px) {
  .ft-msgbar.sticky-bottom { display: none; }
  .ft-fab { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-2); position: fixed; left: max(24px, calc((100vw - 1200px) / 2 - 80px)); bottom: 24px; z-index: 30; transition: opacity .2s ease, transform .2s ease; }
  .ft-fab.is-hidden { opacity: 0;transform: translateY(16px); visibility: hidden; }
  .ft-fab__btn { width: 56px; height: 56px; border: 0; border-radius: var(--radius-sm); background: var(--blue); color: var(--on-blue); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(21, 23, 28, 0.18); transition: background-color .15s; }
  .ft-fab__btn:hover, .ft-fab.is-open .ft-fab__btn { background: var(--blue-press); }
  .ft-fab__btn:focus-visible { outline: 3px solid var(--focus, var(--blue)); outline-offset: 3px; }
  .ft-fab__btn .ft-icon { width: 24px; height: 24px; }
  .ft-fab__close { display: none; }
  .ft-fab.is-open .ft-fab__open { display: none; }
  .ft-fab.is-open .ft-fab__close { display: grid; }
  .ft-fab__menu { display: flex; flex-direction: column; gap: var(--space-2); width: 184px; }
  .ft-fab__menu[hidden] { display: none; }
  .ft-fab__menu:not([hidden]) { animation: ft-fab-in .16s ease; }
  .ft-fab__item { width: 100%; justify-content: flex-start; box-shadow: 0 8px 24px rgba(21, 23, 28, 0.14); }
  @keyframes ft-fab-in { from { opacity: 0;transform: translateY(6px); } to { opacity: 1;transform: none; } }
}

/* Calculator result: three cumulative tiers */
.tiers { list-style: none; margin: var(--space-2) 0 var(--space-1); padding: 0; display: flex; flex-direction: column; }
.tier { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3) 0; border-top: 1px solid rgba(247, 248, 250, 0.14); }
.tier:first-child { border-top: 0; padding-top: 0; }
.tier__head { display: flex; flex-direction: column; gap: 2px; }
.tier__name { font: 600 15px/20px var(--font-sans); }
.tier__sub { font: 400 13px/18px var(--font-sans); opacity: .65; }
.tier__val { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--space-2); }
.tier__gel { font: 800 24px/30px var(--font-sans); white-space: nowrap; }
.tier:first-child .tier__gel { color: var(--lime); }
.tier__usd { font: 500 14px/20px var(--font-sans); opacity: .8; white-space: nowrap; }
@media (min-width: 1024px) {
  .tier__gel { font-size: 30px; line-height: 36px; }
}
.ft-option--wide { width: 100%; }
.ft-option[role="checkbox"][aria-checked="true"] { border-color: var(--blue); background: var(--blue-soft); }
.result-design { font: 500 14px/20px var(--font-sans); color: var(--lime); }
.result-design[hidden] { display: none; }
/* Checkbox option: always show an empty box so it reads as toggleable */
.ft-option[role="checkbox"] .ft-option__check { display: grid; border-radius: var(--radius-sm); background: var(--surface); border: 1.5px solid var(--line-strong); color: transparent; }
.ft-option[role="checkbox"][aria-checked="true"] .ft-option__check { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.tiers-hint { font: 500 14px/20px var(--font-sans); opacity: .85; margin-top: var(--space-1); }
.tier__pre { font: 500 13px/20px var(--font-sans); opacity: .7; flex-basis: 100%; }
.result-small { font: 400 13px/18px var(--font-sans); opacity: .85; }
.result-small[hidden] { display: none; }

/* Control block: example weekly report */
.report { display: flex; flex-direction: column; gap: var(--space-5); }
.report__head { display: flex; flex-direction: column; gap: var(--space-4); }
.report__meta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.report__title { margin: 0; font: 700 18px/24px var(--font-sans); }
.report__grid { display: grid; gap: var(--space-5); }
.report__col { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.report__block { display: flex; flex-direction: column; gap: var(--space-2); }
.report__h { margin: 0; font: 600 13px/18px var(--font-sans); color: var(--ink-muted); }
.report__done { margin: 0; }
.report__note { margin: 0; font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.report .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.report .strip img { aspect-ratio: 4 / 3; height: auto; }
.report .ft-kv { margin: 0; }
.report__decision { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-4); background: var(--lime); color: var(--on-lime); border-radius: var(--radius-md); }
.report__decision strong { display: block; font: 700 15px/20px var(--font-sans); }
.report__decision span:last-child { font: 400 14px/20px var(--font-sans); }
.report__decision .ft-callout__mark { flex: none; }
.report__next { display: flex; flex-direction: column; gap: 2px; padding: var(--space-4); background: var(--blue-soft); color: var(--ink); border-radius: var(--radius-md); font: 400 14px/20px var(--font-sans); }
.report__next strong { color: var(--blue); }
@media (min-width: 1024px) {
  .ft-card.report { padding: var(--space-8); }
  .report__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--space-8); }
  .report__head .ft-stat { flex: 0 0 360px; }
  .report__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
}
.report .ft-badge { white-space: normal; }
.svc-cat { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; scroll-margin-top: 80px; }
.ft-project__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ft-project__text { margin: 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }

/* Mega menu (desktop) */
.mega-wrap { position: static; display: flex; }
.mega-trigger { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--ink); font: 500 15px/20px var(--font-sans); cursor: pointer; }
.mega-trigger .ft-icon { width: 16px; height: 16px;transform: rotate(90deg); transition: transform .15s ease; }
.mega-trigger:hover, .mega-trigger[aria-expanded="true"], .mega-trigger[aria-current="page"] { color: var(--blue); }
.mega-trigger[aria-expanded="true"] .ft-icon {transform: rotate(-90deg); }
.mega-trigger:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: var(--radius-sm); }
.mega { position: absolute; top: 100%; right: max(40px, calc((100% - 1200px) / 2)); left: max(40px, calc((100% - 1200px) / 2)); z-index: 40; padding-top: var(--space-2); }
.mega[hidden] { display: none; }
.mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; gap: var(--space-6); padding: var(--space-6); background: var(--surface); border-radius: var(--radius-lg); box-shadow: 0 24px 64px rgba(21, 23, 28, 0.16); animation: ft-fab-in .16s ease; }
.mega__group { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega__label { margin: 0 0 var(--space-2); padding-right: var(--space-3); font: 600 13px/18px var(--font-sans); color: var(--ink-muted); }
.mega__item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; transition: background-color .12s ease; }
.mega__item:hover, .mega__item:focus-visible { background: var(--surface-sunken); outline: none; }
.mega__icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--blue-soft); color: var(--blue); }
.mega__icon .ft-icon { width: 20px; height: 20px; }
.mega__text { display: flex; flex-direction: column; min-width: 0; }
.mega__title { font: 600 15px/20px var(--font-sans); }
.mega__sub { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.mega__side { display: flex; flex-direction: column; gap: var(--space-4); padding-right: var(--space-6); border-right: 1px solid var(--line); }
.mega__help { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); padding: var(--space-5); background: var(--blue-soft); border-radius: var(--radius-md); }
.mega__help-title { margin: 0; font: 700 16px/22px var(--font-sans); }
.mega__help-text { margin: 0 0 var(--space-2); font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.mega__all { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font: 600 15px/20px var(--font-sans); text-decoration: none; padding-right: var(--space-1); }
.mega__all .ft-icon { width: 16px; height: 16px; }
.mega__all:hover { text-decoration: underline; }
.menu-all { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font: 600 15px/20px var(--font-sans); text-decoration: none; }
.menu-all .ft-icon { width: 16px; height: 16px; }
/* Bigger tap targets for the mobile menu buttons */
.ft-iconbtn[data-menu-open], .ft-iconbtn[data-menu-close] { width: 48px; height: 48px; margin-left: -4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.ft-iconbtn[data-menu-open] .ft-icon, .ft-iconbtn[data-menu-close] .ft-icon { width: 28px; height: 28px; stroke-width: 2; }
.ft-iconbtn[data-menu-open]:active, .ft-iconbtn[data-menu-close]:active { background: var(--surface-sunken); }
/* Images with width/height attributes: let CSS aspect-ratio decide the height (fixes tall portrait photos on mobile) */
.hero-img, .strip img { height: auto; max-height: none; }
@media (min-width: 1024px) {
  .ft-hero > .hero-img { height: 560px; min-height: 0; align-self: center; }
}

/* Estimate calculator (sub-service pages) */
.est-list { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; }
.est-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); padding: var(--space-4); border-top: 1px solid var(--line); transition: background-color .12s ease; }
.est-row:first-child { border-top: 0; }
.est-row.is-on { background: var(--blue-soft); }
.est-row__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.est-row__title { font: 600 15px/20px var(--font-sans); color: var(--ink); }
.est-row__sub { font: 500 14px/20px var(--font-sans); color: var(--ink-muted); }
.est-row__sub .usd { display: inline; margin-right: 6px; font-weight: 400; }
.est-row__price { font: 500 14px/20px var(--font-sans); color: var(--ink-muted); white-space: nowrap; }
.est-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); }
.est-qty__btn { width: 40px; height: 44px; border: 0; background: none; color: var(--blue); font: 600 20px/1 var(--font-sans); cursor: pointer; }
.est-qty__btn:active { background: var(--surface-sunken); }
.est-qty__input { width: 52px; height: 44px; border: 0; border-right: 1px solid var(--line); border-left: 1px solid var(--line); text-align: center; font: 600 16px/1 var(--font-sans); color: var(--ink); background: transparent; }
.est-qty__input:focus { outline: 2px solid var(--blue); outline-offset: -2px; }
.est-lines { list-style: none; margin: var(--space-2) 0 0; padding: var(--space-3) 0 0; border-top: 1px solid rgba(247, 248, 250, 0.14); display: flex; flex-direction: column; gap: var(--space-2); }
.est-lines:empty { display: none; }
.est-lines li { display: flex; justify-content: space-between; gap: var(--space-3); font: 400 14px/20px var(--font-sans); }
.est-lines li span:first-child { opacity: .8; }
.est-lines li span:last-child { white-space: nowrap; font-weight: 600; }
@media (min-width: 1024px) {
  [data-calc="estimate"] .calc-side { position: sticky; top: 100px; align-self: start; }
}
.ft-listrow--sub { padding-right: calc(var(--space-4) + 52px); }
.ft-listrow--sub .ft-listrow__title { font-weight: 500; font-size: 15px; }

/* Bottom tab bar on every mobile page + contact sheet */
.ft-navitem--contact { color: var(--blue); }
.ft-navitem__bubble { width: 32px; height: 26px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--blue); color: var(--on-blue); }
.ft-navitem__bubble .ft-icon { width: 18px; height: 18px; }
.ft-navitem[aria-expanded="true"] { color: var(--blue); }
.ft-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.contact-sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; }
.contact-sheet[hidden] { display: none; }
.contact-sheet__backdrop { position: absolute; inset: 0; background: rgba(21, 23, 28, 0.45); animation: ft-fade .15s ease; }
.contact-sheet__panel { position: relative; width: 100%; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-3) var(--space-4) calc(var(--space-5) + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: 0 -12px 40px rgba(21, 23, 28, 0.2); animation: ft-sheet-in .2s ease; }
.contact-sheet__grip { align-self: center; width: 40px; height: 4px; border-radius: 999px; background: var(--line-strong); opacity: .5; }
.contact-sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-1); }
.contact-sheet__title { margin: 0; font: 700 20px/26px var(--font-sans); }
.contact-sheet__sub { margin: 2px 0 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.contact-sheet__note { margin: var(--space-1) 0 0; font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.contact-sheet .ft-btn { min-height: 52px; }
body.contact-open { overflow: hidden; }
@keyframes ft-sheet-in { from {transform: translateY(24px); opacity: 0; } to {transform: none; opacity: 1; } }
@keyframes ft-fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1024px) { .contact-sheet { display: none !important; } }
button.ft-navitem { border: 0; background: none; padding: 0; -webkit-appearance: none; appearance: none; }

/* ---------- 1.12.1: estimate units, stage animation, menu & language switch polish ---------- */
.est-qty__mid { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 60px; height: 48px; border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
.est-qty__mid .est-qty__input { width: 100%; height: 26px; border: 0; padding: 0; }
.est-qty__unit { font: 500 11px/14px var(--font-sans); color: var(--ink-muted); white-space: nowrap; pointer-events: none; }
.est-qty__btn { height: 48px; }
.est-qty__btn:focus:not(:focus-visible), .ft-iconbtn:focus:not(:focus-visible), .ft-navitem:focus:not(:focus-visible) { outline: none; }
.est-qty:focus-within { border-color: var(--blue); }

/* Stages: numbers + reveal on scroll */
.ft-stage__num { font: 700 14px/1 var(--font-sans); }
.ft-stage::after { content: ""; position: absolute; right: 15px; top: 32px; bottom: 0; width: 2px; background: var(--blue); transform-origin: top;transform: scaleY(0); }
.ft-stage:last-child::after, .ft-stage--done::after { display: none; }
.ft-stages.is-anim .ft-stage { opacity: 0;transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.ft-stages.is-anim .ft-stage.is-in { opacity: 1;transform: none; }
.ft-stages.is-anim .ft-stage__dot { transition: background-color .3s ease, color .3s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.ft-stages.is-anim .ft-stage.is-lit:not(.ft-stage--done):not(.ft-stage--current) .ft-stage__dot { background: var(--blue); color: #fff;transform: scale(1.08); }
.ft-stages.is-anim .ft-stage.is-lit::after {transform: scaleY(1); transition: transform .5s ease .15s; }
@media (prefers-reduced-motion: reduce) {
  .ft-stages.is-anim .ft-stage { opacity: 1;transform: none; transition: none; }
  .ft-stages.is-anim .ft-stage::after { transition: none; }
}

/* Burger and close: no frame */
.ft-iconbtn[data-menu-open], .ft-iconbtn[data-menu-close] { background: transparent; border: 0; border-radius: var(--radius-sm); }
.ft-iconbtn[data-menu-open]:active, .ft-iconbtn[data-menu-close]:active { background: var(--surface-sunken); }
.ft-iconbtn[data-menu-open] .ft-icon, .ft-iconbtn[data-menu-close] .ft-icon { transition: transform .25s ease; }
.ft-iconbtn[data-menu-close]:hover .ft-icon {transform: rotate(90deg); }

/* Menu sheet: slide in, bottom nav inside */
.menu-sheet:not([hidden]) { animation: ftSheetIn .28s cubic-bezier(.2, .8, .2, 1); }
.menu-sheet:not([hidden]) .menu-group { animation: ftFadeUp .35s ease both; }
.menu-sheet:not([hidden]) .menu-group:nth-child(2) { animation-delay: .05s; }
.menu-sheet:not([hidden]) .menu-group:nth-child(3), .menu-sheet:not([hidden]) .menu-all { animation-delay: .1s; }
.menu-sheet .ft-bottomnav { position: sticky; bottom: 0; margin-top: var(--space-4); }
@keyframes ftSheetIn { from { opacity: 0;transform: translateY(16px); } to { opacity: 1;transform: none; } }
@keyframes ftFadeUp { from { opacity: 0;transform: translateY(8px); } to { opacity: 1;transform: none; } }
@media (prefers-reduced-motion: reduce) { .menu-sheet:not([hidden]), .menu-sheet:not([hidden]) .menu-group { animation: none; } }

/* Language switch: bigger, sliding pill */
.ft-lang { position: relative; padding: 4px; font: 600 15px/20px var(--font-sans); }
.ft-lang a { position: relative; z-index: 1; min-width: 44px; padding: 8px 12px; text-align: center; transition: color .25s ease; }
.ft-lang__pill { position: absolute; top: 4px; bottom: 4px;left: 0; width: 0; border-radius: 3px; background: var(--surface); box-shadow: 0 1px 2px rgba(15, 23, 42, .12); transition: transform .28s cubic-bezier(.2, .8, .2, 1), width .28s ease; }
.ft-lang.has-pill a[aria-current="true"] { background: transparent; }
.ft-lang:not(.has-pill) .ft-lang__pill { display: none; }
@media (prefers-reduced-motion: reduce) { .ft-lang__pill { transition: none; } }

/* ---------- 1.12.2: language switch size on desktop as before; post hero ---------- */
@media (min-width: 1024px) {
  .ft-lang { padding: 3px; font: 600 13px/18px var(--font-sans); }
  .ft-lang a { min-width: 0; padding: 4px 8px; }
  .ft-lang__pill { top: 3px; bottom: 3px; }
}
.post-hero { display: grid; gap: var(--space-4); }
.post-hero__text { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.post-hero__text .h1, .post-hero__lead, .post-hero__meta { margin: 0; }
.post-hero__media { margin: 0; }
.post-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); background: var(--surface-sunken); }
@media (min-width: 1024px) {
  .post-hero--media { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
  .post-hero__img { aspect-ratio: 4 / 3; max-height: 440px; }
  .article .post-hero .h1 { max-width: none; }
}

/* ---------- 1.12.3: bottom nav in the square style ---------- */
.ft-bottomnav { padding-top: 0; }
.ft-navitem { position: relative; gap: 3px; padding-top: 8px; font: 500 11px/14px var(--font-sans); transition: color .2s ease; }
.ft-navitem::before { content: ""; position: absolute; top: 0; right: 22%; left: 22%; height: 2px; background: var(--blue);transform: scaleX(0); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.ft-navitem__ico { display: grid; place-items: center; width: 40px; height: 28px; border-radius: var(--radius-sm); transition: background-color .2s ease, transform .15s ease; }
.ft-bottomnav .ft-icon { width: 22px; height: 22px; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.ft-navitem[aria-current="page"] { color: var(--blue); font-weight: 600; }
.ft-navitem[aria-current="page"]::before {transform: scaleX(1); }
.ft-navitem[aria-current="page"] .ft-navitem__ico { background: var(--blue-soft); }
.ft-navitem:active .ft-navitem__ico, .ft-navitem:active .ft-navitem__bubble {transform: scale(.92); }
.ft-navitem__bubble { width: 40px; height: 28px; border-radius: var(--radius-sm); transition: transform .15s ease; }
.ft-navitem__bubble .ft-icon { width: 20px; height: 20px; }
.ft-navitem--contact { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .ft-navitem::before, .ft-navitem__ico, .ft-navitem__bubble { transition: none; } }
button.ft-navitem { padding: 8px 0 0; }

/* 1.12.4: primary buttons always white text (WordPress global link colours must not win) */
a.ft-btn.ft-btn--primary, a.ft-btn.ft-btn--primary:visited, a.ft-btn.ft-btn--primary:hover, a.ft-btn.ft-btn--primary:focus, .mega a.ft-btn--primary { color: var(--on-blue); }

/* ---------- 1.13.0: services catalog — renovation first, compact master tiles ---------- */
.svc-main { display: grid; gap: var(--space-3); }
.svc-feature { display: grid; overflow: hidden; background: var(--surface); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card, none); }
.svc-feature__media img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.svc-feature__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); }
.svc-feature__title { font: 800 26px/30px var(--font-sans); letter-spacing: -0.02em; }
.svc-feature__sub { font: 400 15px/22px var(--font-sans); color: var(--ink-muted); }
.svc-feature__end { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: auto; padding-top: var(--space-3); }
.svc-feature__end .row-price { font-size: 18px; }
.svc-feature__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--blue); color: var(--on-blue); transition: transform .2s ease; }
.svc-feature:hover .svc-feature__go {transform: translateX(3px); }
.svc-cards { display: grid; gap: var(--space-3); }
.svc-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--space-3); row-gap: 2px; align-items: center; padding: var(--space-4); background: var(--surface); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; }
.svc-card__icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue); }
.svc-card__title { font: 700 16px/22px var(--font-sans); }
.svc-card__sub { font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.svc-card__end { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-2); color: var(--ink-muted); }
.svc-card__end .ft-icon { margin-right: auto; }
.svc-calc { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--blue); color: var(--on-blue); text-decoration: none; }
.svc-calc__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .16); }
.svc-calc__icon .ft-icon { stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.svc-calc__text { display: flex; flex-direction: column; flex: 1; min-width: 0; font: 400 14px/20px var(--font-sans); }
.svc-calc__text strong { font: 700 16px/22px var(--font-sans); }
.svc-tiles { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.svc-tile { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); background: var(--surface); border-radius: var(--radius-md); }
.svc-tile__head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); color: var(--ink); text-decoration: none; }
.svc-tile__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue); }
.svc-tile__title { font: 700 16px/22px var(--font-sans); }
.svc-tile__price { text-align: left; }
.svc-tile__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-chip { padding: 6px 10px; border-radius: var(--radius-sm); background: var(--surface-sunken); color: var(--ink); font: 500 13px/18px var(--font-sans); text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.svc-chip:hover { background: var(--blue-soft); color: var(--blue); }
.svc-tile__all { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--blue); font: 600 14px/20px var(--font-sans); text-decoration: none; }
.svc-tile__all .ft-icon { width: 16px; height: 16px; }
@media (min-width: 640px) { .svc-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .svc-main { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
  .svc-feature { grid-template-rows: 1fr auto; }
  .svc-feature__media img { aspect-ratio: auto; min-height: 260px; }
  .svc-tiles { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 1.14.0: case pages ---------- */
.ft-project__facts dd, .case-facts dd { font-variant-numeric: normal; letter-spacing: 0; }
.ft-project__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.ft-project__ph .ft-icon { width: 28px; height: 28px; opacity: .6; }
.ft-project__more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font: 600 14px/20px var(--font-sans); }
.ft-project__more .ft-icon { width: 16px; height: 16px; transition: transform .2s ease; }
.ft-project:hover .ft-project__more .ft-icon {transform: translate(2px, -2px); }
.case-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-2) 0 0; padding: var(--space-4); background: var(--surface); border-radius: var(--radius-md); }
.case-facts div { display: flex; flex-direction: column; gap: 2px; }
.case-facts dt { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.case-facts dd { margin: 0; font: 700 18px/24px var(--font-sans); }
.case-hero__cta { margin-top: var(--space-2); }
@media (min-width: 1024px) { .case-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .case-hero__cta .ft-btn { width: auto; display: inline-flex; } }

.ba-grid { display: grid; gap: var(--space-4); }
@media (min-width: 1024px) { .ba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ba { margin: 0; --ba: 50%; }
.ba__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--surface-sunken); user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--ba)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; right: var(--ba); width: 2px; margin-right: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; right: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px -20px 0 0; border-radius: var(--radius-sm); background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15, 23, 42, .2); }
.ba__handle .ft-icon { width: 18px; height: 18px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__tag { position: absolute; top: var(--space-3); padding: 4px 10px; border-radius: var(--radius-sm); background: rgba(15, 23, 42, .72); color: #fff; font: 600 12px/16px var(--font-sans); pointer-events: none; }
.ba__tag--before { right: var(--space-3); }
.ba__tag--after { left: var(--space-3); }
.ba__cap { margin-top: var(--space-2); font: 600 14px/20px var(--font-sans); color: var(--ink-muted); }

.case-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
@media (min-width: 1024px) { .case-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); } }
.case-gal__item { display: block; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4 / 3; background: var(--surface-sunken); }
.case-gal__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.case-gal__item:hover img {transform: scale(1.03); }
.case-review { margin: 0; }
.case-review p { margin: 0 0 var(--space-3); font: 400 17px/27px var(--font-sans); }
.case-review cite { font: 600 14px/20px var(--font-sans); font-style: normal; color: var(--ink-muted); }

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(10, 12, 20, .97); }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; z-index: 1; }
.lightbox__btn .ft-icon { width: 24px; height: 24px; }
.lightbox__close { top: 16px; left: 16px; }
.lightbox__prev { right: 16px; top: 50%; margin-top: -24px; }
.lightbox__prev .ft-icon {transform: rotate(180deg); }
.lightbox__next { left: 16px; top: 50%; margin-top: -24px; }
.lightbox__count { position: absolute; bottom: 20px; right: 0; left: 0; text-align: center; color: rgba(255, 255, 255, .8); font: 500 14px/20px var(--font-sans); }
.case-review, .case-costs { flex: none; height: auto; align-self: start; }

/* ---------- 1.14.1: master price lists link to service pages; static price rows ---------- */
.sec-actions { margin-top: var(--space-4); }
@media (min-width: 1024px) { .sec-actions .ft-btn { width: auto; display: inline-flex; } }
.ft-listrow__end { display: flex; align-items: center; gap: var(--space-2); }
.ft-listrow__end .price { text-align: left; }
.ft-listrow--static { cursor: default; }

/* ---------- 1.14.2: renovation as four cards; hover on link lists ---------- */
.svc-four { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.svc-big { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); background: var(--surface); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; border: 1.5px solid transparent; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.svc-big__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
.svc-big__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue); }
.svc-big__go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-sm); color: var(--blue); transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.svc-big__go .ft-icon { width: 20px; height: 20px; }
.svc-big__title { font: 700 18px/24px var(--font-sans); letter-spacing: -0.01em; }
.svc-big__sub { font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.svc-big__price { margin-top: auto; padding-top: var(--space-3); }
.svc-big__note { font: 500 14px/20px var(--font-sans); color: var(--ink-muted); }
.svc-big--main { border-color: var(--blue); }
.svc-big--main .svc-big__icon, .svc-big--main .svc-big__go { background: var(--blue); color: var(--on-blue); }
@media (min-width: 640px) { .svc-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (hover: hover) {
  .svc-big:hover { border-color: var(--blue); }
  .svc-big:hover .svc-big__go { background: var(--blue); color: var(--on-blue);transform: translate(2px, -2px); }
  a.ft-listrow { transition: background-color .15s ease; }
  a.ft-listrow:hover { background: var(--blue-soft); }
  a.ft-listrow:hover .ft-listrow__end > .ft-icon:last-child { color: var(--blue);transform: translateX(2px); }
  .ft-listrow__end > .ft-icon { transition: transform .15s ease, color .15s ease; }
  .svc-tile { transition: box-shadow .2s ease; }
}
@media (hover: hover) { a.ft-listrow:hover .ft-listrow__icon { background: var(--surface); } }

/* ---------- 1.14.3: design packages — tabs on mobile, three cards on desktop ---------- */
.compare-body[hidden] { display: none; }
.pkg-grid { display: grid; gap: var(--space-3); }
.pkg__head { display: flex; flex-direction: column; gap: var(--space-2); }
.pkg__name { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font: 700 18px/24px var(--font-sans); letter-spacing: -0.01em; }
.pkg__price { font: 800 28px/32px var(--font-sans); letter-spacing: -0.02em; }
.pkg__price .usd { display: block; margin-top: 2px; font: 500 14px/20px var(--font-sans); letter-spacing: 0; color: var(--ink-muted); }
.pkg .ft-kv { margin: 0; }
.pkg .ft-btn { margin-top: auto; }
@media (min-width: 1024px) {
  .compare .ft-tabs { display: none; }
  .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .pkg-grid .compare-body[hidden] { display: flex; }
  .pkg { padding: var(--space-5); border: 1.5px solid transparent; transition: border-color .2s ease; }
  .pkg--main { border-color: var(--blue); }
  .pkg:hover { border-color: var(--blue); }
}

/* ---------- 1.14.4: price list merged into the calculator ---------- */
.est-row__desc { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.est-row__text .est-row__sub { margin-top: 2px; font-weight: 600; color: var(--ink); }
.est-row__text .est-row__sub .usd { font-weight: 400; color: var(--ink-muted); }
@media (min-width: 1024px) {
  .signs-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-6, 32px); align-items: center; }
  .signs-row .checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-5); }
}

/* 1.15.2 — calmer stepper: thin light border everywhere, compact on desktop */
.est-qty { border: 1px solid var(--line); }
.est-qty__mid { border-right-color: var(--line); border-left-color: var(--line); }
.est-row.is-on .est-qty { border-color: color-mix(in srgb, var(--blue) 35%, var(--line)); }
.est-qty:focus-within { border-color: var(--blue); }
@media (min-width: 768px) {
	.est-qty__btn { width: 32px; height: 36px; font-size: 18px; }
	.est-qty__mid { width: 46px; height: 36px; }
	.est-qty__mid .est-qty__input { height: 20px; font-size: 15px; }
	.est-qty__unit { font-size: 10px; line-height: 12px; }
	.est-qty__btn:hover { background: var(--surface-sunken); }
}

/* ---------- 1.16.0: «Мы на Google Картах» ---------- */
.gmb__grid { display: grid; gap: var(--space-3); }
.gmb__card { display: flex; flex-direction: column; gap: var(--space-4); }
.gmb__head { display: flex; align-items: center; gap: var(--space-3); }
.gmb-logo { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue); }
.gmb-logo .ft-icon { width: 22px; height: 22px; }
.gmb__titles { display: flex; flex-direction: column; min-width: 0; }
.gmb__name { font: 700 18px/24px var(--font-sans); color: var(--ink); }
.gmb__cat { font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.gmb__note { margin: 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.gmb__kv { margin: 0; }
.gmb__kv dt { white-space: nowrap; }
.gmb__btns { display: grid; gap: var(--space-2); }
.gmb-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.gmb-rating__score { font: 700 20px/24px var(--font-sans); color: var(--ink); }
.gmb-rating__count { font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.gmb-stars { position: relative; display: inline-flex; line-height: 0; }
.gmb-stars svg { width: 18px; height: 18px; }
.gmb-stars__bg svg { fill: var(--line); }
.gmb-stars__fg { position: absolute; inset: 0 auto 0 0; width: var(--r, 100%); overflow: hidden; white-space: nowrap; }
.gmb-stars__fg svg { fill: var(--star); flex: none; }
.gmb-stars__bg, .gmb-stars__fg { display: inline-flex; }

.gmb-map { position: relative; overflow: hidden; min-height: 260px; border-radius: var(--radius-lg); background: var(--surface-sunken); }
.gmb-map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.gmb-art__land { fill: var(--surface-sunken); }
.gmb-art__sea { fill: var(--blue-soft); }
.gmb-art__park { fill: var(--success-soft); }
.gmb-art__road path { fill: none; stroke: var(--surface); stroke-width: 10; stroke-linecap: round; }
.gmb-art__street path { fill: none; stroke: var(--surface); stroke-width: 3; opacity: .8; }
.gmb-map__pin { position: absolute;left: 50%; top: 42%;transform: translate(-50%, -100%); display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50% 50% 0 50%;rotate: -45deg; background: var(--blue); box-shadow: 0 6px 16px color-mix(in srgb, var(--blue) 30%, transparent); }
.gmb-map__pin .ft-icon {rotate: 45deg; width: 22px; height: 22px; color: var(--on-blue); }
.gmb-map__btn { position: absolute;left: 50%; bottom: var(--space-4);transform: translateX(-50%); width: auto; padding-right: var(--space-5); padding-left: var(--space-5); white-space: nowrap; }
.gmb-map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gmb-map.is-live .gmb-map__art, .gmb-map.is-live .gmb-map__pin, .gmb-map.is-live .gmb-map__btn { display: none; }

.gmb-mini { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: inherit; transition: background-color .12s ease; }
.gmb-mini__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.gmb-mini__title { font: 600 16px/22px var(--font-sans); color: var(--ink); }
.gmb-mini__sub { font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.gmb-mini .gmb-rating__score { font-size: 16px; line-height: 20px; }
.gmb-mini .gmb-stars svg { width: 15px; height: 15px; }
.gmb-mini__end { color: var(--blue); display: inline-flex; }
@media (hover: hover) { .gmb-mini:hover { background: var(--blue-soft); } }

@media (min-width: 1024px) {
  .gmb__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-4); align-items: stretch; }
  .gmb__card { padding: var(--space-6); }
  .gmb-map { min-height: 380px; }
  .gmb__btns { display: flex; flex-wrap: wrap; }
  .gmb__btns .ft-btn { flex: 1 1 40%; }
  .gmb__btns .ft-btn--primary { flex-basis: 100%; }
}

/* ---------- 1.18.0: mega menu — sub-categories of the hovered service ---------- */
.mega__item.is-active { background: var(--surface-sunken); }
.mega__item.is-active .mega__title { color: var(--blue); }
.mega__subs { display: flex; flex-direction: column; gap: 2px; animation: ft-fab-in .14s ease; }
.mega__subs[hidden], .mega__help[hidden] { display: none; }
.mega__subs-head { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 var(--space-2); padding: 0 var(--space-3); font: 700 16px/22px var(--font-sans); color: var(--ink); text-decoration: none; }
.mega__subs-head .ft-icon { width: 16px; height: 16px; color: var(--blue); }
.mega__subs-head:hover { color: var(--blue); }
.mega__sublink { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); padding: 8px var(--space-3); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font: 500 14px/20px var(--font-sans); transition: background-color .12s ease; }
.mega__sublink em { flex: none; font-style: normal; font-weight: 400; font-size: 13px; color: var(--ink-muted); white-space: nowrap; }
.mega__sublink:hover, .mega__sublink:focus-visible { background: var(--surface-sunken); color: var(--blue); outline: none; }
.mega__subs .mega__all { margin-top: var(--space-2); padding-right: var(--space-3); }
.mega__all[hidden] { display: none; }

/* 1.18.1: mega sub-panel — brand lime: arrow tiles and hover marker (ink text stays readable on lime) */
.mega__subs-head .ft-icon, .mega__subs .mega__all .ft-icon { box-sizing: content-box; width: 14px; height: 14px; padding: 3px; border-radius: var(--radius-sm); background: var(--lime); color: var(--on-lime); }
.mega__subs-head > span, .mega__subs .mega__all > span { padding: 0 2px; border-radius: 2px; transition: background-color .12s ease; }
.mega__subs-head:hover, .mega__subs .mega__all:hover { color: var(--ink); text-decoration: none; }
.mega__subs-head:hover > span, .mega__subs .mega__all:hover > span, .mega__subs-head:focus-visible > span, .mega__subs .mega__all:focus-visible > span { background: var(--lime); color: var(--on-lime); }
.mega__subs .mega__all { color: var(--ink); }

/* 1.18.2: hover = blue text + thin lime underline (no highlighter block); the lime arrow tile stays */
.mega__subs-head:hover > span, .mega__subs .mega__all:hover > span, .mega__subs-head:focus-visible > span, .mega__subs .mega__all:focus-visible > span { background: none; color: var(--blue); text-decoration: underline; text-decoration-color: var(--lime-press); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.mega__subs-head > span, .mega__subs .mega__all > span { padding: 0; }
/* 1.18.3: text stays ink, thinner lime underline */
.mega__subs-head:hover > span, .mega__subs .mega__all:hover > span, .mega__subs-head:focus-visible > span, .mega__subs .mega__all:focus-visible > span { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- 1.19.0: Google rating under the hero buttons ---------- */
.hero-rating { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); color: var(--ink); text-decoration: none; }
.hero-rating .gmb-rating__score { font-size: 17px; line-height: 22px; }
.hero-rating .gmb-rating__count { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime-press); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero-rating__go { display: inline-flex; color: var(--on-lime); }
.hero-rating__go .ft-icon { box-sizing: content-box; width: 12px; height: 12px; padding: 3px; border-radius: var(--radius-sm); background: var(--lime); }
.ft-hero .hero-rating + .chips { margin-top: var(--space-4); }
@media (hover: hover) { .hero-rating:hover .gmb-rating__count { text-decoration-thickness: 3px; } }

/* ---------- 1.19.1: ratings row — stars on top, source below; lime underline only on hover ---------- */
.hero-ratings { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); margin-top: var(--space-4); }
.hero-ratings .hero-rating { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 0; }
.hero-rating__top { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero-rating__src { display: inline-flex; align-items: center; gap: 6px; }
.hero-rating__label { font: 400 14px/20px var(--font-sans); color: var(--ink-muted); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .15s ease, color .15s ease; }
.hero-rating:hover .hero-rating__label, .hero-rating:focus-visible .hero-rating__label { color: var(--ink); text-decoration-color: var(--lime-press); }
.ft-hero .hero-ratings + .chips { margin-top: var(--space-5); }

/* ---------- 1.19.2: rating cards — white tiles like the old chips, 3 in a row ---------- */
.hero-ratings { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: var(--space-3); margin-top: var(--space-5); }
.hero-ratings .hero-rating { gap: 6px; padding: var(--space-3) var(--space-4); background: var(--surface); border-radius: var(--radius-sm); transition: box-shadow .15s ease; }
.hero-ratings .gmb-rating__score { font-size: 16px; line-height: 20px; }
.hero-ratings .gmb-stars svg { width: 15px; height: 15px; }
.hero-ratings .hero-rating__label { font-size: 13px; line-height: 18px; }
.hero-ratings .hero-rating__go .ft-icon { width: 10px; height: 10px; padding: 2px; }
@media (hover: hover) { .hero-ratings .hero-rating:hover { box-shadow: 0 6px 20px rgba(21, 23, 28, .08); } }
@media (max-width: 520px) {
  .hero-ratings { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
  .hero-ratings .hero-rating { padding: var(--space-3) 10px; }
  .hero-ratings .hero-rating__top { gap: 4px; flex-wrap: wrap; }
  .hero-ratings .gmb-stars svg { width: 12px; height: 12px; }
  .hero-ratings .hero-rating__src { align-items: flex-end; }
  .hero-ratings .hero-rating__label { font-size: 12px; line-height: 16px; }
}
@media (min-width: 521px) {
  .hero-ratings { display: flex; flex-wrap: wrap; }
  .hero-ratings .hero-rating { padding: var(--space-3) 14px; }
  .hero-ratings .hero-rating__label { white-space: nowrap; }
}
@media (min-width: 521px) {
  .hero-ratings { gap: var(--space-2); }
  .hero-ratings .hero-rating { padding: 10px 12px; }
  .hero-ratings .hero-rating__label { font-size: 12.5px; }
  .hero-ratings .hero-rating__src { gap: 5px; }
}
.hero-ratings .hero-rating { align-items: stretch; }
.hero-ratings .hero-rating__top .hero-rating__go { margin-right: auto; padding-right: var(--space-2); }
@media (max-width: 520px) {
  .hero-ratings .hero-rating { position: relative; }
  .hero-ratings .hero-rating__top .hero-rating__go { position: absolute; top: 12px; left: 10px; padding: 0; }
  .hero-ratings .hero-rating__top .gmb-stars { flex-basis: 100%; }
}

/* ---------- 1.20.0: stages — done steps in brand lime instead of system green ---------- */
.ft-stage--done::before { background: var(--lime-press); }
.ft-stage--done .ft-stage__dot { background: var(--lime); color: var(--on-lime); }
.ft-stage--done .ft-stage__meta { color: var(--ink-muted); }

/* ---------- 1.20.0: rating tiles — 2 tiles share the row equally, 3 stay compact in one row ---------- */
.hero-ratings--n2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-ratings--n2 .hero-rating__label { white-space: normal; }
.hero-ratings--n1 { display: flex; }
@media (min-width: 521px) { .hero-ratings--n2 .hero-rating__label { white-space: nowrap; } }

/* 1.25.0: callout under the «when you need it» list — space on mobile */
.signs-row .ft-callout { margin-top: var(--space-5); }
@media (min-width: 1024px) { .signs-row .ft-callout { margin-top: 0; } }

/* 1.26 — desktop header: menu to the right next to the buttons */
@media (min-width: 1024px) {
  .desk-nav { margin-right: auto; margin-left: var(--space-2); }
}

/* 1.28 — footer: no logo, columns from the left, blue link hover, social icons, centred legal line */
.foot { --foot-hover: #8fa2ff; }
.foot a { transition: color .15s ease, opacity .15s ease; }
.foot a:hover, .foot a:focus-visible { color: var(--foot-hover); opacity: 1; }
.foot-soc { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.foot .foot-soc__a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); color: var(--paper); opacity: 1; transition: background-color .15s ease, color .15s ease; }
.foot .foot-soc__a .ft-icon { width: 20px; height: 20px; }
.foot .foot-soc__a:hover, .foot .foot-soc__a:focus-visible { background: var(--blue); color: var(--on-blue); }
.foot .foot-legal { margin-top: var(--space-6); text-align: center; opacity: 1; color: rgba(255, 255, 255, .6); padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, .1); }
.foot .foot-legal a { font-size: inherit; line-height: inherit; color: rgba(255, 255, 255, .85); opacity: 1; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.foot .foot-legal a:hover { color: var(--foot-hover); }
@media (min-width: 1024px) {
  .foot { display: flex; flex-direction: column; row-gap: 40px; }
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 1.29 — compact renovation cards (catalog + home): 2 per row on phones, 4 on desktop */
.svc-four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.svc-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: right; gap: var(--space-2); min-width: 0; padding: var(--space-4); background: var(--surface); border-radius: var(--radius-md); border: 1.5px solid transparent; color: var(--ink); text-decoration: none; transition: border-color .2s ease; }
.svc-card__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue); }
.svc-card__icon .ft-icon { width: 18px; height: 18px; }
.svc-card__go { position: absolute; top: var(--space-4); left: var(--space-4); color: var(--blue); }
.svc-card__go .ft-icon { width: 18px; height: 18px; }
.svc-card__title { font: 700 15px/20px var(--font-sans); }
.svc-card__price { margin-top: auto; font-size: 14px; line-height: 18px; }
.svc-card__price .usd { display: block; }
.svc-card__note { color: var(--ink-muted); font: 500 13px/18px var(--font-sans); }
.svc-card--main { border-color: var(--blue); }
.svc-card--main .svc-card__icon { background: var(--blue); color: var(--on-blue); }
@media (hover: hover) { .svc-card:hover { border-color: var(--blue); } }
@media (min-width: 1024px) {
  .svc-four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
  .svc-card { padding: var(--space-5); }
  .svc-card__title { font-size: 17px; line-height: 22px; }
}

/* 1.29 — home: master tiles like the catalog + «Все услуги» */
#uslugi .svc-four { margin-bottom: var(--space-4); }
.svc-tile--all { justify-content: space-between; gap: var(--space-2); background: var(--blue); color: var(--on-blue); text-decoration: none; min-height: 120px; }
.svc-tile--all .svc-tile__title { color: var(--on-blue); }
.svc-tile__sub { font: 400 14px/20px var(--font-sans); opacity: .8; }
.svc-tile__go { display: grid; place-items: center; width: 36px; height: 36px; align-self: flex-end; margin-top: auto; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .16); }
.svc-tile__go .ft-icon { width: 20px; height: 20px; }
@media (hover: hover) { .svc-tile--all:hover { background: var(--blue-press); } }
@media (min-width: 1024px) { .svc-tiles.svc-tiles--home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 1.30 — home: callout between the renovation cards and the master tiles */
.svc-home-callout { margin: var(--space-5) 0; }
@media (min-width: 1024px) { .svc-home-callout { margin: var(--space-6) 0; } }

/* 1.30 — «Все услуги» on phones: one row, as tall as the callout */
@media (min-width: 0px) {
  .svc-tile--all { align-self: start; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: var(--space-3); row-gap: 2px; align-items: center; min-height: 0; padding: var(--space-4) var(--space-5); }
  .svc-tile--all .svc-tile__title { grid-column: 1; grid-row: 1; }
  .svc-tile--all .svc-tile__sub { grid-column: 1; grid-row: 2; }
  .svc-tile--all .svc-tile__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
}

/* 1.30 — desktop: renovation cards in one compact row (icon left, title + price right) */
@media (min-width: 1024px) {
  .svc-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: var(--space-3); row-gap: 4px; align-items: start; padding: var(--space-4) var(--space-4) var(--space-4) 44px; }
  .svc-card__icon { grid-column: 1; grid-row: 1 / span 2; width: 40px; height: 40px; }
  .svc-card__title { grid-column: 2; grid-row: 1; font-size: 16px; line-height: 21px; }
  .svc-card__price { grid-column: 2; grid-row: 2; margin-top: var(--space-2); align-self: end; }
  .svc-card__go { top: var(--space-4); left: var(--space-4); }
}

/* 1.32 — renovation cards: short description instead of the price */
.svc-card__sub { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
@media (min-width: 1024px) {
  .svc-card { grid-template-rows: auto 1fr; }
  .svc-card__sub { grid-column: 2; grid-row: 2; font-size: 14px; line-height: 20px; }
}

/* 1.33 — desktop: «Все услуги» as an outlined button (phones keep the blue fill) */
@media (min-width: 1024px) {
  .svc-tile.svc-tile--all { background: transparent; border: 1.5px solid var(--blue); color: var(--blue); }
  .svc-tile--all .svc-tile__title { color: var(--blue); }
  .svc-tile--all .svc-tile__sub { color: var(--ink-muted); opacity: 1; }
  .svc-tile--all .svc-tile__go { background: var(--blue-soft); color: var(--blue); }
}
@media (min-width: 1024px) and (hover: hover) {
  .svc-tile.svc-tile--all:hover { background: var(--blue); }
  .svc-tile--all:hover .svc-tile__title { color: var(--on-blue); }
  .svc-tile--all:hover .svc-tile__sub { color: rgba(255, 255, 255, .8); }
  .svc-tile--all:hover .svc-tile__go { background: rgba(255, 255, 255, .16); color: var(--on-blue); }
}

/* 1.34 — desktop: «Все услуги» white like the other tiles, no outline */
@media (min-width: 1024px) {
  .svc-tile.svc-tile--all { background: var(--surface); border-color: transparent; }
}

/* 1.36 — calculator tiers: all prices white, $ always on its own line */
.tier:first-child .tier__gel { color: inherit; }
.tier__usd { flex-basis: 100%; }

/* 1.40 — calculator: $ under the price */
.tier__usd { flex-basis: auto; }
.tier__val { flex-direction: column; align-items: flex-start; }

/* 1.41 — calculator: lime divider between the variants */
.tier { border-top-color: var(--lime); }
/* 1.42 — all calculators: lime divider in the dark result panel */
.est-lines { border-top-color: var(--lime); }
.result [class*="divider"], .result hr { border-color: var(--lime); }

/* 1.44 — calculators: «бесплатно» in lime on the dark panel */
.result .is-free { color: var(--lime); font-weight: 600; }

/* 1.45 — home: «Все услуги» sits at the bottom of its cell on desktop */
@media (min-width: 1024px) { .svc-tile.svc-tile--all { align-self: end; } }

/* 1.45 — careers */
.job-offer { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.job-offer__item { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); background: var(--surface); border-radius: var(--radius-md); }
.job-offer__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue); }
.job-offer__item:first-child .job-offer__icon { background: var(--lime); color: var(--ink); }
.job-offer__title { margin: 0; font: 700 17px/22px var(--font-sans); }
.job-offer__text { margin: 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
@media (min-width: 640px) { .job-offer { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .job-offer { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); } }
.job-group { margin: var(--space-6) 0 var(--space-3); font: 700 18px/24px var(--font-sans); }
.job-honest { margin-top: var(--space-4); font-weight: 600; color: var(--ink); }
.job-pay p { margin: 0 0 var(--space-3); font: 400 15px/22px var(--font-sans); }
.job-pay p:last-child { margin-bottom: 0; }
.job-others { margin-top: var(--space-2); }

/* 1.46 — «Фото скоро» instead of a hero photo (pages without their own image) */
.hero-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); width: 100%; aspect-ratio: 4 / 3; padding: var(--space-5); background: var(--surface-sunken); border-radius: var(--radius-lg); color: var(--ink-muted); text-align: center; }
.hero-ph__icon .ft-icon { width: 36px; height: 36px; opacity: .6; }
.hero-ph__title { font: 600 16px/22px var(--font-sans); color: var(--ink); }
.hero-ph__sub { font: 400 14px/20px var(--font-sans); max-width: 32ch; }
/* careers: first «what we offer» tile like the others */
.job-offer__item:first-child .job-offer__icon { background: var(--blue-soft); color: var(--blue); }
@media (min-width: 1024px) {
  .ft-hero > .hero-ph { grid-column: 2; grid-row: 1; margin: 0; height: 100%; min-height: 560px; aspect-ratio: auto; }
}
/* 1.47 — footer: «Политика конфиденциальности» stays white on hover */
.foot .foot-legal a:hover, .foot .foot-legal a:focus-visible { color: #fff; }

/* ЖК pages (1.53) */
.zhk-fix { margin-top: var(--space-4); }
.zhk-min { white-space: nowrap; font: 500 13px/18px var(--font-sans); color: var(--ink-muted); }
.zhk-src { margin: var(--space-3) 0 0; font-size: 13px; color: var(--ink-muted); }

/* 1.67: long tile titles — price under the title, never over it */
.svc-tile--long .svc-tile__head { grid-template-columns: 40px minmax(0, 1fr); }
.svc-tile--long .svc-tile__price { grid-column: 2; text-align: right; }


/* 1.72: lime badge on the hero photo / placeholder (district on complex pages) */
.hero-card { position: relative; }
.hero-card > .hero-img, .hero-card > .hero-ph { width: 100%; }
@media (min-width: 1024px) {
  .ft-hero > .hero-card { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .hero-card > .hero-img { height: 560px; }
  .hero-card > .hero-ph { height: 560px; min-height: 0; aspect-ratio: auto; }
}

/* 1.75: completed jobs — placeholders in the gallery, district/complex badge on the hero photo */
.ft-work-ph { position: relative; }
.post-hero__media { position: relative; }
@media (min-width: 1024px) { .post-hero__media .hero-ph { height: 100%; min-height: 360px; aspect-ratio: auto; } }

/* 1.80: completed jobs — the hero photo has the same format as on service pages (4:3 rounded on phones, tall right column on desktop); «до/после» gallery stays vertical */
.post-hero--work .post-hero__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-sunken); }
.post-hero--work .post-hero__img { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.post-hero--work .post-hero__media { display: flex; }
.post-hero--work .post-hero__media .hero-ph { flex: 1; height: auto; min-height: 0; aspect-ratio: auto; border-radius: 0; }
@media (min-width: 1024px) {
  .post-hero--work { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: var(--space-16); align-items: stretch; }
  .post-hero--work .post-hero__text { justify-content: center; }
  .post-hero--work .post-hero__media { margin: 0; aspect-ratio: auto; min-height: 560px; border-radius: var(--radius-lg); }
}
.wgal { position: relative; }
.wgal__track { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--space-4)); padding: 0 var(--space-4); scroll-padding: 0 var(--space-4); }
.wgal__track::-webkit-scrollbar { display: none; }
.wgal__item { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-md); background: var(--surface-sunken); scroll-snap-align: start; }
.wgal__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wgal__item--ph .ft-project__ph { position: absolute; inset: 0; }
.wgal__tag { position: absolute; right: var(--space-3); top: var(--space-3); padding: 6px 10px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); font: 600 12px/16px var(--font-sans); }
.wgal__tag--after { background: var(--lime); color: var(--on-lime); }
.wgal__nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-3); }
.wgal__btn { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); color: var(--ink); cursor: pointer; }
.wgal__btn .ft-icon { width: 20px; height: 20px; }
.wgal__btn--prev .ft-icon {transform: rotate(180deg); }
.wgal__btn:disabled { opacity: .35; cursor: default; }
.wgal__count { font: 500 14px/20px var(--font-sans); color: var(--ink-muted); }
.wgal.is-static .wgal__nav { display: none; }
@media (min-width: 640px) { .wgal__track { grid-auto-columns: calc((100% - 2 * var(--space-3)) / 2.4); } }
@media (min-width: 1024px) { .wgal__track { grid-auto-columns: calc((100% - 3 * var(--space-3)) / 4); margin: 0; padding: 0; scroll-padding: 0; } }

/* 1.81: complexes — drone loop over the hero photo and the YouTube block */
.hero-card { overflow: hidden; border-radius: var(--radius-lg); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero-card.is-video .hero-video { opacity: 1; }
.hero-play { position: absolute; right: var(--space-3); bottom: var(--space-3); display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: var(--radius-sm); background: rgba(16, 18, 22, .72); color: #fff; font: 600 13px/16px var(--font-sans); cursor: pointer; }
.hero-play .ft-icon { width: 16px; height: 16px; }
.hero-play .ft-icon, .yt__play .ft-icon { stroke: none; fill: currentColor; }
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: #000; cursor: pointer; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.yt__play { position: absolute; right: 50%; top: 50%; width: 72px; height: 72px; margin: -36px -36px 0 0; display: grid; place-items: center; border: 0; border-radius: var(--radius-md); background: var(--lime); color: var(--on-lime); cursor: pointer; }
.yt__play .ft-icon { width: 30px; height: 30px; }
.yt:hover .yt__play {transform: scale(1.05); }

/* 1.82: smart home — ready kits on the section page */
.kits { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 640px) { .kits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .kits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kit { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); background: var(--surface); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; }
.kit { border: 1px solid transparent; transition: border-color .15s ease; }
.kit__go .ft-icon { transition: transform .15s ease; }
@media (hover: hover) {
  .kit:hover { border-color: var(--blue); }
  .kit:hover .kit__go .ft-icon {transform: translate(2px, -2px); }
}
.kit:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.kit__name { font: 700 16px/22px var(--font-sans); }
.kit__price { font: 700 22px/28px var(--font-sans); }
.kit__price .usd { display: inline; margin: 0 6px 0 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.kit__list { flex: 1; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.kit__go { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-2); font: 600 14px/20px var(--font-sans); color: var(--blue); }
.kit__go .ft-icon { width: 16px; height: 16px; }

/* 1.90: section main pages — grouped price tiles and new-build steps */
.svc-group + .svc-group { margin-top: var(--space-6); }
.svc-group h3 { margin: 0 0 var(--space-2); font: 700 17px/22px var(--font-sans); }
.svc-group > p { margin: 0 0 var(--space-3); font: 400 15px/22px var(--font-sans); color: var(--ink-muted); }
.svc-group + .sec-lead { margin-top: var(--space-4); }
.ft-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.ft-step { display: grid; grid-template-columns: 32px 1fr; gap: var(--space-3); }
.ft-step__text { margin: 5px 0 var(--space-2); font: 400 15px/22px var(--font-sans); }
.ft-step__links { margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
@media (min-width: 768px) {
  .svc-group h3 { font-size: 19px; line-height: 24px; }
  .svc-group > p, .ft-step__text { font-size: 16px; line-height: 24px; }
}
/* 1.91: intro paragraph under the first screen (ceilings, remote) */
.ft-intro { margin: 0; font: 400 16px/25px var(--font-sans); color: var(--ink); }
@media (min-width: 768px) { .ft-intro { font-size: 17px; line-height: 27px; } }
/* 1.92: link inside the hero lead */
.ft-hero__lead a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ft-hero__lead a:hover { text-decoration-thickness: 2px; }
.job-svc { margin: 0; font: 400 15px/22px var(--font-sans); color: var(--ink-muted); }
.job-svc a { color: var(--blue); font-weight: 600; text-decoration: none; }
.job-svc a:hover { text-decoration: underline; }
/* 1.94: a long lead (an intro of several sentences) is set in body size on desktop — the H1 stays the accent, the button stays on the first screen */
@media (min-width: 1024px) { .ft-hero__lead.ft-hero__lead--long { font-size: 17px; line-height: 26px; } }
/* 1.95: FAQ with 6+ questions — heading on top, two independent columns on desktop; one seamless list on the phone */
.faq-cols { display: flex; flex-direction: column; }
.faq-cols > .faq:first-child { border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.faq-cols > .faq + .faq { border-top: 1px solid var(--line); border-top-right-radius: 0; border-top-left-radius: 0; }
.faq summary:focus { outline: none; }
.faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: var(--radius-lg); }
@media (min-width: 1024px) {
  .faq-sec.faq-sec--cols { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-4); }
  .faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); align-items: start; }
  .faq-cols > .faq:first-child, .faq-cols > .faq + .faq { border-radius: var(--radius-lg); border-top: 0; }
}
/* 1.96: «Ремонт под контролем» — week switcher, video tile, call to action, motion */
.report__weeks { max-width: 560px; }
.report__weeks .ft-tab { min-height: 40px; font-size: 14px; }
.report__cta { display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.report__cta p { margin: 0; font: 600 16px/22px var(--font-sans); }
.ft-progress > span { transition: width .8s cubic-bezier(.22, .61, .36, 1); }
.report .report__title, .report .report__grid { transition: opacity .16s ease; }
.report.is-swap .report__title, .report.is-swap .report__grid { opacity: .15; }
.report__done li.is-pre { opacity: 0;transform: translateY(6px); }
.report__done li.is-in { opacity: 1;transform: none; transition: opacity .3s ease, transform .3s ease; }
@media (max-width: 479px) { .report__wk-long { display: none; } }
@media (min-width: 1024px) {
  .report__head { align-items: flex-start; }
  .report__cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .report__cta .ft-btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-progress > span, .report .report__title, .report .report__grid, .report__done li.is-in { transition: none; }
}
.report .strip.strip--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strip__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; aspect-ratio: 4 / 3; padding: var(--space-2); border-radius: var(--radius-md); background: var(--surface-sunken); color: var(--ink-muted); text-align: center; }
.strip__ph .ft-icon { width: 22px; height: 22px; margin-bottom: 4px; }
.strip__ph-t { font: 600 13px/18px var(--font-sans); color: var(--ink); }
.strip__ph-s { font: 400 12px/16px var(--font-sans); }

/* ---------- 1.101: «Отзывы» page, «Все отзывы» link under the hero ratings ---------- */
.hero-ratings__all { align-self: center; display: inline-flex; align-items: center; gap: 2px; font: 500 14px/20px var(--font-sans); color: var(--blue); text-decoration: none; white-space: nowrap; }
.hero-ratings__all .ft-icon { width: 16px; height: 16px; }
.hero-ratings__all:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 520px) { .hero-ratings__all { grid-column: 1 / -1; justify-self: start; } }
.ft-list--after { margin-top: var(--space-4); }

.rv-sum { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.rv-sum__item { display: flex; flex-direction: column; gap: 6px; min-width: 200px; padding: var(--space-4); background: var(--surface); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: box-shadow .15s ease; }
.rv-sum__name { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/20px var(--font-sans); }
.rv-sum__go .ft-icon { width: 12px; height: 12px; color: var(--ink-muted); }
.rv-sum__score { display: inline-flex; align-items: center; gap: var(--space-2); }
.rv-sum__score b { font: 800 28px/32px var(--font-sans); letter-spacing: -0.02em; }
.rv-sum__count { font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
@media (hover: hover) { .rv-sum__item:hover { box-shadow: 0 6px 20px rgba(21, 23, 28, .08); } }
@media (max-width: 520px) { .rv-sum__item { flex: 1 1 140px; min-width: 0; } }

.rv-videos { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .rv-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rv-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rv-video { margin: 0; }
.rv-video figcaption { display: flex; flex-wrap: wrap; gap: 4px var(--space-2); margin-top: var(--space-3); font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.rv-video figcaption b { color: var(--ink); font-weight: 600; }
.rv-video__text { flex-basis: 100%; color: var(--ink); font-size: 15px; line-height: 22px; }

.rv-list { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .rv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.rv-card { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); background: var(--surface); border-radius: var(--radius-lg); }
.rv-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
.rv-card__who { display: flex; flex-direction: column; gap: 2px; font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.rv-card__who b { font: 600 16px/22px var(--font-sans); color: var(--ink); }
.rv-card .gmb-stars svg { width: 16px; height: 16px; }
.rv-card__text { margin: 0; font: 400 16px/24px var(--font-sans); color: var(--ink); overflow-wrap: anywhere; }
/* 1.116: translation of a review — under the original, lime line on the left. */
.rv-card__tr { margin: 0; padding-right: 12px; border-right: 3px solid var(--lime); }
.rv-card__tr p { margin: 4px 0 0; font: 400 15px/22px var(--font-sans); color: var(--ink); overflow-wrap: anywhere; }
.rv-card__tr-label { display: block; font: 600 12px/16px var(--font-sans); color: var(--ink-muted); }
.rv-card__obj { margin: 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.rv-card__obj a { color: var(--blue); }
.rv-card__src { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; font: 500 14px/20px var(--font-sans); color: var(--blue); text-decoration: none; }
.rv-card__src .ft-icon { width: 14px; height: 14px; }
.rv-card__src:hover { text-decoration: underline; text-underline-offset: 4px; }

.rv-ask { display: flex; flex-direction: column; gap: var(--space-4); }
.rv-ask__title { margin: 0 0 var(--space-2); font: 800 22px/28px var(--font-sans); letter-spacing: -0.02em; }
@media (min-width: 900px) { .rv-ask { flex-direction: row; align-items: center; justify-content: space-between; } .rv-ask .btns { flex: none; } }

/* ---------- 1.102: vacancy «набор закрыт» ---------- */
.job-closed { display: flex; flex-direction: column; gap: 2px; margin: var(--space-4) 0 0; padding: var(--space-3) var(--space-4); border-right: 4px solid var(--lime); background: var(--surface); border-radius: var(--radius-sm); font: 400 15px/22px var(--font-sans); color: var(--ink-muted); }
.job-closed b { font: 700 17px/24px var(--font-sans); color: var(--ink); }
.ft-listrow__badge { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: var(--radius-sm); background: var(--surface-sunken); color: var(--ink-muted); font: 500 12px/18px var(--font-sans); vertical-align: 1px; white-space: nowrap; }
.ft-listrow.is-closed .ft-listrow__title { color: var(--ink-muted); }
.ft-listrow.is-closed .ft-listrow__icon { opacity: .5; }

/* ---------- 1.107: SEO text before the bottom call-to-action (start visible, «Читать полностью») ---------- */
.seo-text__card { padding: var(--space-5); background: var(--surface); border-radius: var(--radius-lg); }
.seo-text__body { position: relative; font: 400 16px/26px var(--font-sans); color: var(--ink); }
.seo-text__body > :first-child { margin-top: 0; }
.seo-text__body > :last-child { margin-bottom: 0; }
.seo-text__body h2 { margin: 0 0 var(--space-3); font: 800 22px/28px var(--font-sans); letter-spacing: -0.02em; }
.seo-text__body h3 { margin: var(--space-5) 0 var(--space-2); font: 700 18px/24px var(--font-sans); }
.seo-text__body p { margin: 0 0 var(--space-3); color: var(--ink-muted); }
.seo-text__body ul, .seo-text__body ol { margin: 0 0 var(--space-3); padding-right: 22px; color: var(--ink-muted); }
.seo-text__body li { margin: 0 0 4px; }
.seo-text__body li::marker { color: var(--blue); font-weight: 600; }
.seo-text__table { margin: 0 0 var(--space-3); overflow-x: auto; }
.seo-text__table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.seo-text__table th, .seo-text__table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; color: var(--ink-muted); }
.seo-text__table th { color: var(--ink); font-weight: 700; }
.seo-text__body a { color: var(--blue); }
.seo-text__body.is-clamped:not(.is-open) { max-height: 14em; overflow: hidden; }
.seo-text__body.is-clamped:not(.is-open)::after { content: ""; position: absolute; right: 0; left: 0; bottom: 0; height: 4.5em; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--surface)); pointer-events: none; }
.seo-text__body.is-open { max-height: none; }
.seo-text__body.is-open::after { display: none; }
.seo-text__more { display: inline-flex; align-items: center; gap: 4px; margin-top: var(--space-3); padding: 0; border: 0; background: none; color: var(--blue); font: 600 15px/20px var(--font-sans); cursor: pointer; }
.seo-text__more .ft-icon { width: 16px; height: 16px;transform: rotate(90deg); transition: transform .2s ease; }
.seo-text__more[aria-expanded="true"] .ft-icon {transform: rotate(-90deg); }
.seo-text__more:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1024px) {
  .seo-text__card { padding: var(--space-8); }
  .seo-text__body h2 { font-size: 28px; line-height: 34px; }
  .seo-text__body.is-clamped:not(.is-open) { max-height: 9.5em; }
}

/* ------------------------------------------------------------------ 1.117: hand-made RTL rules */
/* Arrows, chevrons, send icon point the other way (low specificity: rotated chevrons keep their own transform). */
:where([dir="rtl"]) .ft-icon--arrow, :where([dir="rtl"]) .ft-icon--chev, :where([dir="rtl"]) .ft-icon--send { transform: scaleX(-1); }
[dir="rtl"] .lightbox__prev .ft-icon, [dir="rtl"] .wgal__btn--prev .ft-icon { transform: none; }
[dir="rtl"] .svc-feature:hover .svc-feature__go { transform: translateX(-3px); }
@media (min-width: 1024px) { [dir="rtl"] .ft-project:hover .ft-project__more .ft-icon { transform: scaleX(-1) translate(2px, -2px); } }
@media (hover: hover) {
  [dir="rtl"] .svc-big:hover .svc-big__go { transform: translate(-2px, -2px); }
  [dir="rtl"] a.ft-listrow:hover .ft-listrow__end > .ft-icon--chev:last-child, [dir="rtl"] a.ft-listrow:hover .ft-listrow__end > .ft-icon--arrow:last-child { transform: scaleX(-1) translateX(2px); }
  [dir="rtl"] .kit:hover .kit__go .ft-icon { transform: scaleX(-1) translate(2px, -2px); }
}
/* Before / after slider: the range runs from the right. */
[dir="rtl"] .ba__before { clip-path: inset(0 0 0 calc(100% - var(--ba))); }
/* Phone numbers, e-mail and number fields stay left-to-right inside Hebrew text. */
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] input[type="number"], [dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"] { direction: ltr; }
/* Reviews quoted in the original language (Russian, English) stay left-to-right; the Hebrew translation below is RTL. */
[dir="rtl"] .rv-card__text:not([lang="he"]), [dir="rtl"] .rv-video__text:not([lang="he"]) { direction: ltr; text-align: left; }

/* 1.118: six and more languages — on phones the switch gets tighter and, on the narrowest screens, scrolls sideways
   instead of pushing the menu button off the screen. */
@media (max-width: 1023px) {
  .ft-appbar__end { min-width: 0; }
  .ft-appbar > a:first-child, .ft-appbar__end .ft-iconbtn { flex: none; }
  .ft-lang--many { min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; font-size: 14px; }
  .ft-lang--many::-webkit-scrollbar { display: none; }
  .ft-lang--many a { flex: none; min-width: 0; padding: 8px 7px; }
}
