/* Локальные шрифты Noto (не зависят от Google — одинаково грузятся на всех языках) */
@import url("fonts-local.css");

:root{
  --bg:#0F0E0C; --surface:#1A1714; --surface2:#221E19; --accent:#C9A24B; --accent2:#E0C074;
  --text:#EDE6DA; --muted:#9C9388; --divider:#2C2822;
  /* Единый вид на всех языках: армянский Noto + латиница/кириллица Noto той же семьи */
  --serif:"Noto Serif Armenian","Noto Serif",Georgia,serif;
  --sans:"Noto Sans Armenian","Noto Sans",system-ui,-apple-system,sans-serif;
}

/* ---------- База ---------- */
body{background:var(--bg)!important;color:var(--text)!important;font-family:var(--sans)!important;line-height:1.6;}
.body-wrapper,#sp-main-body,.sp-main-body,main,.com-sppagebuilder,#sp-component{background:var(--bg)!important;}
a{color:var(--accent);text-decoration:none;}
a:hover{color:var(--accent2);}
h1,h2,h3,h4,h5,h6,.sppb-addon-title{font-family:var(--serif)!important;color:var(--text);letter-spacing:.3px;}
.page-header,.sppb-page-title{display:none!important;}
.fmt-accent{color:var(--accent)!important;}

/* ---------- Хедер ---------- */
#sp-header,.sp-header{background:rgba(15,14,12,.92)!important;border-bottom:1px solid var(--divider);}
.sp-megamenu-parent>li>a,.sp-menu a,#sp-menu a{color:var(--text)!important;font-family:var(--sans);font-weight:500;}
.sp-megamenu-parent>li>a:hover{color:var(--accent)!important;}
.sp-sign-in{display:none!important;}
.sp-logo .logo-text,.logo-text{font-family:var(--serif)!important;color:var(--accent)!important;font-weight:700;letter-spacing:2px;}

/* ---------- Секции/контейнер ---------- */
.sppb-section{padding:80px 0!important;}
.sppb-row-container{max-width:1200px!important;margin:0 auto!important;padding:0 24px!important;}

/* ---------- Кнопки ---------- */
.sppb-btn{display:inline-block;font-family:var(--sans)!important;font-weight:600!important;padding:15px 30px!important;border-radius:10px!important;transition:transform .3s cubic-bezier(.16,1,.3,1),background .3s,border-color .3s;text-decoration:none;}
.sppb-btn,.fmt-btn-primary{background:var(--accent)!important;border:1px solid var(--accent)!important;color:#171208!important;}
.fmt-btn-primary:hover,.sppb-btn:hover{background:var(--accent2)!important;border-color:var(--accent2)!important;transform:translateY(-2px);color:#171208!important;}
.fmt-btn-outline{background:transparent!important;border:1px solid #4a453d!important;color:var(--text)!important;}
.fmt-btn-outline:hover{border-color:var(--accent)!important;color:var(--accent)!important;background:transparent!important;transform:translateY(-2px);}

/* ---------- Герой ---------- */
.fmt-hero{align-items:center;}
.fmt-hero .sppb-row{align-items:center;}
.fmt-hero h1.sppb-addon-title{font-size:clamp(2.4rem,1rem + 4vw,4.4rem)!important;line-height:1.08!important;font-weight:800;margin:0 0 22px;}
.fmt-hero .sppb-addon-text{font-size:clamp(1.02rem,.9rem + .45vw,1.2rem);color:var(--muted);max-width:560px;margin-bottom:32px;}
.fmt-hero .addon-root-button,.fmt-hero .sppb-addon-button{display:inline-block!important;margin:0 14px 12px 0;}
.fmt-hero .sppb-addon-single-image{border-radius:20px;box-shadow:0 34px 70px rgba(0,0,0,.55);}
.fmt-hero .sppb-addon-single-image img{border-radius:20px;}

/* ---------- Статистика ---------- */
.fmt-stats{background:var(--surface);border-top:1px solid var(--divider);border-bottom:1px solid var(--divider);}
.fmt-stats .sppb-column{border-right:1px solid var(--divider);}
.fmt-stats .sppb-column:last-child{border-right:none;}
.sppb-addon-animated-number{text-align:center;}
.sppb-addon-animated-number .sppb-animated-number,.sppb-animated-number,.sppb-addon-animated-number span:first-child{font-family:var(--serif)!important;color:var(--accent)!important;font-size:clamp(2.2rem,1rem + 2.6vw,3.2rem)!important;font-weight:700;display:block;line-height:1;}
.sppb-addon-animated-number .sppb-animated-number-title,.sppb-number-title,.sppb-addon-animated-number h3,.sppb-addon-animated-number p{color:var(--muted)!important;font-family:var(--sans)!important;font-size:.98rem;margin-top:10px;}

/* ---------- Заголовки секций ---------- */
.sppb-addon-header{text-align:center;}
.sppb-section .sppb-addon-title{font-size:clamp(1.9rem,1rem + 2.4vw,2.9rem);}
.fmt-svc-head,.fmt-portfolio-head,.fmt-proc-head{padding-bottom:10px!important;}

/* ---------- Услуги (минимально, 6 в ряд) ---------- */
.fmt-services .sppb-addon-feature{background:transparent!important;border:none!important;box-shadow:none!important;padding:16px 4px!important;text-align:center;transition:transform .3s;}
/* слова целиком, без разрыва по буквам; чуть шире за счёт меньших боковых отступов колонок */
.fmt-services .sppb-column,.fmt-services [class*="sppb-col"]{padding-left:5px!important;padding-right:5px!important;}
.fmt-services .sppb-feature-box-title,.fmt-services .sppb-addon-title{overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;}
/* вторая строка (описание услуги) мельче заголовка */
.fmt-services .sppb-addon-content,.fmt-services .sppb-feature-box-text{font-size:.8rem!important;line-height:1.3!important;overflow-wrap:normal!important;word-break:normal!important;color:var(--muted)!important;}
.fmt-services .sppb-addon-feature:hover{transform:translateY(-6px);border:none!important;}
.fmt-services .sppb-icon,.fmt-services .sppb-icon i,.fmt-services .sppb-media-icon i,.fmt-services i{color:var(--accent)!important;font-size:2.4rem!important;margin-bottom:14px;}
.fmt-services .sppb-feature-box-title,.fmt-services .sppb-addon-title{font-size:.92rem;margin:6px 0 4px;line-height:1.3;}
.fmt-services .sppb-column{margin-bottom:20px;}

/* ---------- Портфолио ---------- */
.fmt-tabs{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:24px;}
.fmt-tab{padding:9px 22px;border-radius:30px;border:1px solid var(--divider);color:var(--muted);cursor:pointer;font-size:.95rem;transition:.3s;}
.fmt-tab.is-active,.fmt-tab:hover{background:var(--accent);border-color:var(--accent);color:#171208;}
.fmt-portfolio .sppb-addon-single-image{overflow:hidden;border-radius:16px;line-height:0;margin-bottom:26px;}
.fmt-portfolio .sppb-addon-single-image img{width:100%;height:clamp(210px,20vw,270px);object-fit:cover;transition:transform .6s cubic-bezier(.16,1,.3,1);}
.fmt-portfolio .sppb-addon-single-image:hover img{transform:scale(1.07);}
.fmt-portfolio-btn{text-align:center;padding-top:6px!important;}

/* ---------- Процесс (5 шагов) ---------- */
.fmt-process{position:relative;}
.fmt-process .sppb-row{justify-content:center;}
.fmt-step{text-align:center;padding:0 10px;}
.fmt-step-num{font-family:var(--serif);color:var(--accent);font-size:2rem;font-weight:800;display:block;margin-bottom:12px;}
.fmt-step h4{font-size:1.05rem;margin:0 0 8px;}
.fmt-step p{color:var(--muted);font-size:.9rem;line-height:1.5;}

/* ---------- Футер (секция страницы) ---------- */
.fmt-footer{background:#0B0A08!important;border-top:1px solid var(--divider);padding:64px 0 40px!important;}
.fmt-foot-logo{font-family:var(--serif);color:var(--accent);font-size:1.7rem;font-weight:700;letter-spacing:2px;display:block;margin-bottom:14px;}
.fmt-foot-brand p{color:var(--muted);font-size:.95rem;max-width:320px;}
.fmt-foot-col h5{color:var(--text);font-family:var(--serif)!important;font-size:1.05rem;margin-bottom:16px;}
.fmt-foot-col ul{list-style:none;padding:0;margin:0;}
.fmt-foot-col li{color:var(--muted);font-size:.92rem;padding:5px 0;transition:color .2s;cursor:pointer;}
.fmt-foot-col li:hover{color:var(--accent);}

/* ---------- Helix footer (штатный, если появится) ---------- */
#sp-footer,.sp-footer{background:#0B0A08!important;color:var(--muted);border-top:1px solid var(--divider);}

/* ---------- Общее для картинок ---------- */
.sppb-addon-single-image img,.sppb-img-responsive{max-width:100%;}

/* ---------- Адаптив ---------- */
@media(max-width:991px){
  .fmt-services .sppb-column{margin-bottom:26px;}
  .fmt-stats .sppb-column{border-right:none;border-bottom:1px solid var(--divider);padding-bottom:20px;}
}

/* ---------- Статистика: иконки + крупные цифры ---------- */
.fmt-stats .sppb-addon-icon,.fmt-stats .sppb-icon{text-align:center;}
.fmt-stats .sppb-addon-icon i,.fmt-stats .sppb-icon i,.fmt-stats i{color:var(--accent)!important;font-size:1.9rem!important;margin-bottom:8px;display:inline-block;}
.fmt-stats .sppb-animated-number,.fmt-stats .sppb-addon-animated-number span:first-child{font-size:clamp(2.6rem,1rem + 3vw,3.7rem)!important;}

/* ---------- Плашка-оверлей на фото героя ---------- */
.fmt-hero .sppb-column:last-child{position:relative;}
.fmt-hero-card{position:absolute;right:16px;bottom:16px;max-width:62%;display:flex;gap:13px;align-items:center;background:rgba(15,14,12,.74);backdrop-filter:blur(10px);border:1px solid rgba(201,162,75,.35);border-radius:14px;padding:15px 17px;}
.fmt-hero-card i{color:var(--accent);font-size:1.5rem;}
.fmt-hero-card-txt strong{display:block;color:var(--text);font-size:.9rem;font-family:var(--serif);line-height:1.3;}
.fmt-hero-card-txt span{display:block;color:var(--muted);font-size:.78rem;margin-top:3px;}
.fmt-hero .sppb-addon-single-image img{min-height:360px;object-fit:cover;}

/* ---------- Подчёркивание заголовков секций ---------- */
.fmt-svc-head .sppb-addon-title,.fmt-portfolio-head .sppb-addon-title,.fmt-proc-head .sppb-addon-title{position:relative;display:inline-block;padding-bottom:16px;}
.fmt-svc-head .sppb-addon-title::after,.fmt-portfolio-head .sppb-addon-title::after,.fmt-proc-head .sppb-addon-title::after{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:56px;height:3px;background:var(--accent);border-radius:2px;}

/* ---------- Процесс: рамка номера + иконка + линия ---------- */
.fmt-process .sppb-row{position:relative;}
.fmt-step-num{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border:1px solid var(--divider);border-radius:12px;font-family:var(--serif);color:var(--accent);font-size:1.3rem;font-weight:800;margin-bottom:14px;background:var(--surface);position:relative;z-index:2;}
.fmt-step i{display:block;color:var(--accent);font-size:1.25rem;margin-bottom:10px;}
.fmt-step h4{font-size:1rem;margin:0 0 8px;}
.fmt-step p{color:var(--muted);font-size:.85rem;line-height:1.5;}
@media(min-width:992px){.fmt-process .sppb-row::before{content:"";position:absolute;top:28px;left:12%;right:12%;border-top:1px dashed var(--divider);z-index:1;}}

/* ---------- Лого-слоган ---------- */
.sp-logo .logo-slogan,.logo-slogan{color:var(--muted)!important;letter-spacing:4px;font-size:.6rem;text-transform:uppercase;}

/* ---------- Футер: иконки контактов ---------- */
.fmt-foot-col li i{color:var(--accent);width:18px;margin-right:6px;}

/* ---------- reduced-motion ---------- */
@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important;}}

/* ---------- Бургер-меню (как forma.am): только бургер, по клику off-canvas ---------- */
.sp-header .sp-megamenu-wrapper,#sp-menu .sp-megamenu-parent,.sp-megamenu-parent{display:none!important;}
.offcanvas-toggler-left,.offcanvas-toggler-secondary,.burger-icon{display:flex!important;}
.burger-icon>span{background:var(--text)!important;}
.offcanvas-toggler-left:hover .burger-icon>span,.offcanvas-toggler-secondary:hover .burger-icon>span{background:var(--accent)!important;}
.offcanvas-menu{background:#0F0E0C!important;border-right:1px solid var(--divider)!important;}
.offcanvas-inner a,.offcanvas-menu a,.offcanvas-menu .menu>li>a{color:var(--text)!important;font-family:var(--serif)!important;}
.offcanvas-menu a:hover{color:var(--accent)!important;}
.offcanvas-menu .menu>li{border-bottom:1px solid var(--divider);}
.close-offcanvas,.close-offcanvas span,.close-offcanvas:before{color:var(--text)!important;}
.offcanvas-overlay{background:rgba(0,0,0,.65)!important;}

/* ---------- Переключатель языков ---------- */
#sp-top2{display:flex;justify-content:flex-end;align-items:center;}
.mod-languages ul{display:flex;gap:16px;list-style:none;margin:0;padding:0;align-items:center;}
.mod-languages li{margin:0;}
.mod-languages a{color:var(--muted)!important;font-size:.82rem;text-transform:uppercase;letter-spacing:1px;font-family:var(--sans)!important;}
.mod-languages a:hover,.mod-languages .lang-active a,.mod-languages li.active a{color:var(--accent)!important;}

/* ===== Подгонка под макет FORMA (v2) ===== */
/* Меню инлайн на десктопе, бургер только на мобиле */
.sp-header .sp-megamenu-wrapper,#sp-menu .sp-megamenu-parent,.sp-megamenu-parent{display:flex!important;}
.offcanvas-toggler-left,.offcanvas-toggler-secondary,.burger-icon{display:none!important;}
@media(max-width:991px){
  .sp-megamenu-parent,.sp-header .sp-megamenu-wrapper{display:none!important;}
  .offcanvas-toggler-left,.offcanvas-toggler-secondary,.burger-icon{display:flex!important;}
}
/* Герой: заголовок меньше, без переполнения */
.fmt-hero h1.sppb-addon-title{font-size:clamp(1.9rem,1rem + 2.1vw,3rem)!important;line-height:1.14!important;overflow-wrap:break-word;font-weight:700!important;margin:0 0 18px!important;}
.fmt-hero .sppb-addon-text{font-size:1.02rem!important;margin-bottom:26px!important;}
.fmt-hero .sppb-column{min-width:0;}
/* Секции компактнее */
.sppb-section{padding:56px 0!important;}
/* Статистика умереннее */
.fmt-stats{padding:34px 0!important;}
.fmt-stats .sppb-animated-number,.fmt-stats .sppb-addon-animated-number span:first-child{font-size:clamp(1.7rem,1rem + 1.4vw,2.3rem)!important;}
.fmt-stats i{font-size:1.4rem!important;margin-bottom:6px!important;}
.fmt-stats .sppb-animated-number-title{font-size:.88rem!important;}
/* Переключатель языков компактно */
#sp-top2{padding:4px 0;}
.mod-languages ul{gap:10px;}

/* ===== Меню-бургер: закрыто, открывается по клику (перекрывает инлайн) ===== */
.sp-header .sp-megamenu-wrapper,#sp-menu .sp-megamenu-parent,.sp-megamenu-parent{display:none!important;}
.offcanvas-toggler-left,.offcanvas-toggler-secondary,.burger-icon{display:flex!important;}
.burger-icon>span{background:var(--text)!important;}

/* Бургер — принудительно виден в шапке (перебивает d-none Helix) */
#sp-header .burger-icon,#sp-header .offcanvas-toggler-secondary,#sp-header .offcanvas-toggler-left,#sp-header .offcanvas-toggler-right{display:inline-flex!important;align-items:center;}
#sp-header .offcanvas-toggler-secondary{cursor:pointer;}

/* Открытие off-canvas по клику (форс, если Helix-правило не сработало) */
body.offcanvas-active .offcanvas-menu,body.offcanvas-active .offcanvas-menu.left-1{left:0!important;transform:none!important;}
body.offcanvas-active .offcanvas-overlay{opacity:1!important;visibility:visible!important;}

/* ===== Свой бургер (гарантированный) ===== */
/* прячем капризный Helix-тогглер */
#sp-header .offcanvas-toggler-secondary,#sp-header .offcanvas-toggler-left,.offcanvas-toggler-secondary,.offcanvas-toggler-left{display:none!important;}
/* своя кнопка-бургер, фикс слева в шапке */
.fmt-burger{position:fixed;top:66px;left:26px;z-index:1001;width:34px;height:26px;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;padding:2px 0;}
.fmt-burger span{display:block;height:2px;width:100%;background:var(--text);border-radius:2px;transition:transform .3s,opacity .3s,background .3s;}
.fmt-burger:hover span{background:var(--accent);}
body.offcanvas-active .fmt-burger span:nth-child(1){transform:translateY(9px) rotate(45deg);}
body.offcanvas-active .fmt-burger span:nth-child(2){opacity:0;}
body.offcanvas-active .fmt-burger span:nth-child(3){transform:translateY(-9px) rotate(-45deg);}
@media(max-width:991px){.fmt-burger{top:16px;}}

/* ===== Бургер ниже + ГОРИЗОНТАЛЬНОЕ меню без блюра ===== */
.fmt-burger{top:120px!important;left:30px!important;}
@media(max-width:991px){.fmt-burger{top:18px!important;}}

/* убрать блюр и затемнение */
.offcanvas-overlay{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
body.offcanvas-active .body-wrapper,body.offcanvas-active #sp-main-body,body.offcanvas-active .sp-page-builder,body.offcanvas-active #sp-main,body.offcanvas-active main{filter:none!important;}

/* панель — горизонтальная полоса сверху */
.offcanvas-menu,body.ltr.offcanvs-position-left .offcanvas-menu,.offcanvas-menu.left-1{
  position:fixed!important;left:0!important;right:0!important;top:0!important;bottom:auto!important;
  width:100%!important;height:auto!important;max-width:none!important;
  transform:translateY(-100%)!important;transition:transform .4s cubic-bezier(.16,1,.3,1)!important;
  background:rgba(13,12,10,.98)!important;border-right:none!important;border-bottom:1px solid var(--divider)!important;
  box-shadow:0 20px 50px rgba(0,0,0,.5)!important;
}
body.offcanvas-active .offcanvas-menu,body.offcanvas-active .offcanvas-menu.left-1,body.ltr.offcanvs-position-left.offcanvas-active .offcanvas-menu{
  transform:translateY(0)!important;left:0!important;
}
/* содержимое: пункты в ряд */
.offcanvas-menu .offcanvas-inner{padding:22px 60px 22px 90px!important;height:auto!important;}
.offcanvas-menu ul.menu{display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:34px!important;flex-wrap:wrap!important;}
.offcanvas-menu ul.menu>li{border-bottom:none!important;margin:0!important;}
.offcanvas-menu ul.menu>li>a{padding:6px 0!important;font-size:1.05rem;}
.close-offcanvas{position:absolute!important;top:14px;right:24px;}

/* Фикс ширины горизонтальной панели: контейнер имеет 0 ширины → используем vw */
.offcanvas-menu,body.ltr.offcanvs-position-left .offcanvas-menu,.offcanvas-menu.left-1{
  width:100vw!important;max-width:100vw!important;min-width:100vw!important;
  left:0!important;right:auto!important;
}
.offcanvas-menu .offcanvas-inner{width:100%!important;max-width:100vw!important;box-sizing:border-box!important;}
.offcanvas-menu ul.menu{width:100%!important;}

/* ФИНАЛ: открытие панели — максимальная специфичность, последнее правило */
html body.offcanvas-active .offcanvas-menu,
html body.offcanvas-active .offcanvas-menu.left-1,
html body.ltr.offcanvs-position-left.offcanvas-active .offcanvas-menu,
html body.ltr.offcanvs-position-left.offcanvas-active .offcanvas-menu.left-1{
  transform:translateY(0)!important;top:0!important;left:0!important;
}

/* ===== СВОЯ горизонтальная панель меню (Helix off-canvas отключён) ===== */
.offcanvas-menu,.offcanvas-overlay{display:none!important;}
.fmt-menubar{position:fixed!important;top:0!important;left:0!important;width:100vw!important;z-index:1000!important;
  background:rgba(13,12,10,.985)!important;border-bottom:1px solid var(--divider)!important;
  box-shadow:0 20px 50px rgba(0,0,0,.5)!important;
  transform:translateY(-100%)!important;transition:transform .35s cubic-bezier(.16,1,.3,1)!important;
  padding:20px 24px!important;margin:0!important;}
html body.fmt-menu-open .fmt-menubar{transform:translateY(0)!important;}
.fmt-menubar ul,.fmt-menubar ul.menu,.fmt-menubar .mod-menu{display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:34px!important;list-style:none!important;margin:0!important;padding:0!important;flex-wrap:wrap!important;}
.fmt-menubar li{margin:0!important;border:none!important;}
.fmt-menubar a{color:var(--text)!important;font-family:var(--serif)!important;font-size:1.05rem!important;padding:4px 0!important;display:inline-block;}
.fmt-menubar a:hover{color:var(--accent)!important;}
.fmt-menubar .mod-menu__sub,.fmt-menubar ul ul{display:none!important;}

/* ===== НАСТРАИВАЕМЫЕ ПАРАМЕТРЫ МЕНЮ (меняй здесь) ===== */
:root{
  --fmt-menu-bg:rgba(13,12,10,.98);   /* фон панели меню */
  --fmt-menu-border:#2C2822;          /* рамка */
  --fmt-menu-radius:10px;             /* скругление */
  --fmt-menu-gap:30px;                /* расстояние между пунктами */
  --fmt-menu-top:108px;               /* по вертикали (уровень бургера) */
  --fmt-menu-left:80px;               /* отступ слева (сразу за бургером) */
}

/* ===== Меню раскрывается ОТ БУРГЕРА ВПРАВО (не сверху) ===== */
.fmt-menubar{
  position:fixed!important;
  top:var(--fmt-menu-top)!important;
  left:var(--fmt-menu-left)!important;
  right:auto!important;bottom:auto!important;
  width:max-content!important;max-width:calc(100vw - 110px)!important;min-width:0!important;
  z-index:1000!important;
  background:var(--fmt-menu-bg)!important;
  border:1px solid var(--fmt-menu-border)!important;
  border-radius:var(--fmt-menu-radius)!important;
  box-shadow:0 18px 40px rgba(0,0,0,.45)!important;
  padding:12px 26px!important;margin:0!important;
  transform:none!important;
  clip-path:inset(0 100% 0 0)!important;
  transition:clip-path .45s cubic-bezier(.16,1,.3,1)!important;
}
html body.fmt-menu-open .fmt-menubar{clip-path:inset(0 0 0 0)!important;}
.fmt-menubar ul,.fmt-menubar ul.menu{gap:var(--fmt-menu-gap)!important;justify-content:flex-start!important;flex-wrap:nowrap!important;}
.fmt-menubar a{white-space:nowrap!important;}
@media(max-width:991px){
  .fmt-menubar{top:56px!important;left:16px!important;max-width:calc(100vw - 32px)!important;}
  .fmt-menubar ul,.fmt-menubar ul.menu{flex-wrap:wrap!important;gap:14px!important;}
}

/* ===== ФИНАЛ: разворот меню ОТ БУРГЕРА ВПРАВО через max-width (надёжно) ===== */
html body .fmt-menubar{
  clip-path:none!important;
  transform:none!important;
  overflow:hidden!important;
  max-width:0!important;
  padding-left:0!important;padding-right:0!important;
  border-width:0!important;
  transition:max-width .5s cubic-bezier(.16,1,.3,1),padding .35s ease,border-width .2s ease!important;
}
html body.fmt-menu-open .fmt-menubar{
  max-width:min(1150px,calc(100vw - 110px))!important;
  padding-left:26px!important;padding-right:26px!important;
  border-width:1px!important;
}

/* Простые значения (без min()/calc — не везде поддерживаются) */
html body.fmt-menu-open .fmt-menubar{max-width:1150px!important;padding-left:26px!important;padding-right:26px!important;border-width:1px!important;}
@media(max-width:1300px){html body.fmt-menu-open .fmt-menubar{max-width:900px!important;}}
@media(max-width:991px){html body.fmt-menu-open .fmt-menubar{max-width:640px!important;}}

/* Меню уже — чтобы не наезжало на фото героя */
:root{--fmt-menu-gap:18px;}
html body .fmt-menubar a{font-size:.95rem!important;}
html body.fmt-menu-open .fmt-menubar{max-width:700px!important;padding-left:18px!important;padding-right:18px!important;}
@media(max-width:1300px){html body.fmt-menu-open .fmt-menubar{max-width:640px!important;}}
@media(max-width:1100px){html body.fmt-menu-open .fmt-menubar{max-width:520px!important;}}
@media(max-width:991px){html body.fmt-menu-open .fmt-menubar{max-width:calc(100vw - 40px)!important;}}

/* ВЕРНУТЬ прежние интервалы/шрифт; блок чуть уже + поднят выше фото */
:root{--fmt-menu-gap:30px;--fmt-menu-top:98px;}
html body .fmt-menubar a{font-size:1.05rem!important;}
html body .fmt-menubar ul,html body .fmt-menubar ul.menu{gap:30px!important;}
html body.fmt-menu-open .fmt-menubar{max-width:850px!important;padding-left:26px!important;padding-right:26px!important;}
@media(max-width:1300px){html body.fmt-menu-open .fmt-menubar{max-width:820px!important;}}
@media(max-width:1100px){html body.fmt-menu-open .fmt-menubar{max-width:640px!important;}}
@media(max-width:991px){html body.fmt-menu-open .fmt-menubar{max-width:calc(100vw - 40px)!important;}}

/* ОДИНАКОВАЯ ширина блока меню на всех языках (не зависит от длины слов) */
html body .fmt-menubar{width:850px!important;}
html body .fmt-menubar ul,html body .fmt-menubar ul.menu{justify-content:center!important;width:100%!important;}
html body.fmt-menu-open .fmt-menubar{max-width:850px!important;}
@media(max-width:1300px){html body .fmt-menubar{width:820px!important;} html body.fmt-menu-open .fmt-menubar{max-width:820px!important;}}
@media(max-width:1100px){html body .fmt-menubar{width:640px!important;} html body.fmt-menu-open .fmt-menubar{max-width:640px!important;}}
@media(max-width:991px){html body .fmt-menubar{width:auto!important;} html body.fmt-menu-open .fmt-menubar{max-width:calc(100vw - 40px)!important;}}

/* Больше воздуха между подзаголовком героя и кнопками */
html body .fmt-hero .sppb-addon-text{margin-bottom:40px!important;}
html body .fmt-hero .addon-root-button,html body .fmt-hero .sppb-addon-button{margin-top:6px!important;}

/* Плашка на фото героя (теперь аддон Feature) — компактный размер как было */
html body .fmt-hero-card{
  position:absolute!important;right:16px!important;bottom:16px!important;left:auto!important;top:auto!important;
  max-width:62%!important;width:auto!important;
  background:rgba(15,14,12,.78)!important;backdrop-filter:blur(10px)!important;
  border:1px solid rgba(201,162,75,.35)!important;border-radius:14px!important;
  padding:13px 16px!important;margin:0!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;
  text-align:left!important;box-shadow:none!important;transform:none!important;
}
html body .fmt-hero-card:hover{transform:none!important;}
html body .fmt-hero-card .sppb-icon,html body .fmt-hero-card .sppb-media-icon{margin:0!important;flex:0 0 auto!important;}
html body .fmt-hero-card i{font-size:1.45rem!important;margin:0!important;color:var(--accent)!important;}
html body .fmt-hero-card .sppb-feature-box-title,html body .fmt-hero-card .sppb-addon-title,html body .fmt-hero-card h5{
  font-size:.92rem;line-height:1.3;margin:0 0 3px;font-family:var(--serif);color:var(--text);text-align:left;
}
html body .fmt-hero-card .sppb-feature-text,html body .fmt-hero-card p{
  font-size:.8rem!important;line-height:1.35!important;margin:0!important;color:var(--muted)!important;text-align:left!important;
}
html body .fmt-hero-card .sppb-media-content,html body .fmt-hero-card .sppb-feature-content,html body .fmt-hero-card .sppb-media-body{text-align:left!important;flex:1 1 auto!important;}

/* ===== Размеры для ПРОЦЕССА и ФУТЕРА после перехода на родные аддоны ===== */
/* Процесс: номер в рамке */
html body .fmt-process .fmt-step-num .sppb-addon-title{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:56px!important;height:56px!important;border:1px solid var(--divider)!important;border-radius:12px;
  font-size:1.3rem;font-weight:800;color:var(--accent);
  background:var(--surface);margin:0 auto 14px;line-height:1;
}
html body .fmt-process .fmt-step-num,html body .fmt-process .sppb-addon-header{text-align:center;}
/* Процесс: карточка шага */
html body .fmt-process .sppb-addon-feature{background:transparent!important;border:none!important;box-shadow:none!important;padding:0 8px!important;text-align:center!important;}
html body .fmt-process .sppb-addon-feature:hover{transform:none!important;}
html body .fmt-process .sppb-feature-box-title,html body .fmt-process .sppb-addon-feature .sppb-addon-title{font-size:1rem;margin:8px 0 8px;line-height:1.3;}
html body .fmt-process .sppb-feature-text,html body .fmt-process .sppb-addon-feature p{font-size:.85rem!important;line-height:1.5!important;color:var(--muted)!important;}
html body .fmt-process i{font-size:1.25rem!important;color:var(--accent)!important;margin-bottom:6px!important;}

/* Футер: заголовки колонок и списки */
html body .fmt-footer .sppb-addon-title{font-size:1.05rem!important;margin:0 0 14px!important;line-height:1.3!important;font-family:var(--serif)!important;color:var(--text)!important;}
html body .fmt-footer .fmt-foot-logo .sppb-addon-title{font-size:1.7rem!important;color:var(--accent)!important;letter-spacing:2px!important;margin:0 0 12px!important;}
html body .fmt-footer .sppb-addon-text,html body .fmt-footer p,html body .fmt-footer li{font-size:.92rem!important;line-height:1.6!important;color:var(--muted)!important;}
html body .fmt-footer ul{list-style:none!important;padding:0!important;margin:0!important;}
html body .fmt-footer li{padding:4px 0!important;}

/* Плашка героя: позиция и размер по разметке (свисает с правого нижнего угла фото) */
html body .fmt-hero-card{
  right:-38px!important;bottom:-30px!important;left:auto!important;top:auto!important;
  width:400px!important;max-width:400px!important;
  padding:14px 18px!important;
}
/* убрать лишние внутренние отступы (пустота снизу) */
html body .fmt-hero-card .sppb-addon-content,
html body .fmt-hero-card .sppb-feature-content,
html body .fmt-hero-card .sppb-media-content,
html body .fmt-hero-card .sppb-media-body{margin:0!important;padding:0!important;}
html body .fmt-hero-card .sppb-feature-box-title,html body .fmt-hero-card .sppb-addon-title{margin:0 0 3px;}
html body .fmt-hero-card .sppb-feature-text,html body .fmt-hero-card p{margin:0!important;}
html body .fmt-hero-card .sppb-icon{margin:0!important;padding:0!important;}
@media(max-width:1200px){
  html body .fmt-hero-card{right:12px!important;bottom:12px!important;width:auto!important;max-width:68%!important;}
}

/* Отступ между подзаголовком героя и кнопками — гарантированно */
html body .fmt-hero .sppb-addon-text{margin-bottom:36px!important;}
html body .fmt-hero .sppb-addon-text p:last-child{margin-bottom:0!important;}
html body .fmt-hero .sppb-btn,html body .fmt-hero a.sppb-btn{margin-top:24px!important;}

/* ПЛАШКА ГЕРОЯ — точная структура аддона Feature: иконка слева, компактно, правый нижний угол */
html body .fmt-hero-card{
  position:absolute!important;
  right:-8px!important;bottom:-26px!important;left:auto!important;top:auto!important;
  width:370px!important;max-width:370px!important;min-width:0!important;
  padding:13px 16px!important;margin:0!important;
  background:rgba(15,14,12,.82)!important;backdrop-filter:blur(10px)!important;
  border:1px solid rgba(201,162,75,.35)!important;border-radius:14px!important;
  display:block!important;box-shadow:0 14px 34px rgba(0,0,0,.45)!important;
}
/* внутренний контейнер — иконка слева, текст справа */
html body .fmt-hero-card .sppb-addon-content{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  gap:12px!important;margin:0!important;padding:0!important;
}
html body .fmt-hero-card .sppb-icon{margin:0!important;padding:0!important;flex:0 0 auto!important;}
html body .fmt-hero-card .sppb-icon i{font-size:1.4rem!important;color:var(--accent)!important;margin:0!important;}
html body .fmt-hero-card .sppb-media-content{flex:1 1 auto!important;text-align:left!important;margin:0!important;padding:0!important;}
html body .fmt-hero-card .sppb-feature-box-title{font-size:.9rem;line-height:1.3;margin:0 0 2px;color:var(--text);}
html body .fmt-hero-card .sppb-addon-text{font-size:.78rem!important;line-height:1.35!important;margin:0!important;color:var(--muted)!important;}
@media(max-width:1200px){
  html body .fmt-hero-card{right:10px!important;bottom:10px!important;width:auto!important;max-width:70%!important;}
}

/* Портфолио: отступы между фото */
html body .fmt-portfolio .sppb-column{padding-left:13px!important;padding-right:13px!important;}
html body .fmt-portfolio .sppb-row{margin-left:-13px!important;margin-right:-13px!important;}
html body .fmt-portfolio .sppb-addon-single-image{margin-bottom:26px!important;}

/* Портфолио: фото кликабельны (лайтбокс), курсор-указатель */
html body .fmt-portfolio .sppb-addon-single-image,
html body .fmt-portfolio .sppb-addon-single-image img,
html body .fmt-portfolio .sppb-addon-single-image a{cursor:pointer!important;}

/* ===== Блок «О наших услугах» (SEO-текст) ===== */
html body .fmt-about{background:var(--surface)!important;border-top:1px solid var(--divider);border-bottom:1px solid var(--divider);}
html body .fmt-about .sppb-row-container{max-width:900px!important;}
html body .fmt-about .sppb-addon-title{font-size:clamp(1.5rem,1rem + 1.4vw,2.1rem)!important;margin-bottom:26px!important;text-align:center!important;}
html body .fmt-about .sppb-addon-text,html body .fmt-about .sppb-addon-content{font-size:1rem!important;line-height:1.75!important;color:var(--muted)!important;}
html body .fmt-about p{margin:0 0 18px!important;}
html body .fmt-about p:last-child{margin-bottom:0!important;}
html body .fmt-about strong{color:var(--text)!important;font-weight:600!important;}

/* ===== Блок «о наших услугах»: слева медиа (фото + карта), справа текст ===== */
html body .fmt-about .sppb-row-container{max-width:1200px!important;}
html body .fmt-about .sppb-row{align-items:center!important;}
html body .fmt-about-text .sppb-addon-title{text-align:left!important;margin-bottom:20px!important;}
html body .fmt-about-text{padding-left:26px!important;}

/* медиа-колонка: слои */
html body .fmt-about-media .sppb-column-addons{position:relative!important;}
html body .fmt-about-photo{border-radius:18px;overflow:hidden!important;margin:0;}
html body .fmt-about-photo img{width:100%!important;height:clamp(320px,32vw,420px)!important;object-fit:cover;border-radius:18px;filter:brightness(.72) saturate(.9)!important;}
/* карта поверх фото */
html body .fmt-about-map{position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-54%)!important;width:78%!important;margin:0!important;pointer-events:none!important;z-index:2!important;}
html body .fmt-about-map img{width:100%!important;height:auto!important;opacity:.75!important;filter:drop-shadow(0 6px 18px rgba(0,0,0,.55))!important;}
/* города */
html body .fmt-about-cities{position:absolute!important;left:0!important;right:0!important;bottom:16px!important;z-index:3!important;margin:0!important;}
html body .fmt-about-cities .sppb-addon-content{font-size:.82rem!important;letter-spacing:.5px!important;color:var(--accent)!important;text-align:center!important;line-height:1.4!important;}

@media(max-width:991px){
  html body .fmt-about-text{padding-left:0!important;padding-top:26px!important;}
  html body .fmt-about-photo img{height:280px!important;}
}

/* ===== Карта Армении (инлайн SVG) поверх фото клиентов ===== */
html body .fmt-about-photo img{height:clamp(420px,40vw,560px)!important;filter:brightness(.62) saturate(.85)!important;}
html body .fmt-about-map{position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;
  width:92%!important;margin:0!important;pointer-events:none!important;z-index:2!important;}
html body .fmt-about-map .sppb-addon-content{padding:0!important;margin:0!important;}
html body .fmt-map{width:100%!important;height:auto!important;display:block!important;
  filter:drop-shadow(0 6px 20px rgba(0,0,0,.6))!important;opacity:.95!important;}
html body .fmt-map-dot{fill:#C9A24B!important;stroke:rgba(15,14,12,.85)!important;stroke-width:3!important;}
html body .fmt-map-dot.is-capital{fill:#F0D48A!important;}
html body .fmt-map-label{fill:#EDE6DA!important;font-family:var(--sans)!important;font-size:28px!important;font-weight:600!important;
  paint-order:stroke!important;stroke:rgba(10,9,8,.85)!important;stroke-width:6px!important;stroke-linejoin:round!important;}

/* Карта: страна + озеро Севан */
html body .fmt-map-country{fill:rgba(201,162,75,0.10)!important;stroke:#C9A24B!important;stroke-width:3!important;stroke-linejoin:round!important;stroke-linecap:round!important;}
html body .fmt-map-lake{fill:rgba(74,132,160,0.55)!important;stroke:rgba(150,200,225,0.85)!important;stroke-width:2!important;stroke-linejoin:round!important;}

/* ===== Фото ниже + кнопки связи под ним ===== */
/* фото компактнее */
html body .fmt-about-photo img{height:clamp(360px,30vw,460px)!important;}
/* карта строго поверх фото (не залезает на кнопки) */
html body .fmt-about-map{position:absolute!important;top:0!important;left:50%!important;
  transform:translateX(-50%)!important;width:88%!important;height:clamp(360px,30vw,460px)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;
  pointer-events:none!important;z-index:2!important;}
html body .fmt-about-map .sppb-addon-content{width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;}
html body .fmt-map{max-height:100%!important;width:auto!important;max-width:100%!important;}

/* кнопки связи */
html body .fmt-about-contacts{margin-top:14px!important;position:relative!important;z-index:3!important;}
html body .fmt-contact-btns{display:flex!important;gap:10px!important;justify-content:center!important;flex-wrap:wrap!important;}
html body .fmt-cbtn{display:inline-flex!important;align-items:center!important;gap:8px!important;
  padding:11px 18px!important;border-radius:10px!important;border:1px solid var(--divider)!important;
  color:var(--text)!important;font-size:.92rem!important;font-family:var(--sans)!important;
  text-decoration:none!important;transition:transform .25s,border-color .25s,color .25s,background .25s!important;}
html body .fmt-cbtn i{font-size:1.05rem!important;}
html body .fmt-cbtn:hover{transform:translateY(-2px)!important;border-color:var(--accent)!important;color:var(--accent)!important;}
html body .fmt-cbtn-wa:hover{border-color:#25D366!important;color:#25D366!important;}
html body .fmt-cbtn-tg:hover{border-color:#29A9EB!important;color:#29A9EB!important;}
html body .fmt-cbtn-call{background:var(--accent)!important;border-color:var(--accent)!important;color:#171208!important;font-weight:600!important;}
html body .fmt-cbtn-call:hover{background:var(--accent2)!important;border-color:var(--accent2)!important;color:#171208!important;}
@media(max-width:991px){
  html body .fmt-about-photo img{height:300px!important;}
  html body .fmt-about-map{height:300px!important;}
}

/* ===== Низ фото+кнопок = низ текста: колонки равной высоты, фото тянется ===== */
html body .fmt-about .sppb-row{align-items:stretch!important;}
html body .fmt-about .sppb-column-6,html body .fmt-about .sppb-column-5,html body .fmt-about .sppb-column-7{display:flex!important;}
html body .fmt-about-media,html body .fmt-about-text{display:flex!important;flex-direction:column!important;width:100%!important;}
html body .fmt-about-media .sppb-column-addons{position:relative!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;height:100%!important;}

/* фото занимает всю свободную высоту над кнопками */
html body .fmt-about-media .addon-root-image{flex:1 1 auto!important;min-height:0!important;display:flex!important;margin:0!important;}
html body .fmt-about-media .addon-root-image > div{flex:1 1 auto!important;display:flex!important;min-height:0!important;}
html body .fmt-about-photo{flex:1 1 auto!important;display:flex!important;min-height:0!important;height:auto!important;}
html body .fmt-about-photo .sppb-addon-content{flex:1 1 auto!important;display:flex!important;min-height:0!important;}
html body .fmt-about-photo .sppb-addon-single-image-container{flex:1 1 auto!important;display:flex!important;min-height:0!important;width:100%!important;}
html body .fmt-about-photo img{width:100%!important;height:100%!important;min-height:340px!important;object-fit:cover;}

/* карта строго над фото (до кнопок) */
html body .fmt-about-map{position:absolute!important;top:0!important;bottom:72px!important;left:50%!important;
  transform:translateX(-50%)!important;width:88%!important;height:auto!important;
  display:flex!important;align-items:center!important;justify-content:center!important;z-index:2!important;}

/* кнопки прижаты к низу, размер не меняем */
html body .fmt-about-contacts{flex:0 0 auto!important;margin-top:14px!important;}

@media(max-width:991px){
  html body .fmt-about .sppb-row{align-items:flex-start!important;}
  html body .fmt-about-photo img{height:300px!important;min-height:300px!important;}
  html body .fmt-about-map{bottom:72px!important;}
}

/* Кнопки связи: одинаковый размер на всех языках (по 1/3 строки) */
html body .fmt-contact-btns{display:flex!important;gap:10px!important;justify-content:center!important;flex-wrap:nowrap!important;width:100%!important;}
html body .fmt-cbtn{flex:1 1 0!important;min-width:0!important;justify-content:center!important;text-align:center!important;
  padding:11px 10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body .fmt-cbtn span{overflow:hidden!important;text-overflow:ellipsis!important;}
@media(max-width:600px){
  html body .fmt-contact-btns{flex-wrap:wrap!important;}
  html body .fmt-cbtn{flex:1 1 45%!important;}
}

/* ---- Партнёры: бегущая строка ---- */
html body .fmt-partners{padding:64px 0 56px!important;background:var(--surface)!important;border-top:1px solid var(--divider)!important;border-bottom:1px solid var(--divider)!important;}
html body .fmt-partners-title .sppb-addon-title{font-family:var(--serif);font-size:clamp(1.5rem, 1rem + 1.4vw, 2.2rem);color:var(--text);margin:0 0 8px;}
html body .fmt-partners-sub p{color:var(--muted);font-size:.95rem;margin:0 0 30px;}

/* полоса шире контентного блока */
html body .fmt-partners-strip{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;}
html body .fmt-marquee{overflow:hidden!important;position:relative!important;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);}
html body .fmt-marquee-track{display:flex!important;width:max-content!important;gap:18px!important;
  animation:fmt-scroll 42s linear infinite!important;will-change:transform;}
html body .fmt-marquee:hover .fmt-marquee-track{animation-play-state:paused!important;}
@keyframes fmt-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

html body .fmt-pcard{flex:0 0 auto!important;width:190px!important;height:96px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:var(--bg)!important;border:1px solid var(--divider)!important;border-radius:10px!important;
  padding:0 16px!important;transition:border-color .3s ease, transform .3s ease;}
html body .fmt-pcard:hover{border-color:var(--accent)!important;transform:translateY(-3px)!important;}
html body .fmt-pcard span{color:var(--muted)!important;font-size:.92rem!important;letter-spacing:.04em!important;text-align:center!important;}
html body .fmt-pcard img{max-width:100%!important;max-height:64px!important;width:auto!important;height:auto!important;
  object-fit:contain!important;filter:grayscale(1) opacity(.75);transition:filter .3s ease;}
html body .fmt-pcard:hover img{filter:grayscale(0) opacity(1);}

@media(max-width:767px){
  html body .fmt-pcard{width:150px!important;height:80px!important;}
  html body .fmt-marquee-track{gap:12px!important;animation-duration:32s!important;}
}
@media(prefers-reduced-motion:reduce){
  html body .fmt-marquee-track{animation:none!important;}
  html body .fmt-marquee{overflow-x:auto!important;}
}

/* Партнёры: запас по высоте, чтобы приподнятая карточка не обрезалась сверху */
html body .fmt-marquee{padding:16px 0!important;}
html body .fmt-marquee-track{align-items:center!important;}

/* ---- Ритм отступов: портфолио -> кнопка -> следующий блок ---- */
/* кнопка прижата к своему блоку */
html body .fmt-portfolio{padding-bottom:12px!important;}
html body .fmt-portfolio-btn,html body .fmt-portfolio-btn.sppb-section{padding-top:0!important;padding-bottom:0!important;margin:0!important;}
html body .fmt-portfolio-btn .sppb-row{margin-top:0!important;margin-bottom:0!important;}
/* пауза между смысловыми блоками: заметно меньше прежней, но больше отступа кнопки */
html body .fmt-proc-head,html body .fmt-proc-head.sppb-section{padding-top:54px!important;padding-bottom:8px!important;}
html body .fmt-process,html body .fmt-process.sppb-section{padding-top:6px!important;}

/* Тот же ритм для услуг и портфолио: заголовок ближе к своей сетке */
html body .fmt-svc-head,html body .fmt-svc-head.sppb-section,
html body .fmt-portfolio-head,html body .fmt-portfolio-head.sppb-section{padding-top:54px!important;padding-bottom:8px!important;}
html body .fmt-services,html body .fmt-services.sppb-section,
html body .fmt-portfolio,html body .fmt-portfolio.sppb-section{padding-top:6px!important;}
html body .fmt-svc-head .sppb-addon,html body .fmt-portfolio-head .sppb-addon,
html body .fmt-proc-head .sppb-addon{margin-bottom:0!important;}

/* Услуги: 7 карточек, ряд подстраивается под ширину экрана */
html body .fmt-services .sppb-row{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;row-gap:26px!important;}
html body .fmt-services .sppb-row > [class*="sppb-col"]{flex:0 0 auto!important;max-width:none!important;}
@media(min-width:1200px){html body .fmt-services .sppb-row > [class*="sppb-col"]{width:14.28%!important;}}
@media(min-width:992px) and (max-width:1199px){html body .fmt-services .sppb-row > [class*="sppb-col"]{width:25%!important;}}
@media(min-width:768px) and (max-width:991px){html body .fmt-services .sppb-row > [class*="sppb-col"]{width:33.33%!important;}}
@media(max-width:767px){html body .fmt-services .sppb-row > [class*="sppb-col"]{width:50%!important;}}

/* Услуги: воздух между колонками (длинные слова в RU слипались) */
html body .fmt-services .sppb-row > [class*="sppb-col"]{padding-left:14px!important;padding-right:14px!important;}
html body .fmt-services .sppb-addon-feature{padding:18px 4px!important;border-radius:12px!important;
  transition:background .3s ease, box-shadow .35s ease, transform .3s ease!important;}
html body .fmt-services .sppb-feature-box-title,html body .fmt-services .sppb-addon-feature .sppb-addon-title{
  hyphens:none!important;overflow-wrap:normal!important;word-break:normal!important;word-wrap:normal!important;padding:0 2px;}

/* Наведение: лёгкая аура */
html body .fmt-services .sppb-addon-feature:hover{
  background:rgba(201,162,75,.05)!important;
  box-shadow:0 0 30px rgba(201,162,75,.16), 0 8px 26px rgba(0,0,0,.35)!important;
  transform:translateY(-4px)!important;}
html body .fmt-services .sppb-addon-feature i{transition:filter .35s ease, transform .35s ease!important;}
html body .fmt-services .sppb-addon-feature:hover i{
  filter:drop-shadow(0 0 12px rgba(201,162,75,.55))!important;transform:scale(1.08)!important;}

/* ============================================================
   ЕДИНАЯ СИСТЕМА КНОПОК САЙТА
   .fmt-btn + модификатор. Использовать на всех страницах:
     --primary  главное действие (золотая заливка)
     --ghost    второстепенное (контур)
     --wa/--tg/--call  мессенджеры и звонок
   Обёртка группы: .fmt-btn-row
   ============================================================ */
html body .fmt-btn-row{display:flex!important;flex-wrap:wrap!important;gap:14px!important;
  justify-content:center!important;align-items:center!important;}
html body .fmt-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:10px!important;padding:14px 30px!important;border-radius:8px!important;
  font-family:var(--sans)!important;font-size:.96rem!important;font-weight:600!important;
  letter-spacing:.02em!important;line-height:1.2!important;text-decoration:none!important;
  border:1px solid transparent!important;cursor:pointer!important;white-space:nowrap!important;
  transition:background .3s ease,color .3s ease,border-color .3s ease,box-shadow .35s ease,transform .3s ease!important;}
html body .fmt-btn i{font-size:1rem!important;line-height:1!important;}
html body .fmt-btn:hover{transform:translateY(-3px)!important;}
html body .fmt-btn:focus-visible{outline:2px solid var(--accent2)!important;outline-offset:3px!important;}

html body .fmt-btn--primary{background:var(--accent)!important;color:#171310!important;border-color:var(--accent)!important;}
html body .fmt-btn--primary:hover{background:var(--accent2)!important;border-color:var(--accent2)!important;
  box-shadow:0 0 28px rgba(201,162,75,.32), 0 10px 26px rgba(0,0,0,.4)!important;}

html body .fmt-btn--ghost{background:transparent!important;color:var(--text)!important;border-color:var(--divider)!important;}
html body .fmt-btn--ghost:hover{color:var(--accent2)!important;border-color:var(--accent)!important;
  background:rgba(201,162,75,.06)!important;box-shadow:0 0 24px rgba(201,162,75,.14)!important;}

/* блоки-обёртки */
html body .fmt-cta,html body .fmt-cta.sppb-section{padding-top:10px!important;padding-bottom:0!important;}
html body .fmt-coop,html body .fmt-coop.sppb-section{padding-top:30px!important;padding-bottom:46px!important;
  background:var(--surface)!important;}
html body .fmt-footer-coop{margin-top:26px!important;padding-top:24px!important;
  border-top:1px solid var(--divider)!important;}
html body .fmt-footer-coop .fmt-btn-row{justify-content:flex-start!important;}
html body .fmt-footer-coop .fmt-btn{padding:11px 20px!important;font-size:.88rem!important;}

@media(max-width:600px){
  html body .fmt-btn{width:100%!important;padding:13px 18px!important;white-space:normal!important;}
  html body .fmt-btn-row{gap:10px!important;}
}
/* якорь контактов: не перекрывается шапкой при переходе */
html body #fmt-contact{display:block!important;position:relative!important;top:-110px!important;visibility:hidden!important;}
html{scroll-behavior:smooth;}

/* ============================================================
   ПОДЕЛИТЬСЯ (переносится на любую страницу как есть)
   ============================================================ */
html body .fmt-share-block,html body .fmt-share-block.sppb-section{padding:34px 0 40px!important;
  border-top:1px solid var(--divider)!important;}
html body .fmt-share{display:flex!important;flex-direction:column!important;align-items:center!important;gap:14px!important;position:relative!important;}
html body .fmt-share-label{color:var(--muted);font-size:.9rem;letter-spacing:.06em;text-transform:uppercase;}
html body .fmt-share-row{display:flex!important;flex-wrap:wrap!important;gap:12px!important;justify-content:center!important;}
html body .fmt-share-btn{width:46px!important;height:46px!important;border-radius:50%!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:var(--surface)!important;border:1px solid var(--divider)!important;color:var(--muted)!important;
  text-decoration:none!important;transition:color .3s ease,border-color .3s ease,background .3s ease,box-shadow .35s ease,transform .3s ease!important;}
html body .fmt-share-btn i{font-size:1.05rem!important;line-height:1!important;}
html body .fmt-share-btn:hover{transform:translateY(-3px)!important;color:#fff!important;}
html body .fmt-share-btn:focus-visible{outline:2px solid var(--accent2)!important;outline-offset:3px!important;}
/* фирменные цвета появляются только при наведении, в покое ряд остаётся нейтральным */
html body .fmt-share--fb:hover{background:#1877F2!important;border-color:#1877F2!important;box-shadow:0 0 20px rgba(24,119,242,.4)!important;}
html body .fmt-share--ig:hover{background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF)!important;border-color:#DD2A7B!important;box-shadow:0 0 20px rgba(221,42,123,.4)!important;}
html body .fmt-share--wa:hover{background:#25D366!important;border-color:#25D366!important;box-shadow:0 0 20px rgba(37,211,102,.4)!important;}
html body .fmt-share--tg:hover{background:#229ED9!important;border-color:#229ED9!important;box-shadow:0 0 20px rgba(34,158,217,.4)!important;}
html body .fmt-share--vk:hover{background:#0077FF!important;border-color:#0077FF!important;box-shadow:0 0 20px rgba(0,119,255,.4)!important;}
html body .fmt-share--tw:hover{background:#000!important;border-color:#555!important;box-shadow:0 0 20px rgba(255,255,255,.18)!important;}
/* подсказка "ссылка скопирована" */
html body .fmt-share-note{position:absolute!important;bottom:-8px!important;left:50%!important;transform:translateX(-50%) translateY(6px)!important;
  color:var(--accent2)!important;font-size:.84rem!important;opacity:0!important;pointer-events:none!important;
  transition:opacity .25s ease, transform .25s ease!important;}
html body .fmt-share-note.is-on{opacity:1!important;transform:translateX(-50%) translateY(0)!important;}

/* ============================================================
   ЕДИНАЯ ШКАЛА ОТСТУПОВ (правится двумя числами)
   --fmt-gap-section  пауза между разделами
   --fmt-gap-inner    заголовок -> своя сетка -> своя кнопка
   ============================================================ */
:root{--fmt-gap-section:54px;--fmt-gap-inner:8px;--fmt-gap-cta:28px;}

/* заголовок раздела */
html body .fmt-svc-head,html body .fmt-portfolio-head,html body .fmt-proc-head{
  padding-top:var(--fmt-gap-section)!important;padding-bottom:var(--fmt-gap-inner)!important;}

/* сетка раздела: сверху прижата к заголовку, снизу без собственной отбивки */
html body .fmt-services,html body .fmt-portfolio,html body .fmt-process{
  padding-top:6px!important;padding-bottom:0!important;margin-bottom:0!important;}
html body .fmt-services .sppb-row,html body .fmt-process .sppb-row{margin-bottom:0!important;}

/* кнопка раздела: одинаковый отрыв от своей сетки везде */
html body .fmt-cta,html body .fmt-portfolio-btn{
  padding-top:var(--fmt-gap-cta)!important;padding-bottom:0!important;margin:0!important;}
html body .fmt-cta .sppb-row,html body .fmt-portfolio-btn .sppb-row{margin:0!important;}
html body .fmt-cta .sppb-addon,html body .fmt-portfolio-btn .sppb-addon{margin-bottom:0!important;}

/* следующие разделы начинаются с той же паузы */
html body .fmt-about,html body .fmt-partners{
  padding-top:var(--fmt-gap-section)!important;padding-bottom:var(--fmt-gap-section)!important;}
html body .fmt-coop{padding-top:var(--fmt-gap-cta)!important;padding-bottom:var(--fmt-gap-section)!important;}

/* Кнопки связи без заданных контактов: вид сохранён, переходов нет */
html body .fmt-cbtn.is-todo{cursor:default!important;opacity:.72!important;}
html body .fmt-cbtn.is-todo:hover{transform:none!important;box-shadow:none!important;filter:none!important;}

/* Кнопка раздела не должна упираться в границу блока */
html body .fmt-cta,html body .fmt-portfolio-btn{padding-bottom:48px!important;}

/* ---- Футер: колонки в одну линию, линия не уходит в соседнюю ---- */
html body .fmt-footer .sppb-row{align-items:flex-start!important;}
html body .fmt-footer .sppb-row > [class*="sppb-col"]{padding-top:0!important;}
html body .fmt-footer .sppb-column-addons{padding-top:0!important;}
html body .fmt-footer .sppb-addon-title,html body .fmt-footer h3,html body .fmt-footer h4{margin-top:0!important;}

/* блок сотрудничества: линия по ширине кнопок, кнопки одного размера */
html body .fmt-footer-coop{max-width:320px!important;}
html body .fmt-footer-coop .fmt-btn-row{flex-direction:column!important;align-items:stretch!important;gap:10px!important;}
html body .fmt-footer-coop .fmt-btn{width:100%!important;justify-content:flex-start!important;white-space:normal!important;text-align:left!important;}

/* ============================================================
   ФИНАЛЬНЫЕ ОТСТУПЫ (специфичность выше всех предыдущих правил)
   ============================================================ */
html body .fmt-cta.sppb-section,html body .fmt-cta,
html body .fmt-portfolio-btn.sppb-section,html body .fmt-portfolio-btn{
  padding-top:var(--fmt-gap-cta)!important;padding-bottom:48px!important;}

/* футер: одинаковый воздух сверху и снизу */
html body .fmt-footer.sppb-section,html body .fmt-footer{
  padding-top:52px!important;padding-bottom:52px!important;}
html body .fmt-footer.sppb-section .sppb-row{align-items:flex-start!important;}
html body .fmt-footer.sppb-section .sppb-row > [class*="sppb-col"]{
  padding-top:0!important;padding-bottom:0!important;}
html body .fmt-footer.sppb-section .sppb-addon{margin-top:0!important;}
/* нижний блок колонки-бренда не длиннее своих кнопок */
html body .fmt-footer.sppb-section .fmt-footer-coop{max-width:320px!important;margin-bottom:0!important;}

/* ============================================================
   ВНУТРЕННИЕ СТРАНИЦЫ: шапка раздела, форма, контакты
   ============================================================ */
html body .fmt-page-head,html body .fmt-page-head.sppb-section{padding-top:70px!important;padding-bottom:10px!important;}
html body .fmt-page-title .sppb-addon-title{font-family:var(--serif);color:var(--text);
  font-size:clamp(2rem, 1.2rem + 2.4vw, 3.4rem);margin:0 0 10px;}
html body .fmt-page-sub p{color:var(--muted);font-size:1.02rem;max-width:720px!important;margin:0 auto;}
html body .fmt-sub-title .sppb-addon-title{font-family:var(--serif);color:var(--text);
  font-size:1.35rem;margin:0 0 16px;}

html body .fmt-contact-main,html body .fmt-contact-main.sppb-section{padding-top:34px!important;padding-bottom:64px!important;}
html body .fmt-contact-side{padding-left:28px!important;}
html body .fmt-contact-info p,html body .fmt-contact-hours p{color:var(--muted);margin:0 0 8px;}
html body .fmt-contact-info .fmt-note{color:var(--accent2);font-size:.86rem;margin-top:14px;}
html body .fmt-contact-side .fmt-sub-title{margin-top:26px;}

/* форма */
html body .fmt-form{display:flex!important;flex-direction:column!important;gap:14px!important;max-width:560px!important;}
html body .fmt-field{display:flex!important;flex-direction:column!important;gap:6px!important;}
html body .fmt-field label{color:var(--muted)!important;font-size:.86rem!important;letter-spacing:.03em!important;}
html body .fmt-form input,html body .fmt-form select,html body .fmt-form textarea{
  background:var(--surface)!important;border:1px solid var(--divider)!important;border-radius:8px!important;
  color:var(--text)!important;font-family:var(--sans)!important;font-size:.96rem!important;
  padding:12px 14px!important;width:100%!important;transition:border-color .3s ease, box-shadow .3s ease!important;}
html body .fmt-form textarea{resize:vertical!important;min-height:110px!important;}
html body .fmt-form input:focus,html body .fmt-form select:focus,html body .fmt-form textarea:focus{
  outline:none!important;border-color:var(--accent)!important;box-shadow:0 0 0 3px rgba(201,162,75,.15)!important;}
html body .fmt-form button{align-self:flex-start!important;margin-top:4px!important;}
/* ловушка для ботов: не видна человеку, но и не скрыта от автозаполнения жёстко */
html body .fmt-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
html body .fmt-form-note{font-size:.92rem!important;min-height:1.2em!important;}
html body .fmt-form-note.is-ok{color:#5FBF7F!important;}
html body .fmt-form-note.is-err{color:#E07B7B!important;}

@media(max-width:991px){
  html body .fmt-contact-side{padding-left:0!important;margin-top:34px!important;}
  html body .fmt-form{max-width:none!important;}
}

/* ============================================================
   КОНТАКТЫ v2: формы-аккордеоны, карта, реквизиты
   ============================================================ */
html body .fmt-forms,html body .fmt-forms.sppb-section{padding-top:30px!important;padding-bottom:54px!important;}
html body .fmt-forms-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:22px!important;align-items:start!important;}
@media(max-width:991px){html body .fmt-forms-grid{grid-template-columns:1fr!important;}}

html body .fmt-acc{background:var(--surface)!important;border:1px solid var(--divider)!important;
  border-radius:14px!important;overflow:hidden!important;transition:border-color .3s ease, box-shadow .35s ease!important;}
html body .fmt-acc.is-open{border-color:rgba(201,162,75,.45)!important;box-shadow:0 0 30px rgba(201,162,75,.10)!important;}
html body .fmt-acc-head{width:100%!important;background:transparent!important;border:0!important;cursor:pointer!important;
  display:grid!important;grid-template-columns:1fr auto!important;gap:4px 14px!important;text-align:left!important;padding:22px 24px!important;}
html body .fmt-acc-title{grid-column:1!important;font-family:var(--serif);color:var(--text);font-size:1.25rem;}
html body .fmt-acc-sub{grid-column:1!important;color:var(--muted);font-size:.9rem;line-height:1.45;}
html body .fmt-acc-arrow{grid-column:2!important;grid-row:1 / span 2!important;align-self:center!important;
  color:var(--accent)!important;transition:transform .3s ease!important;}
html body .fmt-acc.is-open .fmt-acc-arrow{transform:rotate(180deg)!important;}
html body .fmt-acc-head:hover .fmt-acc-title{color:var(--accent2);}
html body .fmt-acc-body{display:none!important;padding:0 24px 24px!important;}
html body .fmt-acc.is-open .fmt-acc-body{display:block!important;}

/* поля с подсказками */
html body .fmt-acc .fmt-form{max-width:none!important;gap:16px!important;}
html body .fmt-field label{color:var(--text)!important;font-size:.92rem!important;font-weight:600!important;}
html body .fmt-field label b{color:var(--accent)!important;font-weight:600!important;}
html body .fmt-field .fmt-opt{color:var(--muted)!important;font-weight:400!important;}
html body .fmt-field em{color:var(--muted)!important;font-size:.8rem!important;font-style:italic!important;margin:-2px 0 2px!important;}

/* выбор способа связи */
html body .fmt-methods{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;}
html body .fmt-method{margin:0!important;}
html body .fmt-method input{position:absolute!important;opacity:0!important;width:0!important;height:0!important;}
html body .fmt-method span{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important;
  padding:12px 6px!important;border:1px solid var(--divider)!important;border-radius:10px!important;
  background:var(--bg)!important;color:var(--muted)!important;font-size:.82rem!important;cursor:pointer!important;
  transition:border-color .25s ease,color .25s ease,background .25s ease,box-shadow .3s ease!important;}
html body .fmt-method span i{font-size:1.05rem!important;}
html body .fmt-method span:hover{color:var(--text)!important;border-color:rgba(201,162,75,.45)!important;}
html body .fmt-method input:checked + span{border-color:var(--accent)!important;color:var(--accent2)!important;
  background:rgba(201,162,75,.08)!important;box-shadow:0 0 18px rgba(201,162,75,.14)!important;}
html body .fmt-method input:focus-visible + span{outline:2px solid var(--accent2)!important;outline-offset:2px!important;}

/* карта */
html body .fmt-map-block,html body .fmt-map-block.sppb-section{padding-top:44px!important;padding-bottom:54px!important;
  background:var(--surface)!important;border-top:1px solid var(--divider)!important;}
html body .fmt-map{position:relative!important;width:100%!important;aspect-ratio:16 / 7!important;min-height:300px!important;
  border:1px solid var(--divider)!important;border-radius:14px!important;overflow:hidden!important;margin-top:18px!important;}
html body .fmt-map iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;
  filter:grayscale(1) invert(.92) hue-rotate(180deg) contrast(.9)!important;}

/* реквизиты */
html body .fmt-req-block,html body .fmt-req-block.sppb-section{padding-top:48px!important;padding-bottom:56px!important;}
html body .fmt-req{max-width:760px!important;margin:6px auto 0!important;
  border:1px solid var(--divider)!important;border-radius:14px!important;overflow:hidden!important;}
html body .fmt-req-row{display:grid!important;grid-template-columns:minmax(180px,38%) 1fr!important;gap:10px!important;
  padding:13px 20px!important;border-bottom:1px solid var(--divider)!important;}
html body .fmt-req-row:last-child{border-bottom:0!important;}
html body .fmt-req-row:nth-child(odd){background:var(--surface)!important;}
html body .fmt-req-k{color:var(--muted);font-size:.9rem;}
html body .fmt-req-v{color:var(--text);font-size:.94rem;}
html body .fmt-req-wrap .fmt-note{color:var(--accent2)!important;font-size:.85rem!important;text-align:center!important;margin-top:14px!important;}
@media(max-width:600px){html body .fmt-req-row{grid-template-columns:1fr!important;gap:2px!important;}}

/* ============================================================
   КОНТАКТЫ v3: карта + реквизиты в ряд, города, модалка
   ============================================================ */
html body .fmt-mapreq,html body .fmt-mapreq.sppb-section{padding-top:30px!important;padding-bottom:50px!important;}
html body .fmt-mapreq .sppb-row{align-items:stretch!important;}
html body .fmt-mapreq-col .sppb-column,html body .fmt-mapreq-col .sppb-column-addons{
  display:flex!important;flex-direction:column!important;height:100%!important;}
/* блок под заголовком тянется на всю оставшуюся высоту, поэтому колонки равны */
html body .fmt-mapreq-col .addon-root-text_block:last-child,
html body .fmt-mapreq-col .fmt-map-wrap,html body .fmt-mapreq-col .fmt-req-wrap{
  flex:1 1 auto!important;display:flex!important;flex-direction:column!important;}
html body .fmt-mapreq .fmt-map{aspect-ratio:auto!important;flex:1 1 auto!important;min-height:340px!important;margin-top:0!important;}
html body .fmt-mapreq .fmt-req{margin-top:0!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;}
html body .fmt-mapreq .fmt-req-row{flex:1 1 auto!important;align-items:center!important;}
@media(max-width:991px){
  html body .fmt-mapreq .sppb-row{align-items:flex-start!important;}
  html body .fmt-mapreq .fmt-reqcol{margin-top:30px!important;}
  html body .fmt-mapreq .fmt-map{min-height:300px!important;}
}

/* города */
html body .fmt-cities-block,html body .fmt-cities-block.sppb-section{padding-top:46px!important;padding-bottom:52px!important;
  background:var(--surface)!important;border-top:1px solid var(--divider)!important;border-bottom:1px solid var(--divider)!important;}
html body .fmt-cities{display:flex!important;flex-wrap:wrap!important;gap:12px!important;justify-content:center!important;margin-top:20px!important;}
html body .fmt-city{display:inline-flex!important;align-items:center!important;gap:9px!important;
  background:var(--bg);border:1px solid var(--divider)!important;border-radius:10px;
  color:var(--text);font-family:var(--sans);font-size:.94rem;
  padding:12px 20px;cursor:pointer!important;
  transition:border-color .25s ease,color .25s ease,background .25s ease,box-shadow .3s ease,transform .25s ease!important;}
html body .fmt-city i{color:var(--accent);font-size:.9rem;}
html body .fmt-city:hover{border-color:var(--accent);color:var(--accent2);
  background:rgba(201,162,75,.07);box-shadow:0 0 22px rgba(201,162,75,.15);transform:translateY(-3px)!important;}
html body .fmt-city:focus-visible{outline:2px solid var(--accent2)!important;outline-offset:3px!important;}

/* модалка города */
html body .fmt-modal{position:fixed!important;inset:0!important;z-index:9999!important;
  display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;}
html body .fmt-modal[hidden]{display:none!important;}
html body .fmt-modal-back{position:absolute!important;inset:0!important;background:rgba(6,5,4,.78)!important;backdrop-filter:blur(3px)!important;}
html body .fmt-modal-box{position:relative!important;z-index:1!important;width:100%!important;max-width:480px!important;
  max-height:88vh!important;overflow-y:auto!important;background:var(--surface)!important;
  border:1px solid rgba(201,162,75,.35)!important;border-radius:16px!important;padding:30px 28px 26px!important;
  box-shadow:0 24px 70px rgba(0,0,0,.6), 0 0 40px rgba(201,162,75,.10)!important;}
html body .fmt-modal-x{position:absolute!important;top:14px!important;right:14px!important;
  width:36px!important;height:36px!important;border-radius:50%!important;background:var(--bg)!important;
  border:1px solid var(--divider)!important;color:var(--muted)!important;cursor:pointer!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  transition:color .25s ease,border-color .25s ease!important;}
html body .fmt-modal-x:hover{color:var(--accent2)!important;border-color:var(--accent)!important;}
html body .fmt-modal-h{font-family:var(--serif)!important;color:var(--text)!important;font-size:1.4rem!important;margin:0 0 6px!important;}
html body .fmt-modal-city{color:var(--accent)!important;}
html body .fmt-modal-sub{color:var(--muted)!important;font-size:.9rem!important;margin:0 0 20px!important;}
html body .fmt-modal-box .fmt-form{max-width:none!important;}

/* карточки форм одинакового размера в свёрнутом виде */
html body .fmt-forms-grid{align-items:stretch!important;}
html body .fmt-acc{height:100%!important;display:flex!important;flex-direction:column!important;}
html body .fmt-acc-head{flex:0 0 auto!important;}
html body .fmt-acc-sub{min-height:2.7em!important;}
html body .fmt-acc-body{flex:1 1 auto!important;}

/* ---- Контакты: данные слева, карта справа, квадратная карта, зазор ---- */
html body .fmt-mapreq .sppb-row{margin-left:-16px!important;margin-right:-16px!important;}
html body .fmt-mapreq .sppb-row > [class*="sppb-col"]{padding-left:16px!important;padding-right:16px!important;}
/* карта квадратная: высота равна ширине */
html body .fmt-mapreq .fmt-map{aspect-ratio:1 / 1!important;flex:0 0 auto!important;min-height:0!important;height:auto!important;}
html body .fmt-mapreq .fmt-map-wrap{flex:0 0 auto!important;}
/* таблица реквизитов растягивается под высоту карты */
html body .fmt-mapreq .fmt-reqcol .fmt-req-wrap{flex:1 1 auto!important;}
@media(max-width:991px){
  html body .fmt-mapreq .fmt-map{aspect-ratio:4 / 3!important;}
  html body .fmt-mapreq .fmt-mapcol{margin-top:30px!important;}
  html body .fmt-mapreq .fmt-reqcol{margin-top:0!important;}
}

/* ---- Мессенджеры: фирменные цвета при наведении ---- */
html body .fmt-method--tg span:hover{border-color:#229ED9!important;color:#fff!important;
  background:rgba(34,158,217,.16)!important;box-shadow:0 0 20px rgba(34,158,217,.30)!important;}
html body .fmt-method--tg span:hover i{color:#4FC3F7!important;}
html body .fmt-method--wa span:hover{border-color:#25D366!important;color:#fff!important;
  background:rgba(37,211,102,.16)!important;box-shadow:0 0 20px rgba(37,211,102,.30)!important;}
html body .fmt-method--wa span:hover i{color:#5FE49A!important;}
html body .fmt-method--call span:hover{border-color:var(--accent)!important;color:#fff!important;
  background:rgba(201,162,75,.16)!important;box-shadow:0 0 20px rgba(201,162,75,.30)!important;}
html body .fmt-method--call span:hover i{color:var(--accent2)!important;}
/* выбранная кнопка тоже в своём цвете */
html body .fmt-method--tg input:checked + span{border-color:#229ED9!important;color:#fff!important;
  background:rgba(34,158,217,.14)!important;box-shadow:0 0 18px rgba(34,158,217,.22)!important;}
html body .fmt-method--tg input:checked + span i{color:#4FC3F7!important;}
html body .fmt-method--wa input:checked + span{border-color:#25D366!important;color:#fff!important;
  background:rgba(37,211,102,.14)!important;box-shadow:0 0 18px rgba(37,211,102,.22)!important;}
html body .fmt-method--wa input:checked + span i{color:#5FE49A!important;}
html body .fmt-method--call input:checked + span{border-color:var(--accent)!important;color:var(--accent2)!important;}

/* таблица данных дотягивается до низа карты */
html body .fmt-mapreq .fmt-reqcol .fmt-req-wrap{display:flex!important;flex-direction:column!important;}
html body .fmt-mapreq .fmt-req{flex:1 1 auto!important;height:auto!important;}
html body .fmt-mapreq .fmt-req-row{flex:1 1 0!important;min-height:56px!important;}
html body .fmt-mapreq .fmt-req-wrap .fmt-note{flex:0 0 auto!important;}

/* растяжка по всей цепочке обёрток SPPB (класс addon-root-text-block, через дефисы) */
html body .fmt-mapreq .fmt-reqcol .sppb-column-addons > .sppb-addon-wrapper:last-child,
html body .fmt-mapreq .fmt-reqcol .sppb-addon-wrapper.addon-root-text-block{
  flex:1 1 auto!important;display:flex!important;flex-direction:column!important;min-height:0!important;}
html body .fmt-mapreq .fmt-reqcol .sppb-addon-wrapper > .clearfix{
  flex:1 1 auto!important;display:flex!important;flex-direction:column!important;min-height:0!important;}
html body .fmt-mapreq .fmt-reqcol .fmt-req-wrap > .sppb-addon-content{
  flex:1 1 auto!important;display:flex!important;flex-direction:column!important;min-height:0!important;}

/* ---- Отмена флекс-растяжки: она ломала высоты. Карта квадратная, данные по центру ---- */
html body .fmt-mapreq .fmt-reqcol .sppb-addon-wrapper,
html body .fmt-mapreq .fmt-reqcol .sppb-addon-wrapper.addon-root-text-block,
html body .fmt-mapreq .fmt-reqcol .sppb-addon-wrapper > .clearfix,
html body .fmt-mapreq .fmt-reqcol .fmt-req-wrap > .sppb-addon-content{
  display:block!important;flex:0 1 auto!important;min-height:auto!important;}
html body .fmt-mapreq .fmt-reqcol .fmt-req-wrap{display:block!important;flex:0 1 auto!important;}
html body .fmt-mapreq .fmt-req{display:block!important;flex:none!important;height:auto!important;}
html body .fmt-mapreq .fmt-req-row{flex:none!important;min-height:auto!important;}

/* колонки одной высоты, содержимое данных выровнено по центру напротив карты */
html body .fmt-mapreq .sppb-row{align-items:stretch!important;}
html body .fmt-mapreq .fmt-mapreq-col,
html body .fmt-mapreq .fmt-mapreq-col .sppb-column-addons{
  display:flex!important;flex-direction:column!important;height:100%!important;}
html body .fmt-mapreq .fmt-reqcol .sppb-column-addons{justify-content:center!important;}

/* карта: высота равна ширине */
html body .fmt-mapreq .fmt-map-wrap,html body .fmt-mapreq .fmt-map-wrap .sppb-addon-content{display:block!important;}
html body .fmt-mapreq .fmt-map{aspect-ratio:1 / 1!important;height:auto!important;min-height:0!important;
  flex:none!important;margin-top:0!important;}

/* заголовки колонок на одной линии, таблица данных по центру напротив карты */
html body .fmt-mapreq .fmt-reqcol .sppb-column-addons{justify-content:flex-start!important;}
html body .fmt-mapreq .fmt-reqcol .sppb-addon-wrapper.addon-root-text-block{
  margin-top:auto!important;margin-bottom:auto!important;}

/* таблица данных получает ту же пропорцию, что и карта: высоты совпадают на любой ширине */
html body .fmt-mapreq .fmt-reqcol .sppb-addon-wrapper.addon-root-text-block{margin-top:0!important;margin-bottom:0!important;}
html body .fmt-mapreq .fmt-req{aspect-ratio:1 / 1!important;display:flex!important;flex-direction:column!important;
  height:auto!important;overflow:hidden!important;}
html body .fmt-mapreq .fmt-req-row{flex:1 1 0!important;min-height:0!important;align-items:center!important;}
@media(max-width:991px){
  html body .fmt-mapreq .fmt-req{aspect-ratio:auto!important;display:block!important;}
  html body .fmt-mapreq .fmt-req-row{flex:none!important;}
}

/* ---- Свой выпадающий список: системный не поддаётся стилизации ---- */
html body .fmt-select-native{position:absolute!important;opacity:0!important;pointer-events:none!important;
  width:0!important;height:0!important;padding:0!important;border:0!important;margin:0!important;}
html body .fmt-select{position:relative!important;width:100%!important;}
html body .fmt-select-head{width:100%!important;display:flex!important;align-items:center!important;
  justify-content:space-between!important;gap:10px!important;
  background:var(--surface)!important;border:1px solid var(--divider)!important;border-radius:8px!important;
  color:var(--text)!important;font-family:var(--sans)!important;font-size:.96rem!important;
  padding:12px 14px!important;cursor:pointer!important;text-align:left!important;
  transition:border-color .25s ease, box-shadow .25s ease!important;}
html body .fmt-select-head i{color:var(--accent)!important;font-size:.8rem!important;transition:transform .25s ease!important;}
html body .fmt-select.is-open .fmt-select-head{border-color:var(--accent)!important;
  box-shadow:0 0 0 3px rgba(201,162,75,.15)!important;}
html body .fmt-select.is-open .fmt-select-head i{transform:rotate(180deg)!important;}

html body .fmt-select-list{display:none!important;position:absolute!important;z-index:50!important;
  top:calc(100% + 6px)!important;left:0!important;right:0!important;
  background:var(--bg)!important;border:1px solid rgba(201,162,75,.35)!important;border-radius:10px!important;
  padding:6px!important;box-shadow:0 18px 44px rgba(0,0,0,.55)!important;max-height:260px!important;overflow-y:auto!important;}
html body .fmt-select.is-open .fmt-select-list{display:block!important;}
html body .fmt-select-opt{display:block!important;width:100%!important;text-align:left!important;
  background:transparent!important;border:0!important;border-radius:7px!important;
  color:var(--text)!important;font-family:var(--sans)!important;font-size:.94rem!important;
  padding:10px 12px!important;cursor:pointer!important;
  transition:background .2s ease, color .2s ease!important;}
html body .fmt-select-opt:hover{background:rgba(201,162,75,.12)!important;color:var(--accent2)!important;}
html body .fmt-select-opt.is-on{background:rgba(201,162,75,.18)!important;color:var(--accent2)!important;font-weight:600!important;}

/* ---- Города: ровно два ряда на десктопе ---- */
html body .fmt-cities{display:grid!important;gap:12px!important;justify-content:stretch!important;}
@media(min-width:1200px){html body .fmt-cities{grid-template-columns:repeat(9,minmax(0,1fr))!important;}}
@media(min-width:992px) and (max-width:1199px){html body .fmt-cities{grid-template-columns:repeat(6,minmax(0,1fr))!important;}}
@media(min-width:768px) and (max-width:991px){html body .fmt-cities{grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media(max-width:767px){html body .fmt-cities{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
html body .fmt-city{width:100%!important;justify-content:center!important;padding:12px 10px;
  font-size:.9rem;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}

/* модалка всегда поверх остального (карта Google рисуется высоко) */
html body .fmt-modal{z-index:100000!important;}

/* ---- Города: равные кнопки, неполный ряд центрируется сам ---- */
html body .fmt-cities{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;
  gap:12px!important;--fmt-cols:9;}
html body .fmt-city{flex:0 0 calc((100% - (var(--fmt-cols) - 1) * 12px) / var(--fmt-cols))!important;
  max-width:calc((100% - (var(--fmt-cols) - 1) * 12px) / var(--fmt-cols))!important;
  justify-content:center!important;padding:12px 8px;font-size:.9rem;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
@media(min-width:992px) and (max-width:1199px){html body .fmt-cities{--fmt-cols:6;}}
@media(min-width:768px) and (max-width:991px){html body .fmt-cities{--fmt-cols:4;}}
@media(min-width:481px) and (max-width:767px){html body .fmt-cities{--fmt-cols:3;}}
@media(max-width:480px){html body .fmt-cities{--fmt-cols:2;}}

/* число колонок подобрано так, чтобы 17 городов не оставляли одинокую кнопку в ряду
   (17 = 9+8, 6+6+5, 5+5+5+2, 3+3+3+3+3+2) */
@media(min-width:768px) and (max-width:991px){html body .fmt-cities{--fmt-cols:5;}}
@media(min-width:481px) and (max-width:767px){html body .fmt-cities{--fmt-cols:3;}}
@media(max-width:480px){html body .fmt-cities{--fmt-cols:2;}
  html body .fmt-city{font-size:.85rem;padding:11px 6px;}}

/* ---- Футер: блок соцсетей справа, низ вровень с кнопками слева ---- */
html body .fmt-footer .sppb-row{position:relative!important;}
html body .fmt-soc-wrap{position:static!important;}
html body .fmt-footer-social{position:absolute!important;left:33.333%!important;right:0!important;bottom:0!important;
  padding-left:15px!important;padding-right:15px!important;
  display:flex!important;flex-direction:column!important;gap:10px!important;align-items:flex-start!important;}
html body .fmt-soc-h{color:var(--text);font-size:.92rem;font-weight:600;letter-spacing:.02em;}
html body .fmt-soc-row{display:flex!important;flex-wrap:wrap!important;gap:10px!important;}
html body .fmt-soc{width:40px!important;height:40px!important;border-radius:50%!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:var(--bg)!important;border:1px solid var(--divider)!important;color:var(--muted)!important;
  transition:color .3s ease,border-color .3s ease,background .3s ease,box-shadow .35s ease,transform .3s ease!important;}
html body .fmt-soc i{font-size:.95rem!important;line-height:1!important;}
html body .fmt-soc.is-todo{cursor:default!important;opacity:.75!important;}
html body .fmt-soc-note{color:var(--accent2);font-size:.78rem;}
/* фирменные цвета появятся вместе с реальными ссылками */
html body .fmt-soc--fb:hover{border-color:#1877F2!important;color:#1877F2!important;}
html body .fmt-soc--ig:hover{border-color:#DD2A7B!important;color:#DD2A7B!important;}
html body .fmt-soc--tg:hover{border-color:#229ED9!important;color:#229ED9!important;}
html body .fmt-soc--wa:hover{border-color:#25D366!important;color:#25D366!important;}
html body .fmt-soc--vk:hover{border-color:#0077FF!important;color:#0077FF!important;}
html body .fmt-soc--tw:hover{border-color:#888!important;color:#eee!important;}

@media(max-width:991px){
  html body .fmt-footer-social{position:static!important;left:auto!important;right:auto!important;
    padding:0!important;margin-top:26px!important;}
}

/* точка отсчёта для соцсетей = вся строка футера, а не колонка */
html body .fmt-footer .sppb-row{position:relative!important;}
html body .fmt-footer .sppb-column,html body .fmt-footer .sppb-column-addons{position:static!important;}
@media(max-width:991px){
  html body .fmt-footer .sppb-column,html body .fmt-footer .sppb-column-addons{position:relative!important;}
}

/* соцсети в одну строку и не наезжают на списки футера */
html body .fmt-footer-social{flex-direction:row!important;align-items:center!important;
  flex-wrap:wrap!important;gap:8px 16px!important;}
html body .fmt-soc-h{flex:0 0 auto!important;white-space:nowrap!important;}
html body .fmt-soc-row{flex:0 0 auto!important;flex-wrap:nowrap!important;}
html body .fmt-soc-note{flex:0 0 auto!important;}
/* запас под блок соцсетей, чтобы списки не упирались в него */
html body .fmt-footer .sppb-row > [class*="sppb-col"]:not(:first-child) .sppb-column-addons{
  padding-bottom:86px!important;}
@media(max-width:991px){
  html body .fmt-footer .sppb-row > [class*="sppb-col"]:not(:first-child) .sppb-column-addons{padding-bottom:0!important;}
  html body .fmt-footer-social{flex-direction:column!important;align-items:flex-start!important;}
}

/* кнопки в брендовой колонке прижаты к низу строки, чтобы совпасть с соцсетями */
@media(min-width:992px){
  html body .fmt-footer .sppb-row{align-items:stretch!important;}
  html body .fmt-footer .sppb-row > [class*="sppb-col"]:first-child,
  html body .fmt-footer .sppb-row > [class*="sppb-col"]:first-child .sppb-column,
  html body .fmt-footer .sppb-row > [class*="sppb-col"]:first-child .sppb-column-addons{
    display:flex!important;flex-direction:column!important;height:100%!important;}
  html body .fmt-footer .fmt-footer-coop{margin-top:auto!important;margin-bottom:0!important;}
}

/* перебиваем прежнее flex-start той же силой селектора и двигаем последний блок колонки вниз */
@media(min-width:992px){
  html body .fmt-footer.sppb-section .sppb-row{align-items:stretch!important;}
  html body .fmt-footer.sppb-section .sppb-row > [class*="sppb-col"]:first-child,
  html body .fmt-footer.sppb-section .sppb-row > [class*="sppb-col"]:first-child .sppb-column,
  html body .fmt-footer.sppb-section .sppb-row > [class*="sppb-col"]:first-child .sppb-column-addons{
    display:flex!important;flex-direction:column!important;height:100%!important;}
  html body .fmt-footer.sppb-section .sppb-row > [class*="sppb-col"]:first-child
    .sppb-column-addons > .sppb-addon-wrapper:last-child{margin-top:auto!important;}
}

/* адресуемся к колонке по её содержимому, а не по порядку */
@media(min-width:992px){
  html body .fmt-footer.sppb-section .sppb-row > [class*="sppb-col"]:has(.fmt-footer-coop),
  html body .fmt-footer.sppb-section .sppb-row > [class*="sppb-col"]:has(.fmt-footer-coop) .sppb-column,
  html body .fmt-footer.sppb-section .sppb-row > [class*="sppb-col"]:has(.fmt-footer-coop) .sppb-column-addons{
    display:flex!important;flex-direction:column!important;height:100%!important;align-self:stretch!important;}
  html body .fmt-footer.sppb-section .sppb-row > [class*="sppb-col"]:has(.fmt-footer-coop)
    .sppb-column-addons > .sppb-addon-wrapper:last-child{margin-top:auto!important;}
}

/* ---- Нижняя строка футера: кнопки слева, соцсети справа, низ совпадает ---- */
html body .fmt-footer-bottom,html body .fmt-footer-bottom.sppb-section{
  padding-top:34px!important;padding-bottom:0!important;background:transparent!important;border:0!important;}
html body .fmt-footer-bottom .sppb-row{align-items:flex-end!important;}
/* блок соцсетей теперь обычный, без абсолютного позиционирования */
html body .fmt-footer-bottom .fmt-footer-social{position:static!important;left:auto!important;right:auto!important;
  bottom:auto!important;padding:0!important;flex-direction:row!important;align-items:center!important;
  flex-wrap:wrap!important;gap:8px 16px!important;}
/* запас под соцсети в колонках больше не нужен */
html body .fmt-footer .sppb-row > [class*="sppb-col"]:not(:first-child) .sppb-column-addons{padding-bottom:0!important;}
@media(max-width:991px){
  html body .fmt-footer-bottom .sppb-row{align-items:flex-start!important;}
  html body .fmt-footer-bottom .fmt-fb-right{margin-top:26px!important;}
}

/* ---- Соцсети: подъём при наведении, фирменные цвета, TikTok ---- */
html body .fmt-footer-social{align-items:flex-end!important;}
html body .fmt-soc-h,html body .fmt-soc-note{align-self:flex-end!important;padding-bottom:9px;}
html body .fmt-soc-row{align-items:flex-end!important;}
/* блок чуть выше линии кнопок */
html body .fmt-footer-bottom .fmt-fb-right{padding-bottom:6px!important;}

html body .fmt-soc:hover{transform:translateY(-4px)!important;color:#fff!important;}
html body .fmt-soc--fb:hover{background:#1877F2!important;border-color:#1877F2!important;box-shadow:0 0 20px rgba(24,119,242,.40)!important;}
html body .fmt-soc--ig:hover{background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF)!important;border-color:#DD2A7B!important;box-shadow:0 0 20px rgba(221,42,123,.40)!important;}
html body .fmt-soc--tg:hover{background:#229ED9!important;border-color:#229ED9!important;box-shadow:0 0 20px rgba(34,158,217,.40)!important;}
html body .fmt-soc--wa:hover{background:#25D366!important;border-color:#25D366!important;box-shadow:0 0 20px rgba(37,211,102,.40)!important;}
html body .fmt-soc--vk:hover{background:#0077FF!important;border-color:#0077FF!important;box-shadow:0 0 20px rgba(0,119,255,.40)!important;}
html body .fmt-soc--tt:hover{background:#000!important;border-color:#25F4EE!important;color:#25F4EE!important;box-shadow:0 0 20px rgba(37,244,238,.35), 0 0 30px rgba(254,44,85,.25)!important;}
html body .fmt-soc--tw:hover{background:#000!important;border-color:#666!important;box-shadow:0 0 20px rgba(255,255,255,.20)!important;}
/* низ иконок ровно по низу кнопок связи */
html body .fmt-footer-bottom .fmt-fb-right{padding-bottom:0!important;}

/* ---- Футер: убираем наследие прежней вёрстки кнопок ---- */
html body .fmt-footer-bottom .fmt-footer-coop{
  border-top:0!important;margin-top:0!important;padding-top:0!important;max-width:none!important;}
/* нижняя строка вплотную к колонкам, без двойных отступов */
html body .fmt-footer.sppb-section{padding-bottom:12px!important;}
html body .fmt-footer-bottom,html body .fmt-footer-bottom.sppb-section{
  padding-top:6px!important;padding-bottom:44px!important;}
html body .fmt-footer-bottom .fmt-fb-left .fmt-btn-row{flex-direction:column!important;align-items:stretch!important;gap:10px!important;}
html body .fmt-footer-bottom .fmt-fb-left .fmt-btn{width:320px!important;max-width:100%!important;
  justify-content:flex-start!important;white-space:normal!important;text-align:left!important;}

/* ============================================================
   О НАС: текст и фото в шахматном порядке
   ============================================================ */
html body .fmt-ab,html body .fmt-ab.sppb-section{padding-top:46px!important;padding-bottom:46px!important;}
html body .fmt-ab .sppb-row{align-items:center!important;}
html body .fmt-ab .sppb-row > [class*="sppb-col"]{padding-left:22px!important;padding-right:22px!important;}
html body .fmt-ab-photo img{width:100%!important;height:auto!important;aspect-ratio:4 / 3;
  object-fit:cover;border-radius:14px;border:1px solid var(--divider)!important;}
html body .fmt-ab-title .sppb-addon-title{font-family:var(--serif);color:var(--text);
  font-size:clamp(1.4rem, 1rem + 1.2vw, 2.1rem);margin:0 0 14px;line-height:1.25;}
html body .fmt-ab-body p{color:var(--muted);font-size:1rem;line-height:1.75;margin:0 0 14px;}
html body .fmt-ab-body p:last-child{margin-bottom:0;}
/* чётные блоки на светлой подложке, чтобы шахматный ритм читался */
html body .fmt-ab--rev,html body .fmt-ab--rev.sppb-section{background:var(--surface)!important;
  border-top:1px solid var(--divider)!important;border-bottom:1px solid var(--divider)!important;}
@media(max-width:991px){
  html body .fmt-ab,html body .fmt-ab.sppb-section{padding-top:34px!important;padding-bottom:34px!important;}
  html body .fmt-ab .sppb-row{flex-direction:column!important;}
  /* на мобильном фото всегда над текстом, независимо от порядка колонок */
  html body .fmt-ab--rev .sppb-row{flex-direction:column-reverse!important;}
  html body .fmt-ab-text{margin-top:20px!important;}
  html body .fmt-ab--rev .fmt-ab-text{margin-top:0!important;margin-bottom:20px!important;}
}

/* ---- О нас: кнопка внутри текстового блока ---- */
html body .fmt-ab-cta{margin-top:20px!important;}
html body .fmt-btn-row--left{justify-content:flex-start!important;}
@media(max-width:991px){html body .fmt-btn-row--left{justify-content:center!important;}}

/* ---- Поделиться: кнопки сотрудничества рядом ---- */
html body .fmt-share-block .sppb-row{align-items:center!important;}
html body .fmt-share-coop .fmt-btn-row{justify-content:flex-start!important;}
html body .fmt-share-side .fmt-share{align-items:flex-end!important;}
html body .fmt-share-side .fmt-share-note{left:auto!important;right:0!important;transform:translateY(6px)!important;}
html body .fmt-share-side .fmt-share-note.is-on{transform:translateY(0)!important;}
@media(max-width:991px){
  html body .fmt-share-coop .fmt-btn-row{justify-content:center!important;}
  html body .fmt-share-side{margin-top:28px!important;}
  html body .fmt-share-side .fmt-share{align-items:center!important;}
  html body .fmt-share-side .fmt-share-note{left:50%!important;right:auto!important;transform:translateX(-50%) translateY(6px)!important;}
  html body .fmt-share-side .fmt-share-note.is-on{transform:translateX(-50%) translateY(0)!important;}
}

/* ---- О нас: крупнее шапка страницы ---- */
html body .fmt-page-title .sppb-addon-title{font-size:clamp(2.4rem, 1.4rem + 2.6vw, 4rem);}
html body .fmt-page-sub p{font-size:1.1rem;line-height:1.7;}

/* текст без кнопки крупнее и плотнее заполняет высоту фото */
html body .fmt-ab-body p{font-size:1.06rem;line-height:1.8;margin:0 0 16px;}
/* в блоке с кнопкой текст чуть меньше, чтобы кнопка влезла в высоту фото */
html body .fmt-ab-text:has(.fmt-ab-cta) .fmt-ab-body p{font-size:.98rem;line-height:1.7;}

/* ---- Кнопки и шеринг по одной нижней линии ---- */
html body .fmt-share-block .sppb-row{align-items:flex-end!important;}
html body .fmt-share-coop .fmt-btn-row{align-items:flex-end!important;margin-bottom:0!important;}
html body .fmt-share-coop .fmt-btn{padding-top:17px!important;padding-bottom:17px!important;}
html body .fmt-share-side .fmt-share{gap:10px!important;margin-bottom:0!important;}
html body .fmt-share-side .fmt-share-note{position:absolute!important;bottom:-22px!important;}

/* низ кнопок и соцсетей в футере: убираем нижний отступ аддона-обёртки */
html body .fmt-footer-bottom .sppb-row{align-items:flex-end!important;}
html body .fmt-footer-bottom .sppb-addon-wrapper,
html body .fmt-footer-bottom .sppb-addon{margin-bottom:0!important;}
html body .fmt-footer-bottom .fmt-btn-row{margin-bottom:0!important;}

/* Кнопки сотрудничества и шеринг в одну строку */
html body .fmt-share-block .sppb-row{align-items:center!important;}
html body .fmt-share-block .fmt-share-coop{flex:0 0 auto!important;max-width:none!important;width:auto!important;}
html body .fmt-share-block .fmt-share-side{flex:1 1 auto!important;max-width:none!important;width:auto!important;}
html body .fmt-share-coop .fmt-btn-row{flex-direction:row!important;flex-wrap:nowrap!important;
  align-items:center!important;gap:12px!important;}
html body .fmt-share-coop .fmt-btn{width:auto!important;max-width:none!important;flex:0 0 auto!important;
  white-space:nowrap!important;padding:14px 20px!important;font-size:.9rem!important;}
html body .fmt-share-side .fmt-share{flex-direction:row!important;align-items:center!important;
  justify-content:flex-end!important;gap:14px!important;}
html body .fmt-share-side .fmt-share-label{order:1!important;}
html body .fmt-share-side .fmt-share-row{order:2!important;}
html body .fmt-share-side .fmt-share-note{position:absolute!important;right:0!important;bottom:-22px!important;left:auto!important;}
@media(max-width:1199px){
  html body .fmt-share-block .sppb-row{flex-wrap:wrap!important;}
  html body .fmt-share-coop .fmt-btn{font-size:.85rem!important;padding:12px 14px!important;}
}
@media(max-width:991px){
  html body .fmt-share-coop .fmt-btn-row{flex-wrap:wrap!important;justify-content:center!important;}
  html body .fmt-share-side .fmt-share{justify-content:center!important;margin-top:22px!important;}
}

/* Выезжающее меню: пункты не переносятся и не обрезаются */
html body .fmt-menubar ul{flex-wrap:nowrap!important;white-space:nowrap!important;}
html body .fmt-menubar li{flex:0 0 auto!important;}
html body .fmt-menubar a{white-space:nowrap!important;}
@media(max-width:991px){
  html body .fmt-menubar ul{flex-wrap:wrap!important;white-space:normal!important;}
}

/* ============================================================
   ПОРТФОЛИО: сетка объектов и страница объекта (материалы Joomla)
   ============================================================ */
html body .com-content-category-blog{padding:56px 0 64px!important;}
html body .com-content-category-blog__items{display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:26px!important;}
html body .com-content-category-blog__item{width:100%!important;max-width:none!important;
  flex:none!important;padding:0!important;margin:0!important;}
html body .com-content-category-blog__item > *{height:100%!important;}
html body .com-content-category-blog__item .item-image,
html body .com-content-category-blog__item .item-image img{display:block!important;width:100%!important;}
html body .com-content-category-blog__item .item-image img{aspect-ratio:4 / 3;object-fit:cover;
  border-radius:14px 14px 0 0;border:1px solid var(--divider);border-bottom:0;}
html body .com-content-category-blog__item .page-header,
html body .com-content-category-blog__item h2{margin:0!important;}
html body .com-content-category-blog__item h2 a{font-family:var(--serif);color:var(--text);
  font-size:1.15rem;line-height:1.35;text-decoration:none;}
html body .com-content-category-blog__item h2 a:hover{color:var(--accent2);}
html body .com-content-category-blog__item p{color:var(--muted);font-size:.94rem;line-height:1.6;margin:8px 0 0;}
/* карточка целиком */
html body .com-content-category-blog__item{background:var(--surface)!important;
  border-radius:14px!important;overflow:hidden!important;border:1px solid var(--divider)!important;
  transition:border-color .3s ease, box-shadow .35s ease, transform .3s ease!important;}
html body .com-content-category-blog__item:hover{border-color:rgba(201,162,75,.5)!important;
  box-shadow:0 0 30px rgba(201,162,75,.12), 0 14px 34px rgba(0,0,0,.4)!important;transform:translateY(-4px)!important;}
html body .com-content-category-blog__item .item-content,
html body .com-content-category-blog__item > div:not(.item-image){padding:18px 20px 22px!important;}
html body .com-content-category-blog__item .readmore{margin-top:14px!important;}
html body .com-content-category-blog__item .readmore a{display:inline-flex;align-items:center;gap:8px;
  color:var(--accent2);text-decoration:none;font-size:.9rem;}
html body .com-content-category-blog__item .readmore a:hover{color:var(--accent);}
/* подкатегории */
html body .cat-children{margin-top:34px!important;}
html body .cat-children h3{color:var(--muted)!important;font-size:.95rem!important;}
/* страница объекта */
html body .com-content-article{padding:56px 0 64px!important;}
html body .com-content-article__body img,html body .com-content-article .item-image img{
  width:100%!important;height:auto!important;border-radius:14px;border:1px solid var(--divider);}
html body .com-content-article h1,html body .com-content-article .page-header h1{
  font-family:var(--serif);color:var(--text);}
html body .com-content-article p{color:var(--muted);line-height:1.75;}
@media(max-width:991px){html body .com-content-category-blog__items{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:600px){html body .com-content-category-blog__items{grid-template-columns:1fr!important;}}

/* ---- Портфолио: разметка Helix (.article-list > .row > .col > .article) ---- */
html body .article-list{padding-top:10px!important;}
html body .article-list .row{row-gap:26px!important;}
html body .article-list .article{height:100%!important;background:var(--surface)!important;
  border:1px solid var(--divider)!important;border-radius:14px!important;overflow:hidden!important;
  padding:0 0 20px!important;margin:0!important;
  transition:border-color .3s ease, box-shadow .35s ease, transform .3s ease!important;}
html body .article-list .article:hover{border-color:rgba(201,162,75,.5)!important;
  box-shadow:0 0 30px rgba(201,162,75,.12), 0 14px 34px rgba(0,0,0,.4)!important;transform:translateY(-4px)!important;}
html body .article-list .article-intro-image{float:none!important;width:100%!important;margin:0 0 16px!important;}
html body .article-list .article-intro-image img{width:100%!important;height:auto!important;
  aspect-ratio:4 / 3;object-fit:cover;border-radius:0!important;border:0!important;}
html body .article-list .article-header,
html body .article-list .article-body,
html body .article-list .article-footer,
html body .article-list .readmore{padding-left:20px!important;padding-right:20px!important;}
html body .article-list .article-header h2{margin:0 0 8px!important;}
html body .article-list .article-header h2 a{font-family:var(--serif);color:var(--text);
  font-size:1.12rem;line-height:1.35;text-decoration:none;}
html body .article-list .article-header h2 a:hover{color:var(--accent2);}
html body .article-list .article-body p,html body .article-list .article-introtext p{
  color:var(--muted);font-size:.93rem;line-height:1.6;margin:0;}
html body .article-list .readmore a,html body .article-list .btn{display:inline-flex!important;align-items:center;gap:8px;
  background:transparent!important;border:1px solid var(--divider)!important;border-radius:8px!important;
  color:var(--accent2)!important;font-size:.86rem!important;padding:9px 16px!important;margin-top:14px!important;
  text-decoration:none!important;transition:border-color .25s ease,color .25s ease,background .25s ease!important;}
html body .article-list .readmore a:hover,html body .article-list .btn:hover{
  border-color:var(--accent)!important;background:rgba(201,162,75,.08)!important;color:#fff!important;}

/* карточки портфолио: перебиваем более точные правила шаблона */
html body #sp-component .article-list .article,
html body .sp-page-builder .article-list .article,
html body div.article-list div.article{
  background:var(--surface)!important;border:1px solid var(--divider)!important;
  border-radius:14px!important;overflow:hidden!important;padding:0 0 20px!important;height:100%!important;}
html body #sp-component .article-list .article:hover,
html body div.article-list div.article:hover{border-color:rgba(201,162,75,.5)!important;
  box-shadow:0 0 30px rgba(201,162,75,.12), 0 14px 34px rgba(0,0,0,.4)!important;transform:translateY(-4px)!important;}
html body #sp-component .article-list .article-intro-image img,
html body div.article-list .article-intro-image img{border-radius:0!important;}

/* ============================================================
   ГАЛЕРЕЯ ОБЪЕКТА И ПРОСМОТРЩИК ФОТО
   ============================================================ */
html body .fmt-obj-h{font-family:var(--serif);color:var(--text);font-size:1.4rem;margin:34px 0 16px;}
html body .fmt-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;
  background:var(--divider);border:1px solid var(--divider);border-radius:14px;overflow:hidden;}
html body .fmt-spec{background:var(--surface);padding:14px 18px;display:flex;flex-direction:column;gap:4px;}
html body .fmt-spec--wide{grid-column:1 / -1;}
html body .fmt-spec-k{color:var(--muted);font-size:.82rem;letter-spacing:.03em;text-transform:uppercase;}
html body .fmt-spec-v{color:var(--text);font-size:.98rem;}
@media(max-width:767px){html body .fmt-specs{grid-template-columns:1fr;}}

html body .fmt-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
html body .fmt-gallery a{display:block;position:relative;overflow:hidden;border-radius:12px;
  border:1px solid var(--divider);cursor:zoom-in;}
html body .fmt-gallery img{width:100%;height:100%;aspect-ratio:4 / 3;object-fit:cover;display:block;
  transition:transform .45s ease, filter .35s ease;}
html body .fmt-gallery a:hover img{transform:scale(1.05);filter:brightness(1.05);}
html body .fmt-gallery a:hover{border-color:rgba(201,162,75,.5);box-shadow:0 0 24px rgba(201,162,75,.14);}
@media(max-width:767px){html body .fmt-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}}

/* просмотрщик */
html body .fmt-lb{position:fixed!important;inset:0!important;z-index:100001!important;
  display:flex!important;align-items:center!important;justify-content:center!important;padding:40px 60px!important;}
html body .fmt-lb[hidden]{display:none!important;}
html body .fmt-lb-back{position:absolute;inset:0;background:rgba(6,5,4,.92);backdrop-filter:blur(4px);}
html body .fmt-lb-fig{position:relative;z-index:1;margin:0;max-width:100%;max-height:100%;
  display:flex;flex-direction:column;align-items:center;gap:12px;}
html body .fmt-lb-fig img{max-width:100%;max-height:78vh;width:auto;height:auto;
  border-radius:12px;border:1px solid rgba(201,162,75,.3);box-shadow:0 30px 80px rgba(0,0,0,.7);}
html body .fmt-lb-fig figcaption{color:var(--muted);font-size:.9rem;text-align:center;}
html body .fmt-lb-x,html body .fmt-lb-prev,html body .fmt-lb-next{position:absolute;z-index:2;
  width:46px;height:46px;border-radius:50%;background:rgba(26,23,20,.9);border:1px solid var(--divider);
  color:var(--text);cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:color .25s ease,border-color .25s ease,background .25s ease;}
html body .fmt-lb-x:hover,html body .fmt-lb-prev:hover,html body .fmt-lb-next:hover{
  color:var(--accent2);border-color:var(--accent);background:rgba(201,162,75,.12);}
html body .fmt-lb-x{top:20px;right:20px;}
html body .fmt-lb-prev{left:16px;top:50%;transform:translateY(-50%);}
html body .fmt-lb-next{right:16px;top:50%;transform:translateY(-50%);}
html body .fmt-lb-count{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);z-index:2;
  color:var(--muted);font-size:.85rem;letter-spacing:.05em;}
@media(max-width:600px){
  html body .fmt-lb{padding:20px 12px!important;}
  html body .fmt-lb-prev{left:6px;} html body .fmt-lb-next{right:6px;}
}

/* ---- Портфолио: фильтр категорий над сеткой ---- */
html body .fmt-pfilter{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;
  margin:0 0 30px;padding-bottom:26px;border-bottom:1px solid var(--divider);}
html body .fmt-pbtn{background:var(--surface);border:1px solid var(--divider);border-radius:9px;
  color:var(--muted);font-family:var(--sans);font-size:.92rem;padding:11px 20px;cursor:pointer;
  transition:color .25s ease,border-color .25s ease,background .25s ease,box-shadow .3s ease;}
html body .fmt-pbtn:hover{color:var(--text);border-color:rgba(201,162,75,.45);}
html body .fmt-pbtn.is-on{color:#171310;background:var(--accent);border-color:var(--accent);
  font-weight:600;box-shadow:0 0 20px rgba(201,162,75,.25);}
html body .fmt-pbtn:focus-visible{outline:2px solid var(--accent2);outline-offset:3px;}
html body .com-content-category-blog__children,html body .cat-children{display:none!important;}
@media(max-width:600px){html body .fmt-pbtn{font-size:.85rem;padding:9px 14px;}}

/* ============================================================
   PHOCA GALLERY под тёмную тему: карточки объектов как в портфолио
   ============================================================ */
html body .pg-categories-view,html body .pg-category-view{padding:50px 0 60px!important;}
/* лишние элементы стандартного вывода */
html body .pg-feed-icon,html body a[href*="format=feed"],
html body .pg-categories-view > div[style*="text-align:right"],
html body .pg-powered,html body .ph-powered{display:none!important;}

/* сетка альбомов */
html body .pg-cv-box,html body .pg-categories-box{display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;
  float:none!important;width:100%!important;}
html body .pg-cv-box > div,html body .pg-category-box{float:none!important;width:auto!important;
  margin:0!important;padding:0!important;}

/* карточка альбома */
html body .pg-category-box-image,html body .pg-cv-box-image{position:relative!important;
  width:100%!important;height:auto!important;margin:0!important;padding:0!important;
  border:1px solid var(--divider)!important;border-radius:14px!important;overflow:hidden!important;
  background:var(--surface)!important;
  transition:border-color .3s ease, box-shadow .35s ease, transform .3s ease!important;}
html body .pg-category-box-image:hover,html body .pg-cv-box-image:hover{
  border-color:rgba(201,162,75,.5)!important;
  box-shadow:0 0 30px rgba(201,162,75,.14), 0 16px 38px rgba(0,0,0,.45)!important;
  transform:translateY(-4px)!important;}
html body .pg-category-box-image a{display:block!important;position:relative!important;}
html body .pg-category-box-image img,html body .pg-cv-box-image img{width:100%!important;height:auto!important;
  aspect-ratio:4 / 3;object-fit:cover;display:block!important;border:0!important;border-radius:0!important;
  transition:transform .5s ease!important;}
html body .pg-category-box-image:hover img{transform:scale(1.05)!important;}
/* затемнение под подпись */
html body .pg-category-box-image a::after{content:"";position:absolute;inset:0;
  background:linear-gradient(to top, rgba(10,9,7,.92) 0%, rgba(10,9,7,.55) 32%, rgba(10,9,7,0) 62%);
  pointer-events:none;}
/* название альбома поверх фото */
html body .pg-category-box-name,html body .pg-cv-box-name{position:absolute!important;
  left:0!important;right:0!important;bottom:0!important;z-index:2!important;
  padding:18px 20px!important;margin:0!important;background:transparent!important;
  font-family:var(--serif)!important;color:#fff!important;font-size:1.05rem!important;line-height:1.35!important;
  text-align:left!important;}
html body .pg-category-box-name a{color:#fff!important;text-decoration:none!important;}
html body .pg-category-box-image:hover .pg-category-box-name a{color:var(--accent2)!important;}
/* счётчик снимков */
html body .pg-category-box-count,html body .pg-cv-box-count{position:absolute!important;
  top:14px!important;left:14px!important;z-index:2!important;
  background:rgba(10,9,7,.75)!important;border:1px solid rgba(201,162,75,.4)!important;
  border-radius:20px!important;padding:5px 12px!important;
  color:var(--accent2)!important;font-size:.78rem!important;letter-spacing:.05em!important;}
/* иконку папки убираем, она из светлой темы */
html body .pg-category-box-name .ph-si-folder,html body .pg-category-box-name svg.ph-si{display:none!important;}
/* описание альбома */
html body .pg-category-box-desc{position:relative!important;z-index:2!important;padding:0 20px 18px!important;
  color:var(--muted)!important;font-size:.9rem!important;line-height:1.55!important;}

/* страница альбома: сетка снимков */
html body .pg-detail-box,html body .pg-images-box{display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;}
html body .pg-box-image,html body .pg-image-box{float:none!important;width:auto!important;margin:0!important;
  border:1px solid var(--divider)!important;border-radius:12px!important;overflow:hidden!important;
  transition:border-color .3s ease, box-shadow .3s ease!important;}
html body .pg-box-image:hover{border-color:rgba(201,162,75,.5)!important;
  box-shadow:0 0 22px rgba(201,162,75,.14)!important;}
html body .pg-box-image img{width:100%!important;height:auto!important;aspect-ratio:4 / 3;object-fit:cover;
  display:block!important;border:0!important;}

@media(max-width:991px){
  html body .pg-cv-box,html body .pg-categories-box,
  html body .pg-detail-box,html body .pg-images-box{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:600px){
  html body .pg-cv-box,html body .pg-categories-box,
  html body .pg-detail-box,html body .pg-images-box{grid-template-columns:1fr!important;}
}

/* ---- Phoca: карточка альбома по фактической разметке ---- */
html body .pg-category-box{position:relative!important;margin:0!important;padding:0!important;
  border:1px solid var(--divider)!important;border-radius:14px!important;overflow:hidden!important;
  background:var(--surface)!important;
  transition:border-color .3s ease, box-shadow .35s ease, transform .3s ease!important;}
html body .pg-category-box:hover{border-color:rgba(201,162,75,.5)!important;
  box-shadow:0 0 30px rgba(201,162,75,.14), 0 16px 38px rgba(0,0,0,.45)!important;
  transform:translateY(-4px)!important;}
html body .pg-category-box .pg-category-box-image{border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;transform:none!important;margin:0!important;}
html body .pg-category-box .pg-category-box-image a{display:block!important;position:relative!important;}
html body .pg-category-box .pg-category-box-image a::after{content:""!important;position:absolute!important;
  inset:0!important;pointer-events:none!important;
  background:linear-gradient(to top, rgba(10,9,7,.94) 0%, rgba(10,9,7,.6) 34%, rgba(10,9,7,0) 66%)!important;}
html body .pg-category-box .pg-category-box-image img{width:100%!important;height:auto!important;
  aspect-ratio:4 / 3!important;object-fit:cover!important;display:block!important;
  border:0!important;border-radius:0!important;transition:transform .5s ease!important;}
html body .pg-category-box:hover .pg-category-box-image img{transform:scale(1.05)!important;}

/* подпись поверх фото */
html body .pg-category-box .pg-category-box-info{position:absolute!important;left:0!important;right:0!important;
  bottom:0!important;z-index:2!important;padding:18px 20px!important;margin:0!important;background:transparent!important;}
html body .pg-category-box .pg-category-box-title{margin:0!important;display:flex!important;
  align-items:baseline!important;gap:8px!important;flex-wrap:wrap!important;}
html body .pg-category-box .pg-category-box-title svg{display:none!important;}
html body .pg-category-box .pg-category-box-title a{font-family:var(--serif)!important;color:#fff!important;
  font-size:1.05rem!important;line-height:1.35!important;text-decoration:none!important;}
html body .pg-category-box:hover .pg-category-box-title a{color:var(--accent2)!important;}
/* счётчик снимков уголком */
html body .pg-category-box .pg-category-box-count{position:absolute!important;top:-190px!important;left:0!important;
  background:rgba(10,9,7,.78)!important;border:1px solid rgba(201,162,75,.45)!important;border-radius:20px!important;
  padding:5px 12px!important;color:var(--accent2)!important;font-size:.76rem!important;letter-spacing:.04em!important;}

/* счётчик снимков рядом с названием, без жёстких смещений */
html body .pg-category-box .pg-category-box-count{position:static!important;top:auto!important;left:auto!important;
  display:inline-flex!important;align-items:center!important;
  background:rgba(201,162,75,.16)!important;border:1px solid rgba(201,162,75,.45)!important;
  border-radius:20px!important;padding:3px 10px!important;
  color:var(--accent2)!important;font-size:.74rem!important;letter-spacing:.04em!important;
  white-space:nowrap!important;}

/* ---- Портфолио: шапка раздела и промежутки между карточками ---- */
html body .fmt-phead{text-align:center;padding:56px 0 6px;}
html body .fmt-phead-title{font-family:var(--serif);color:var(--text);
  font-size:clamp(2.4rem, 1.4rem + 2.6vw, 4rem);margin:0 0 12px;}
html body .fmt-phead-sub{color:var(--muted);font-size:1.1rem;line-height:1.7;
  max-width:720px;margin:0 auto 26px;}
html body .fmt-phead .fmt-pfilter{margin-bottom:8px;padding-bottom:0;border-bottom:0;}

/* промежутки между альбомами: у Phoca они выставлены в разметке */
html body .pg-category-box{margin:0 0 26px!important;}
html body .pg-cv-box,html body .pg-categories-box,
html body div[class*="pg-cv"],html body .pg-categories-view .row{gap:26px!important;}
html body .pg-categories-view [class*="col-"]{padding-left:13px!important;padding-right:13px!important;}
/* служебный счётчик страниц Phoca над сеткой */
html body .pg-categories-view > .pg-pagination-counter,
html body .pg-categories-view > div:first-child:not([class]){display:none!important;}

/* сетка альбомов Phoca: контейнер .pg-categories-items-box */
html body .pg-categories-items-box{display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:26px!important;
  align-items:start!important;}
html body .pg-categories-items-box .pg-category-box{margin:0!important;width:auto!important;}
@media(max-width:991px){html body .pg-categories-items-box{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:600px){html body .pg-categories-items-box{grid-template-columns:1fr!important;}}

/* ---- Страница альбома: описание, кнопка возврата, подпись Phoca ---- */
/* подпись разработчика галереи */
html body .pg-category-view > div[style*="text-align:right"],
html body .pg-categories-view > div[style*="text-align:right"]{display:none!important;}

/* описание объекта карточкой над снимками */
html body .pg-category-desc{background:var(--surface)!important;border:1px solid var(--divider)!important;
  border-radius:14px!important;padding:24px 26px!important;margin:0 0 26px!important;}
html body .pg-category-desc p{color:var(--muted)!important;font-size:1rem!important;line-height:1.75!important;
  margin:0 0 12px!important;}
html body .pg-category-desc p:last-child{margin-bottom:0!important;}
html body .pg-category-desc h2,html body .pg-category-desc h3{font-family:var(--serif)!important;
  color:var(--text)!important;margin:0 0 12px!important;}
html body .pg-category-desc table{width:100%!important;border-collapse:collapse!important;}
html body .pg-category-desc td{padding:10px 0!important;border-bottom:1px solid var(--divider)!important;
  color:var(--muted)!important;font-size:.95rem!important;}
html body .pg-category-desc td:last-child{color:var(--text)!important;text-align:right!important;}

/* кнопка возврата в галерею */
html body .pg-back-button,html body [class*="pg-back"],
html body .pg-category-view a.btn,html body .pg-categories-view a.btn{
  display:inline-flex!important;align-items:center!important;gap:9px!important;
  background:transparent!important;border:1px solid var(--divider)!important;border-radius:9px!important;
  color:var(--accent2)!important;font-size:.9rem!important;padding:11px 20px!important;
  text-decoration:none!important;margin:0 0 22px!important;
  transition:border-color .25s ease,background .25s ease,color .25s ease!important;}
html body .pg-back-button:hover,html body [class*="pg-back"]:hover,
html body .pg-category-view a.btn:hover{border-color:var(--accent)!important;
  background:rgba(201,162,75,.08)!important;color:#fff!important;}

/* сетка снимков внутри альбома */
html body .pg-category-items-box,html body .pg-msnr-container{display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;}
html body .pg-msnr-container > div{width:auto!important;margin:0!important;position:static!important;}
@media(max-width:991px){html body .pg-category-items-box,html body .pg-msnr-container{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:600px){html body .pg-category-items-box,html body .pg-msnr-container{grid-template-columns:1fr!important;}}

/* ---- Портфолио: что показывать на списке, а что на странице альбома ---- */
/* список альбомов: заголовок и фильтр, без ссылки возврата */
html body.view-categories .fmt-pback{display:none!important;}
/* страница альбома: только ссылка возврата */
html body.view-category .fmt-phead-title,
html body.view-category .fmt-phead-sub,
html body.view-category .fmt-pfilter{display:none!important;}
html body.view-category .fmt-phead{text-align:left!important;padding:34px 0 0!important;}
html body .fmt-pback{display:inline-flex!important;align-items:center!important;gap:9px!important;
  background:transparent!important;border:1px solid var(--divider)!important;border-radius:9px!important;
  color:var(--accent2)!important;font-size:.9rem!important;padding:11px 20px!important;
  text-decoration:none!important;
  transition:border-color .25s ease,background .25s ease,color .25s ease,transform .25s ease!important;}
html body .fmt-pback:hover{border-color:var(--accent)!important;background:rgba(201,162,75,.08)!important;
  color:#fff!important;transform:translateX(-3px)!important;}

/* ---- Карточка альбома: заголовок и описание друг под другом ---- */
html body .pg-categories-view > .pg-categories-desc{display:none!important;}

html body .pg-category-box .pg-category-box-info{display:flex!important;flex-direction:column!important;
  gap:6px!important;padding:16px 20px 18px!important;}
html body .pg-category-box .pg-category-box-title{display:flex!important;align-items:center!important;
  gap:8px!important;flex-wrap:nowrap!important;min-width:0!important;}
html body .pg-category-box .pg-category-box-title a{overflow:hidden!important;text-overflow:ellipsis!important;
  white-space:nowrap!important;min-width:0!important;}
html body .pg-category-box .pg-category-box-count{flex:0 0 auto!important;}
/* описание: две строки, дальше многоточие */
html body .pg-category-box .pg-category-box-description{margin:0!important;
  color:rgba(237,230,218,.82)!important;font-size:.88rem!important;line-height:1.5!important;
  display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;}
html body .pg-category-box .pg-category-box-description p{margin:0!important;color:inherit!important;
  font-size:inherit!important;line-height:inherit!important;}
/* затемнение выше, чтобы читались обе строки */
html body .pg-category-box .pg-category-box-image a::after{
  background:linear-gradient(to top, rgba(10,9,7,.96) 0%, rgba(10,9,7,.78) 30%, rgba(10,9,7,.28) 55%, rgba(10,9,7,0) 78%)!important;}

/* описание в карточке: возвращаем в поток, у Phoca оно абсолютное */
html body .pg-category-box .pg-category-box-info .pg-category-box-description{
  position:static!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  width:auto!important;height:auto!important;max-height:none!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
  overflow:hidden!important;margin:0!important;padding:0!important;background:transparent!important;}

/* заголовок карточки тоже был абсолютным: возвращаем в поток */
html body .pg-category-box .pg-category-box-info .pg-category-box-title{
  position:static!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
  width:auto!important;height:auto!important;margin:0!important;}
html body .pg-category-box .pg-category-box-info .pg-category-box-description{display:block!important;
  max-height:2.9em!important;}

/* ---- Страница альбома: заголовок, без служебных плиток и подписей ---- */
html body .fmt-album-title{font-family:var(--serif);color:var(--text);
  font-size:clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem);margin:0 0 20px;}
/* встроенная плитка возврата и подписи снимков */
html body .pg-item-box:has(.ph-si-back-medium),
html body .pg-item-box:has(svg[alt="Back"]){display:none!important;}
html body .pg-item-box-title{display:none!important;}
/* кнопки поверх снимка (лупа и скачивание) не нужны */
html body .pg-photoswipe-button-copy,html body .pg-item-box-buttons{display:none!important;}

/* ---- Альбом: все снимки одного размера ---- */
html body .pg-msnr-container .pg-item-box img{width:100%!important;height:auto!important;
  aspect-ratio:4 / 3!important;object-fit:cover!important;display:block!important;max-width:none!important;}
html body .pg-msnr-container .pg-item-box{border:1px solid var(--divider)!important;border-radius:12px!important;
  overflow:hidden!important;transition:border-color .3s ease, box-shadow .3s ease, transform .3s ease!important;}
html body .pg-msnr-container .pg-item-box:hover{border-color:rgba(201,162,75,.5)!important;
  box-shadow:0 0 24px rgba(201,162,75,.14)!important;transform:translateY(-3px)!important;}

/* заголовок объекта не дублируется в карточке списка */
html body .pg-category-box .pg-category-box-description h2,
html body .pg-category-box .pg-category-box-description h3{display:none!important;}

/* ---- Портфолио: кнопка заказа и шеринг ---- */
html body .fmt-pactions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  justify-content:space-between!important;gap:18px!important;
  padding:26px 0 6px!important;margin-top:26px!important;border-top:1px solid var(--divider)!important;}
html body .fmt-pactions .fmt-btn-row{margin:0!important;}
html body .fmt-pactions .fmt-share{flex-direction:row!important;align-items:center!important;gap:14px!important;
  position:relative!important;}
html body .fmt-pactions .fmt-share-note{position:absolute!important;right:0!important;bottom:-22px!important;left:auto!important;}
/* какая кнопка где показывается */
html body.view-categories .fmt-only-album{display:none!important;}
html body.view-category .fmt-only-list{display:none!important;}
/* на списке блок действий идёт после сетки, внутри альбома тоже */
html body .fmt-phead + .fmt-pactions{margin-top:0!important;}
@media(max-width:767px){
  html body .fmt-pactions{flex-direction:column!important;align-items:stretch!important;}
  html body .fmt-pactions .fmt-share{justify-content:center!important;}
}

/* ============================================================
   ФУТЕР САЙТА (модуль, одинаковый на всех страницах)
   Своя вёрстка, не зависит от стилей конструктора.
   ============================================================ */
html body .fmt-ft{background:var(--bg);border-top:1px solid var(--divider);
  padding:56px 0 28px;margin-top:0;}
html body .fmt-ft-inner{width:100%;max-width:1290px;margin:0 auto;padding:0 15px;}

/* верхняя часть: бренд и три колонки */
html body .fmt-ft-top{display:grid;grid-template-columns:2fr 1fr 1.4fr 1.2fr;gap:30px;align-items:start;}
html body .fmt-ft-logo{font-family:var(--serif);color:var(--accent);font-size:1.9rem;line-height:1;margin-bottom:14px;}
html body .fmt-ft-tagline{color:var(--muted);font-size:.95rem;line-height:1.65;margin:0;max-width:330px;}
html body .fmt-ft-h{font-family:var(--serif);color:var(--text);font-size:1.05rem;margin:0 0 14px;}
html body .fmt-ft-list{list-style:none;margin:0;padding:0;}
html body .fmt-ft-list li{margin:0 0 9px;}
html body .fmt-ft-list a{color:var(--muted);font-size:.93rem;text-decoration:none;
  transition:color .25s ease;}
html body .fmt-ft-list a:hover{color:var(--accent2);}
html body .fmt-ft-plain li{color:var(--muted);font-size:.93rem;}

/* нижняя часть: кнопки слева, соцсети справа, низы совпадают */
html body .fmt-ft-bottom{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;
  gap:24px;margin-top:38px;padding-top:26px;border-top:1px solid var(--divider);}
html body .fmt-ft-actions{display:flex;flex-direction:column;gap:10px;}
html body .fmt-ft-btn{display:inline-flex;align-items:center;gap:10px;width:320px;max-width:100%;
  background:transparent;border:1px solid var(--divider);border-radius:9px;
  color:var(--text);font-family:var(--sans);font-size:.9rem;padding:13px 18px;
  text-decoration:none;transition:border-color .25s ease,background .25s ease,color .25s ease;}
html body .fmt-ft-btn i{color:var(--accent);font-size:1rem;}
html body .fmt-ft-btn:hover{border-color:var(--accent);background:rgba(201,162,75,.07);color:var(--accent2);}

html body .fmt-ft-social{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;position:relative;}
html body .fmt-ft-soc-h{color:var(--text);font-size:.92rem;font-weight:600;white-space:nowrap;}
html body .fmt-ft-soc-row{display:flex;gap:10px;}
html body .fmt-ft-soc{width:40px;height:40px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--surface);border:1px solid var(--divider);color:var(--muted);opacity:.78;cursor:default;
  transition:color .3s ease,border-color .3s ease,background .3s ease,box-shadow .35s ease,transform .3s ease;}
html body .fmt-ft-soc i{font-size:.95rem;line-height:1;}
html body .fmt-ft-soc:hover{transform:translateY(-4px);color:#fff;opacity:1;}
html body .fmt-ft-soc--fb:hover{background:#1877F2;border-color:#1877F2;box-shadow:0 0 20px rgba(24,119,242,.4);}
html body .fmt-ft-soc--ig:hover{background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF);border-color:#DD2A7B;box-shadow:0 0 20px rgba(221,42,123,.4);}
html body .fmt-ft-soc--tg:hover{background:#229ED9;border-color:#229ED9;box-shadow:0 0 20px rgba(34,158,217,.4);}
html body .fmt-ft-soc--wa:hover{background:#25D366;border-color:#25D366;box-shadow:0 0 20px rgba(37,211,102,.4);}
html body .fmt-ft-soc--vk:hover{background:#0077FF;border-color:#0077FF;box-shadow:0 0 20px rgba(0,119,255,.4);}
html body .fmt-ft-soc--tt:hover{background:#000;border-color:#25F4EE;color:#25F4EE;box-shadow:0 0 20px rgba(37,244,238,.35);}
html body .fmt-ft-soc--tw:hover{background:#000;border-color:#666;box-shadow:0 0 20px rgba(255,255,255,.2);}
html body .fmt-ft-soc-note{color:var(--accent2);font-size:.78rem;white-space:nowrap;}

html body .fmt-ft-copy{margin-top:26px;padding-top:20px;border-top:1px solid var(--divider);
  color:var(--muted);font-size:.84rem;text-align:center;}

@media(max-width:991px){
  html body .fmt-ft-top{grid-template-columns:1fr 1fr;gap:26px;}
  html body .fmt-ft-brand{grid-column:1 / -1;}
  html body .fmt-ft-bottom{flex-direction:column;align-items:stretch;}
  html body .fmt-ft-social{justify-content:center;}
  html body .fmt-ft-btn{width:100%;}
}
@media(max-width:600px){
  html body .fmt-ft-top{grid-template-columns:1fr;}
  html body .fmt-ft-soc-row{flex-wrap:wrap;justify-content:center;}
}

/* ---- Футер: плотнее, это подвал, а не раздел ---- */
html body .fmt-ft{padding:32px 0 16px;}
html body .fmt-ft-top{gap:22px;}
html body .fmt-ft-logo{font-size:1.55rem;margin-bottom:8px;}
html body .fmt-ft-tagline{font-size:.88rem;line-height:1.5;}
html body .fmt-ft-h{font-size:.98rem;margin:0 0 9px;}
html body .fmt-ft-list li{margin:0 0 4px;}
html body .fmt-ft-list a,html body .fmt-ft-plain li{font-size:.88rem;line-height:1.45;}
html body .fmt-ft-bottom{margin-top:22px;padding-top:16px;gap:16px;}
html body .fmt-ft-actions{gap:8px;}
html body .fmt-ft-btn{padding:10px 16px;font-size:.86rem;}
html body .fmt-ft-soc{width:34px;height:34px;}
html body .fmt-ft-soc i{font-size:.85rem;}
html body .fmt-ft-soc-h{font-size:.88rem;}
html body .fmt-ft-soc-note{font-size:.74rem;}
html body .fmt-ft-copy{margin-top:16px;padding-top:12px;font-size:.8rem;}
/* строки в колонках футера плотнее */
html body .fmt-ft-list li{margin:0 0 2px;}
html body .fmt-ft-list a,html body .fmt-ft-plain li{line-height:1.35;}
html body .fmt-ft{padding:26px 0 14px;}

/* ---- Футер одним блоком: кнопки под брендом, соцсети под контактами ---- */
html body .fmt-ft-top{grid-template-columns:1.7fr 1fr 1.35fr 1.15fr;align-items:start;}
html body .fmt-ft-actions{margin-top:16px;gap:8px;}
html body .fmt-ft-btn{width:100%;max-width:300px;}
html body .fmt-ft-social{display:block;margin-top:20px;}
html body .fmt-ft-soc-h{display:block;margin-bottom:9px;}
html body .fmt-ft-soc-row{flex-wrap:wrap;gap:8px;}
html body .fmt-ft-soc-note{display:block;margin-top:9px;white-space:normal;}
/* отдельной нижней полосы больше нет */
html body .fmt-ft-bottom{display:none;}
html body .fmt-ft-copy{margin-top:22px;padding-top:14px;}
@media(max-width:991px){
  html body .fmt-ft-btn{max-width:none;}
}

/* ---- Отступ контента от шапки: у шаблона было 100px ---- */
html body #sp-main-body{padding-top:18px!important;padding-bottom:0!important;}
/* шапка раздела портфолио */
html body .fmt-phead{padding-top:26px!important;}
html body.view-category .fmt-phead{padding-top:20px!important;}
/* шапки страниц конструктора */
html body .fmt-page-head,html body .fmt-page-head.sppb-section{padding-top:34px!important;}

/* ============================================================
   БЛОГ: список статей шахматкой (фото и текст чередуются)
   ============================================================ */
html body .blog .article-list .article,
html body .com-content-category-blog .article-list .article{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:32px!important;align-items:center!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  padding:34px 0!important;margin:0!important;border-bottom:1px solid var(--divider)!important;}
html body .blog .article-list .article:hover{transform:none!important;box-shadow:none!important;}
/* чётные: фото справа */
html body .blog .article-list .article:nth-child(even) .article-intro-image{order:2!important;}
html body .blog .article-list .article:nth-child(even) .article-header,
html body .blog .article-list .article:nth-child(even) .article-body,
html body .blog .article-list .article:nth-child(even) .article-introtext,
html body .blog .article-list .article:nth-child(even) .readmore{order:1!important;}

html body .blog .article-intro-image{float:none!important;width:100%!important;margin:0!important;
  grid-row:span 4!important;}
html body .blog .article-intro-image img{width:100%!important;height:auto!important;
  aspect-ratio:4 / 3!important;object-fit:cover!important;border-radius:14px!important;
  border:1px solid var(--divider)!important;transition:transform .5s ease!important;}
html body .blog .article-list .article:hover .article-intro-image img{transform:scale(1.03)!important;}

html body .blog .article-header{padding:0!important;margin:0!important;}
html body .blog .article-header h2{margin:0 0 10px!important;}
html body .blog .article-header h2 a{font-family:var(--serif)!important;color:var(--text)!important;
  font-size:clamp(1.3rem, 1rem + 1vw, 1.9rem)!important;line-height:1.3!important;text-decoration:none!important;}
html body .blog .article-header h2 a:hover{color:var(--accent2)!important;}
html body .blog .article-info{margin:0 0 10px!important;padding:0!important;}
html body .blog .article-info,html body .blog .article-info time,
html body .blog .published{color:var(--muted)!important;font-size:.84rem!important;}
html body .blog .article-introtext p,html body .blog .article-body p{
  color:var(--muted)!important;font-size:1rem!important;line-height:1.7!important;margin:0 0 12px!important;}
html body .blog .readmore{margin:14px 0 0!important;padding:0!important;}
html body .blog .readmore a,html body .blog .readmore .btn{display:inline-flex!important;align-items:center!important;
  gap:9px!important;background:transparent!important;border:1px solid var(--divider)!important;border-radius:9px!important;
  color:var(--accent2)!important;font-size:.9rem!important;padding:11px 20px!important;text-decoration:none!important;
  transition:border-color .25s ease,background .25s ease,color .25s ease!important;}
html body .blog .readmore a:hover{border-color:var(--accent)!important;background:rgba(201,162,75,.08)!important;color:#fff!important;}

/* страница статьи */
html body .com-content-article{padding:10px 0 60px!important;}
html body .com-content-article .page-header h1,html body .com-content-article h1{
  font-family:var(--serif)!important;color:var(--text)!important;
  font-size:clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem)!important;margin:0 0 14px!important;}
html body .com-content-article .article-info{color:var(--muted)!important;font-size:.86rem!important;margin:0 0 22px!important;}
html body .com-content-article img{max-width:100%!important;height:auto!important;border-radius:14px!important;
  border:1px solid var(--divider)!important;margin:0 0 22px!important;}
html body .com-content-article p{color:var(--muted)!important;font-size:1.02rem!important;line-height:1.8!important;}

@media(max-width:767px){
  html body .blog .article-list .article,
  html body .com-content-category-blog .article-list .article{grid-template-columns:1fr!important;gap:16px!important;}
  html body .blog .article-list .article:nth-child(even) .article-intro-image{order:0!important;}
}

/* чередование считаем по строкам списка: каждая статья лежит в своей .row */
html body .blog .article-list > .row:nth-child(even) .article-intro-image{order:2!important;}
html body .blog .article-list > .row:nth-child(even) .article-header,
html body .blog .article-list > .row:nth-child(even) .article-body,
html body .blog .article-list > .row:nth-child(even) .article-introtext,
html body .blog .article-list > .row:nth-child(even) .readmore{order:1!important;}
@media(max-width:767px){
  html body .blog .article-list > .row:nth-child(even) .article-intro-image{order:0!important;}
}

/* ============================================================
   БЛОК БЛОГА НА ГЛАВНОЙ: бегущая лента в обратную сторону
   ============================================================ */
html body .fmt-blog-block,html body .fmt-blog-block.sppb-section{
  padding-top:46px!important;padding-bottom:52px!important;
  border-top:1px solid var(--divider)!important;}
html body .fmt-blogmq{overflow:hidden;position:relative;margin-top:22px;padding:10px 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);}
html body .fmt-blogmq-track{display:flex;width:max-content;gap:18px;
  animation:fmt-blog-scroll 56s linear infinite;will-change:transform;}
html body .fmt-blogmq:hover .fmt-blogmq-track{animation-play-state:paused;}
/* партнёры едут влево, блог вправо */
@keyframes fmt-blog-scroll{from{transform:translateX(-50%)}to{transform:translateX(0)}}

html body .fmt-bcard{flex:0 0 auto;width:290px;display:flex;flex-direction:column;
  background:var(--surface);border:1px solid var(--divider);border-radius:14px;overflow:hidden;
  text-decoration:none;transition:border-color .3s ease,box-shadow .35s ease,transform .3s ease;}
html body .fmt-bcard:hover{border-color:rgba(201,162,75,.5);
  box-shadow:0 0 28px rgba(201,162,75,.12),0 12px 30px rgba(0,0,0,.38);transform:translateY(-4px);}
html body .fmt-bcard-img{display:block;}
html body .fmt-bcard-img img{width:100%;height:auto;aspect-ratio:16 / 10;object-fit:cover;display:block;}
html body .fmt-bcard-body{display:block;padding:14px 16px 16px;}
html body .fmt-bcard-title{display:block;font-family:var(--serif);color:var(--text);
  font-size:1rem;line-height:1.35;margin-bottom:7px;}
html body .fmt-bcard:hover .fmt-bcard-title{color:var(--accent2);}
html body .fmt-bcard-text{display:block;color:var(--muted);font-size:.85rem;line-height:1.5;}
html body .fmt-blog-block .fmt-btn-row{margin-top:24px!important;}
@media(prefers-reduced-motion:reduce){
  html body .fmt-blogmq-track{animation:none;}
  html body .fmt-blogmq{overflow-x:auto;}
}
@media(max-width:600px){
  html body .fmt-bcard{width:230px;}
  html body .fmt-blogmq-track{animation-duration:42s;}
}

/* ============================================================
   БЛОГ: карточки по две в ряд (отменяет прежнюю шахматку)
   ============================================================ */
html body .fmt-bhead{text-align:center;padding:26px 0 6px;}
html body .fmt-bhead-title{font-family:var(--serif);color:var(--text);
  font-size:clamp(2.4rem, 1.4rem + 2.6vw, 4rem);margin:0 0 12px;}
html body .fmt-bhead-sub{color:var(--muted);font-size:1.1rem;line-height:1.7;
  max-width:720px;margin:0 auto 8px;}

html body .blog .article-list > .row{display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important;
  margin-left:0!important;margin-right:0!important;margin-bottom:28px!important;}
html body .blog .article-list > .row > [class*="col-"]{width:auto!important;max-width:none!important;
  flex:none!important;padding:0!important;}

/* карточка статьи: фото сверху, текст под ним */
html body .blog .article-list .article{
  display:flex!important;flex-direction:column!important;grid-template-columns:none!important;
  height:100%!important;gap:0!important;padding:0!important;margin:0!important;
  background:var(--surface)!important;border:1px solid var(--divider)!important;
  border-radius:14px!important;overflow:hidden!important;
  transition:border-color .3s ease,box-shadow .35s ease,transform .3s ease!important;}
html body .blog .article-list .article:hover{border-color:rgba(201,162,75,.5)!important;
  box-shadow:0 0 28px rgba(201,162,75,.12),0 12px 30px rgba(0,0,0,.38)!important;transform:translateY(-4px)!important;}
html body .blog .article-intro-image{order:0!important;grid-row:auto!important;margin:0!important;width:100%!important;}
html body .blog .article-intro-image img{border-radius:0!important;border:0!important;
  aspect-ratio:16 / 10!important;}
html body .blog .article-header,html body .blog .article-body,
html body .blog .article-introtext,html body .blog .readmore{order:1!important;
  padding-left:22px!important;padding-right:22px!important;}
html body .blog .article-header{padding-top:18px!important;}
html body .blog .article-header h2 a{font-size:1.2rem!important;}
html body .blog .article-introtext p,html body .blog .article-body p{font-size:.94rem!important;line-height:1.6!important;}
html body .blog .readmore{margin-top:auto!important;padding-bottom:20px!important;padding-top:14px!important;}
html body .blog .readmore a{font-size:.86rem!important;padding:10px 16px!important;}

@media(max-width:767px){
  html body .blog .article-list > .row{grid-template-columns:1fr!important;gap:20px!important;}
}

/* ---- Карта Армении: без рамки и крупнее ---- */
html body .fmt-about-map svg.fmt-map,
html body .fmt-map{border:0!important;outline:none!important;background:transparent!important;
  border-radius:0!important;box-shadow:none!important;}
html body .fmt-about-map{border:0!important;outline:none!important;background:transparent!important;
  width:104%!important;left:50%!important;transform:translateX(-50%)!important;
  top:-2%!important;bottom:58px!important;}
html body .fmt-about-map svg{width:100%!important;height:100%!important;
  filter:drop-shadow(0 6px 22px rgba(0,0,0,.55))!important;}
/* карта крупная, но в границах фото */
html body .fmt-about-map{width:100%!important;top:0!important;bottom:56px!important;padding:0 8px!important;}
/* карта вписывается в свой контейнер целиком, не залезая на кнопки */
html body .fmt-about-map svg{width:auto!important;height:auto!important;
  max-width:100%!important;max-height:100%!important;margin:0 auto!important;display:block!important;}
html body .fmt-about-map{display:flex!important;align-items:center!important;justify-content:center!important;
  overflow:hidden!important;}
/* карта занимает всю доступную высоту фото: бокс по пропорциям рисунка */
html body .fmt-about-map{top:0!important;bottom:62px!important;padding:0!important;}
html body .fmt-about-map svg{height:100%!important;width:auto!important;
  max-width:100%!important;max-height:100%!important;aspect-ratio:1000 / 1008!important;}
/* небольшой воздух между картой и краями фото */
html body .fmt-about-map{top:16px!important;bottom:76px!important;padding:0 14px!important;}

/* ================= Цены: аккордеоны по разделам ================= */
html body .fmt-pr-list{max-width:920px;margin:0 auto;display:flex;flex-direction:column;gap:12px;}

html body .fmt-pr-acc{border:1px solid var(--divider);border-radius:4px;background:rgba(255,255,255,.02);
  overflow:hidden;transition:border-color .25s ease;}
html body .fmt-pr-acc:hover{border-color:rgba(197,164,106,.45);}
html body .fmt-pr-acc.is-open{border-color:rgba(197,164,106,.55);}

html body .fmt-pr-head{width:100%;display:flex;align-items:center;gap:14px;padding:18px 20px;
  background:none;border:0;cursor:pointer;text-align:left;color:var(--text);}
html body .fmt-pr-ico{color:var(--accent);font-size:17px;width:22px;text-align:center;flex:none;}
html body .fmt-pr-name{flex:1;font-family:var(--font-head);font-size:19px;letter-spacing:.01em;}
html body .fmt-pr-count{font-size:12px;color:var(--muted);border:1px solid var(--divider);
  border-radius:20px;padding:2px 9px;flex:none;}
html body .fmt-pr-arrow{color:var(--muted);font-size:13px;flex:none;transition:transform .25s ease;}
html body .fmt-pr-acc.is-open .fmt-pr-arrow{transform:rotate(180deg);color:var(--accent);}

/* закрытая часть не занимает места и не читается скринридером */
html body .fmt-pr-body{display:none;padding:0 20px 16px;}
html body .fmt-pr-acc.is-open .fmt-pr-body{display:block;}

html body .fmt-pr-head-row{display:flex;justify-content:space-between;font-size:12px;
  letter-spacing:.12em;text-transform:uppercase;color:var(--muted);
  padding:0 0 8px;border-bottom:1px solid var(--divider);margin-bottom:4px;}

html body .fmt-pr-row{display:flex;justify-content:space-between;align-items:baseline;gap:18px;
  padding:11px 0;border-bottom:1px solid rgba(255,255,255,.05);}
html body .fmt-pr-row:last-child{border-bottom:0;}
html body .fmt-pr-k{color:var(--text);opacity:.9;}
html body .fmt-pr-v{color:var(--accent);white-space:nowrap;font-variant-numeric:tabular-nums;}

@media (max-width:600px){
  html body .fmt-pr-name{font-size:17px;}
  html body .fmt-pr-head{padding:15px 14px;gap:10px;}
  html body .fmt-pr-body{padding:0 14px 14px;}
  html body .fmt-pr-row{flex-direction:column;gap:2px;padding:9px 0;}
}

/* ============ Контакты: брендовые мессенджеры и телефон ============ */
/* В футере теперь реальные каналы, поэтому цвет постоянный, а не только по наведению. */
html body .fmt-ft-soc--wa{background:#25D366;border-color:#25D366;color:#fff;}
html body .fmt-ft-soc--tg{background:#229ED9;border-color:#229ED9;color:#fff;}
html body .fmt-ft-soc--wa:hover{box-shadow:0 0 20px rgba(37,211,102,.45);}
html body .fmt-ft-soc--tg:hover{box-shadow:0 0 20px rgba(34,158,217,.45);}

/* телефон в акцентном золоте сайта */
/* ID в селекторе: перекрываем шаблонное #sp-bottom a без !important */
#sp-bottom a.fmt-ft-phone, #sp-footer a.fmt-ft-phone{display:inline-flex;align-items:center;
  gap:8px;color:var(--accent);font-size:1.05rem;font-weight:600;letter-spacing:.01em;
  text-decoration:none;transition:color .2s ease;}
#sp-bottom a.fmt-ft-phone i, #sp-footer a.fmt-ft-phone i{font-size:.9rem;}
#sp-bottom a.fmt-ft-phone:hover, #sp-footer a.fmt-ft-phone:hover{color:#E4C67E;}

/* Viber для кнопок «Поделиться» */
html body .fmt-share--vb:hover{background:#7360F2!important;border-color:#7360F2!important;box-shadow:0 0 20px rgba(115,96,242,.4)!important;}

/* «Поделиться» как отдельный модуль над футером на всех страницах */
html body .fmt-share--module{max-width:1100px;margin:0 auto;padding:26px 20px 6px;
  display:flex;flex-direction:column;align-items:center;gap:12px;}

/* ================= CTA форма обратной связи ================= */
html body .fmt-lead-block{padding:var(--fmt-gap-section,54px) 0;}
html body .fmt-lf-wrap{max-width:640px;margin:0 auto;text-align:center;padding:0 20px;}
html body .fmt-lf-title{font-family:var(--font-head);font-size:clamp(24px,3vw,34px);color:var(--text);margin:0 0 8px;}
html body .fmt-lf-sub{color:var(--muted);margin:0 0 26px;font-size:15px;}

html body .fmt-lf{display:flex;flex-direction:column;gap:12px;text-align:left;}
html body .fmt-lf-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
html body .fmt-lf-in{width:100%;background:rgba(255,255,255,.03);border:1px solid var(--divider);
  border-radius:3px;color:var(--text);padding:13px 14px;font-size:15px;font-family:inherit;
  transition:border-color .2s ease;}
html body .fmt-lf-in::placeholder{color:var(--muted);}
html body .fmt-lf-in:focus{outline:none;border-color:var(--accent);}
html body .fmt-lf-msg{resize:vertical;min-height:64px;}

/* honeypot: не виден людям, доступен ботам */
html body .fmt-lf-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none;}

/* выбор связи: подпись на своей строке, три кнопки компактно в один ряд */
html body .fmt-lf-pref{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;margin:2px 0 4px;}
html body .fmt-lf-pref-h{flex-basis:100%;color:var(--muted);font-size:13px;margin:0 0 2px;}
html body .fmt-lf-radio{cursor:pointer;flex:1 1 0;min-width:0;}
html body .fmt-lf-radio span{justify-content:center;white-space:nowrap;width:100%;height:100%;box-sizing:border-box;}
/* кнопка отправки встаёт в тот же ряд, что и 3 выбора связи (4 в 1 ряд) */
html body .fmt-lf-pref .fmt-lf-submit{flex:1 1 0;min-width:0;width:auto!important;align-self:stretch!important;margin-top:0!important;white-space:nowrap;}
html body .fmt-lf-radio input{position:absolute;opacity:0;pointer-events:none;}
html body .fmt-lf-radio span{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;
  border:1px solid var(--divider);border-radius:3px;font-size:13px;color:var(--text);
  transition:border-color .2s ease,background .2s ease;}
html body .fmt-lf-radio span i{font-size:13px;color:var(--muted);}
html body .fmt-lf-radio input:checked + span{border-color:var(--accent);background:rgba(201,162,75,.08);}
html body .fmt-lf-radio input:checked + span i{color:var(--accent);}
html body .fmt-lf-radio input:focus-visible + span{outline:2px solid var(--accent);outline-offset:2px;}

html body .fmt-lf-submit{align-self:flex-start;margin-top:6px;}
html body .fmt-lf-submit.is-loading{opacity:.6;pointer-events:none;}

html body .fmt-lf-note{margin:6px 0 0;font-size:14px;min-height:1em;}
html body .fmt-lf-note.is-ok{color:#4FCF7D;}
html body .fmt-lf-note.is-err{color:#E5736B;}

@media (max-width:560px){
  html body .fmt-lf-row{grid-template-columns:1fr;}
  html body .fmt-lf-submit{align-self:stretch;justify-content:center;}
}

/* ================= Модальная форма обратной связи =================
   Класс fmt-cm (не fmt-modal): на сайте уже есть старая .fmt-modal
   с display:flex !important, которая держала бы окно всегда открытым. */
html body .fmt-cm{position:fixed;inset:0;z-index:10000;display:none;
  background:rgba(0,0,0,.66);backdrop-filter:blur(3px);
  align-items:center;justify-content:center;padding:20px;}
html body .fmt-cm.is-open{display:flex;}
html body.fmt-cm-lock{overflow:hidden;}
html body .fmt-cm-box{position:relative;width:100%;max-width:540px;max-height:92vh;overflow-y:auto;
  background:#16130f;border:1px solid var(--divider);border-radius:12px;
  padding:30px 26px 26px;box-shadow:0 24px 60px rgba(0,0,0,.5);
  animation:fmtCmIn .22s ease;}
@keyframes fmtCmIn{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:none;}}
html body .fmt-cm-x{position:absolute;top:12px;right:12px;width:34px;height:34px;
  background:none;border:0;color:var(--muted);cursor:pointer;font-size:17px;border-radius:50%;}
html body .fmt-cm-x:hover{color:var(--text);background:rgba(255,255,255,.05);}
html body .fmt-cm-title{font-family:var(--font-head);font-size:24px;color:var(--text);margin:0 0 6px;}
html body .fmt-cm-sub{color:var(--muted);font-size:14px;margin:0 0 20px;}
html body .fmt-cm .fmt-lf{text-align:left;}

/* ===== Расширенная модалка заявки (структура RSK23, стиль ReForma) ===== */
html body .fmt-cm-form{display:flex;flex-direction:column;gap:12px;}
html body .fmt-cm-lbl{color:var(--accent2);font-size:.74rem;text-transform:uppercase;letter-spacing:1px;margin:2px 0 -4px;}
html body .fmt-cm-msgr{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
html body .fmt-cm-mcard{cursor:pointer;}
html body .fmt-cm-mcard input{position:absolute;opacity:0;pointer-events:none;}
html body .fmt-cm-mcard span{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 10px;
  border:1px solid var(--divider);border-radius:12px;background:rgba(255,255,255,.02);transition:.2s;color:var(--text);}
html body .fmt-cm-mcard span i{font-size:1.5rem;color:var(--accent);}
html body .fmt-cm-mcard span b{font-weight:600;font-size:.95rem;}
html body .fmt-cm-mcard:hover span{border-color:var(--accent);}
html body .fmt-cm-mcard input:checked + span{border-color:var(--accent);background:rgba(201,162,75,.1);box-shadow:0 0 0 1px var(--accent) inset;}
html body .fmt-cm-or{display:flex;align-items:center;text-align:center;color:var(--muted);font-size:.8rem;gap:10px;margin:2px 0;}
html body .fmt-cm-or::before,html body .fmt-cm-or::after{content:"";flex:1;height:1px;background:var(--divider);}
html body .fmt-cm-field{display:flex;flex-direction:column;gap:5px;}
html body .fmt-cm-flabel{color:var(--muted);font-size:.82rem;}
html body .fmt-cm-in{width:100%;background:rgba(255,255,255,.03);border:1px solid var(--divider);border-radius:9px;
  color:var(--text);font-family:var(--sans);font-size:.95rem;padding:11px 13px;transition:border-color .2s;box-sizing:border-box;}
html body .fmt-cm-in::placeholder{color:#6f685d;}
html body .fmt-cm-in:focus{outline:none;border-color:var(--accent);}
html body .fmt-cm-select{appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C9A24B' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 13px center;padding-right:34px;}
html body .fmt-cm-select option{background:#16130f;color:var(--text);}
html body .fmt-cm-msg{resize:vertical;min-height:52px;}
html body .fmt-cm-2col{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
html body .fmt-cm-consent{display:flex;align-items:flex-start;gap:9px;cursor:pointer;color:var(--muted);font-size:.86rem;line-height:1.4;margin-top:2px;}
html body .fmt-cm-consent input{margin-top:2px;width:17px;height:17px;accent-color:var(--accent);flex:0 0 auto;cursor:pointer;}
html body .fmt-cm-submit{width:100%!important;justify-content:center!important;margin-top:4px;}
@media(max-width:520px){
  html body .fmt-cm-2col{grid-template-columns:1fr;}
  html body .fmt-cm-box{padding:24px 18px 20px;}
}

/* ================= Контакты в шапке ================= */
html body #sp-header .fmt-hd{display:flex;align-items:center;gap:14px;margin-right:18px;}
/* цвет с !important: шаблонное правило ссылок шапки задано через !important,
   иначе даже #sp-header + классы его не перебивают. Это не SPPB-аддон, правилу владельца не мешает. */
html body #sp-header .fmt-hd a.fmt-hd-phone{display:inline-flex;align-items:center;gap:7px;
  color:var(--accent)!important;font-weight:600;font-size:.98rem;white-space:nowrap;text-decoration:none;
  transition:color .2s ease;}
html body #sp-header .fmt-hd a.fmt-hd-phone i{font-size:.82rem;}
html body #sp-header .fmt-hd a.fmt-hd-phone:hover{color:#E4C67E;}
html body #sp-header .fmt-hd-soc{width:34px;height:34px;border-radius:50%;display:inline-flex;
  align-items:center;justify-content:center;color:#fff;font-size:.9rem;text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease;}
html body #sp-header .fmt-hd-soc--wa{background:#25D366;}
html body #sp-header .fmt-hd-soc--tg{background:#229ED9;}
html body #sp-header .fmt-hd-soc:hover{transform:translateY(-2px);}

/* на узких экранах в шапке тесно: прячем, контакты есть в чате, футере и модалке */
@media (max-width:991px){
  html body #sp-header .fmt-hd{display:none;}
}

/* ================= Логотип-знак в шапке =================
   Ширина логотипа схлопывалась в 0: max-width:100% брал ширину пустого
   родителя (0). Снимаем ограничение и задаём явный квадрат. */
html body #sp-header .logo img,
html body #sp-header .sp-logo img{max-width:none!important;width:auto!important;height:46px!important;object-fit:contain;}
html body #sp-header .logo,
html body #sp-header .logo > a{width:auto!important;}
@media (max-width:991px){
  html body #sp-header .logo img,
  html body #sp-header .sp-logo img{height:40px!important;}
}

/* ============ Мессенджер-иконки: всегда яркие + инверсия при наведении ============ */
/* Причина тусклости: глиф не всегда был белым. Форсим яркий фон и белый значок,
   при наведении меняем местами (светлый фон, цветной значок). */
html body .fmt-ft-soc--wa,html body .fmt-hd-soc--wa{background:#25D366!important;border-color:#25D366!important;color:#fff!important;opacity:1!important;}
html body .fmt-ft-soc--tg,html body .fmt-hd-soc--tg{background:#2AABEE!important;border-color:#2AABEE!important;color:#fff!important;opacity:1!important;}
html body .fmt-ft-soc i,html body .fmt-hd-soc i{color:inherit!important;}
html body .fmt-ft-soc--wa:hover,html body .fmt-hd-soc--wa:hover{background:#F3EEE3!important;border-color:#F3EEE3!important;color:#25D366!important;}
html body .fmt-ft-soc--tg:hover,html body .fmt-hd-soc--tg:hover{background:#F3EEE3!important;border-color:#F3EEE3!important;color:#2AABEE!important;}

/* Кнопка «наверх» и чат не должны перекрываться: кнопку вниз, между ними зазор */
html body .sp-scroll-up{bottom:18px!important;right:26px!important;width:40px!important;height:40px!important;z-index:9998!important;}

/* ==================================================================
   Офферы, удалённый ремонт, FAQ, пакеты, хаб цен (2026-08)
   Тёмная люкс-палитра: те же токены, что и по сайту.
   ================================================================== */

/* --- кнопка WhatsApp в hero (контурная с зелёным акцентом) --- */
html body .fmt-btn--wa{background:transparent!important;color:var(--text)!important;border-color:#2f6b46!important;}
html body .fmt-btn--wa:hover{background:#25D366!important;border-color:#25D366!important;color:#0B1A10!important;transform:translateY(-2px);}
html body .fmt-btn--wa i{color:#25D366!important;}
html body .fmt-btn--wa:hover i{color:#0B1A10!important;}
html body .fmt-hero-btns{margin-top:6px!important;}

/* hero: расчёт сверху, под ним ровно WhatsApp + Telegram в ряд */
html body .fmt-hero-cta{max-width:470px;margin-top:8px;}
html body .fmt-hero-cta .fmt-btn--lead{width:100%!important;padding-top:12px!important;padding-bottom:12px!important;}
html body .fmt-btn--lead .fmt-btn-txt{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15;text-align:left;}
html body .fmt-btn--lead .fmt-btn-txt b{font-weight:700;}
html body .fmt-btn--lead .fmt-btn-txt em{font-style:normal;font-size:.76rem;font-weight:500;opacity:.82;margin-top:2px;}
html body .fmt-hero-msgs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;}
html body .fmt-hero-msgs .fmt-btn{width:100%!important;}
html body .fmt-btn--tg{background:transparent!important;color:var(--text)!important;border-color:#2f5a6b!important;}
html body .fmt-btn--tg:hover{background:#2AABEE!important;border-color:#2AABEE!important;color:#08131a!important;transform:translateY(-2px);}
html body .fmt-btn--tg i{color:#2AABEE!important;}
html body .fmt-btn--tg:hover i{color:#08131a!important;}
@media(max-width:520px){html body .fmt-hero-msgs{grid-template-columns:1fr;}}

/* --- блок-кнопки под hero: калькулятор, стоимость работ, удалённый ремонт --- */
html body .fmt-quicknav,html body .fmt-quicknav.sppb-section{padding:26px 0!important;background:var(--bg);}
html body .fmt-qn-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;}
html body .fmt-qn-card{display:flex;align-items:center;gap:16px;padding:18px 20px;background:var(--surface);
  border:1px solid var(--divider);border-radius:13px;text-decoration:none;transition:transform .2s,border-color .2s,background .2s;}
html body .fmt-qn-card:hover{transform:translateY(-3px);border-color:var(--accent);background:var(--surface2);}
html body .fmt-qn-ico{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:11px;
  background:rgba(201,162,75,.12);border:1px solid rgba(201,162,75,.3);}
html body .fmt-qn-ico i{color:var(--accent);font-size:1.4rem;}
html body .fmt-qn-txt{display:flex;flex-direction:column;flex:1 1 auto;}
html body .fmt-qn-txt b{color:var(--text);font-family:var(--serif);font-size:1.1rem;font-weight:700;line-height:1.2;}
html body .fmt-qn-txt span{color:var(--muted);font-size:.85rem;margin-top:2px;}
html body .fmt-qn-arr{color:var(--accent);font-size:.9rem;flex:0 0 auto;transition:transform .2s;}
html body .fmt-qn-card:hover .fmt-qn-arr{transform:translateX(4px);}

/* --- продуктовая линейка: результат, который получает клиент --- */
html body .fmt-products{background:var(--surface);border-top:1px solid var(--divider);border-bottom:1px solid var(--divider);}
html body .fmt-prod-head{text-align:center;max-width:760px;margin:0 auto 40px;}
html body .fmt-prod-head h2{font-family:var(--serif);color:var(--text);font-size:clamp(1.9rem,1rem + 2.4vw,2.9rem);margin:0 0 14px;line-height:1.15;}
html body .fmt-prod-head p{color:var(--muted);font-size:1.05rem;margin:0;}
html body .fmt-prod-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;}
html body .fmt-prod-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:26px 22px;
  background:var(--bg);border:1px solid var(--divider);border-radius:14px;transition:transform .25s,border-color .25s,background .25s;text-decoration:none;}
html body .fmt-prod-card:hover{transform:translateY(-4px);border-color:var(--accent);background:var(--surface2);}
html body .fmt-prod-ico{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;
  background:rgba(201,162,75,.12);border:1px solid rgba(201,162,75,.3);margin-bottom:6px;}
html body .fmt-prod-ico i{color:var(--accent);font-size:1.5rem;}
html body .fmt-prod-title{font-family:var(--serif);color:var(--text);font-size:1.22rem;font-weight:700;line-height:1.2;}
html body .fmt-prod-who{color:var(--accent2);font-size:.82rem;text-transform:uppercase;letter-spacing:.5px;}
html body .fmt-prod-text{color:var(--muted);font-size:.92rem;line-height:1.5;}

/* --- удалённый ремонт: три колонки (для кого / как / отчётность) --- */
html body .fmt-remote{background:var(--bg);}
html body .fmt-remote-top{text-align:center;max-width:800px;margin:0 auto 38px;}
html body .fmt-remote-top h2{font-family:var(--serif);color:var(--text);font-size:clamp(1.9rem,1rem + 2.4vw,2.9rem);margin:0 0 14px;line-height:1.15;}
html body .fmt-remote-top p{color:var(--muted);font-size:1.05rem;margin:0;}
html body .fmt-remote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin-bottom:30px;}
html body .fmt-remote-col{padding:26px 24px;background:var(--surface);border:1px solid var(--divider);border-radius:14px;}
html body .fmt-remote-col h3{display:flex;align-items:center;gap:10px;font-family:var(--serif);color:var(--text);font-size:1.2rem;margin:0 0 16px;}
html body .fmt-remote-col h3 i{color:var(--accent);font-size:1.1rem;}
html body .fmt-remote-col ul,html body .fmt-remote-col ol{margin:0;padding-left:0;list-style:none;counter-reset:step;}
html body .fmt-remote-col li{position:relative;color:var(--muted);font-size:.95rem;line-height:1.5;padding:0 0 12px 26px;}
html body .fmt-remote-col ul li::before{content:"";position:absolute;left:2px;top:8px;width:7px;height:7px;border-radius:50%;background:var(--accent);}
html body .fmt-remote-col ol li{counter-increment:step;}
html body .fmt-remote-col ol li::before{content:counter(step);position:absolute;left:0;top:0;width:19px;height:19px;border-radius:50%;
  background:rgba(201,162,75,.14);border:1px solid rgba(201,162,75,.4);color:var(--accent);font-size:.72rem;font-weight:700;display:flex;align-items:center;justify-content:center;}
html body .fmt-remote .fmt-btn-row{justify-content:center!important;}

/* --- вопрос-ответ: аккордеон --- */
html body .fmt-faq{background:var(--surface);border-top:1px solid var(--divider);}
html body .fmt-faq-head{text-align:center;margin-bottom:34px;}
html body .fmt-faq-head h2{font-family:var(--serif);color:var(--text);font-size:clamp(1.9rem,1rem + 2.4vw,2.9rem);margin:0;}
html body .fmt-faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px;}
html body .fmt-faq-item{border:1px solid var(--divider);border-radius:10px;background:var(--bg);overflow:hidden;}
html body .fmt-faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:none;border:0;cursor:pointer;text-align:left;padding:18px 22px;color:var(--text);font-family:var(--sans);font-size:1.02rem;font-weight:600;}
html body .fmt-faq-q i{color:var(--accent);transition:transform .3s;flex:0 0 auto;}
html body .fmt-faq-item.is-open .fmt-faq-q i{transform:rotate(180deg);}
html body .fmt-faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;}
html body .fmt-faq-item.is-open .fmt-faq-a{max-height:400px;}
html body .fmt-faq-a p{color:var(--muted);font-size:.96rem;line-height:1.6;margin:0;padding:0 22px 20px;}

/* --- пакеты ремонта: карточки с ценой "от" --- */
html body .fmt-packages{background:var(--bg);}
html body .fmt-pkg-head{text-align:center;max-width:760px;margin:0 auto 34px;}
html body .fmt-pkg-head h2{font-family:var(--serif);color:var(--text);font-size:clamp(1.7rem,1rem + 2vw,2.6rem);margin:0 0 12px;}
html body .fmt-pkg-head p{color:var(--muted);font-size:1.02rem;margin:0;}
html body .fmt-pkg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;align-items:stretch;}
html body .fmt-pkg-card{position:relative;display:flex;flex-direction:column;padding:30px 26px;background:var(--surface);
  border:1px solid var(--divider);border-radius:16px;transition:transform .25s,border-color .25s;}
html body .fmt-pkg-card:hover{transform:translateY(-4px);border-color:var(--accent);}
html body .fmt-pkg-card.is-hit{border-color:var(--accent);background:var(--surface2);box-shadow:0 18px 50px -30px rgba(201,162,75,.7);}
html body .fmt-pkg-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--accent);color:#171208;
  font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;padding:5px 16px;border-radius:20px;}
html body .fmt-pkg-name{font-family:var(--serif);color:var(--text);font-size:1.5rem;font-weight:700;margin-bottom:10px;}
html body .fmt-pkg-price{color:var(--accent);font-family:var(--serif);font-size:2rem;font-weight:800;line-height:1;margin-bottom:6px;}
html body .fmt-pkg-price small{display:inline;color:var(--muted);font-size:.8rem;font-weight:400;font-family:var(--sans);}
html body .fmt-pkg-price b{font-size:.9rem;color:var(--muted);font-weight:600;font-family:var(--sans);}
html body .fmt-pkg-desc{color:var(--muted);font-size:.94rem;line-height:1.5;margin-bottom:18px;}
html body .fmt-pkg-incl{color:var(--accent2);font-size:.78rem;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px;}
html body .fmt-pkg-list{list-style:none;margin:0 0 22px;padding:0;flex:1 1 auto;}
html body .fmt-pkg-list li{position:relative;color:var(--text);font-size:.92rem;line-height:1.45;padding:7px 0 7px 26px;border-bottom:1px solid var(--divider);}
html body .fmt-pkg-list li:last-child{border-bottom:0;}
html body .fmt-pkg-list li::before{content:"\f00c";font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;left:0;top:7px;color:var(--accent);font-size:.8rem;}
html body .fmt-pkg-cta{width:100%!important;margin-top:auto!important;}
html body .fmt-pkg-note{color:var(--muted);font-size:.92rem;text-align:center;max-width:720px;margin:26px auto 6px;line-height:1.5;}
html body .fmt-pkg-soon{color:var(--accent2);font-size:.9rem;text-align:center;max-width:720px;margin:0 auto;}
html body .fmt-pkg-soon i{color:var(--accent);margin-right:6px;}

/* --- хаб раздела «Цены»: 4 плитки, каждая ведёт на свою страницу --- */
html body .fmt-hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;}
html body .fmt-hub-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:30px 26px;
  background:var(--surface);border:1px solid var(--divider);border-radius:16px;text-decoration:none;transition:transform .25s,border-color .25s,background .25s;}
html body .fmt-hub-card:hover{transform:translateY(-4px);border-color:var(--accent);background:var(--surface2);}
html body .fmt-hub-ico{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:13px;
  background:rgba(201,162,75,.12);border:1px solid rgba(201,162,75,.3);}
html body .fmt-hub-ico i{color:var(--accent);font-size:1.7rem;}
html body .fmt-hub-title{font-family:var(--serif);color:var(--text);font-size:1.3rem;font-weight:700;line-height:1.2;}
html body .fmt-hub-text{color:var(--muted);font-size:.94rem;line-height:1.5;}
html body .fmt-hub-more{color:var(--accent);font-size:.9rem;font-weight:600;margin-top:auto;padding-top:6px;}
html body .fmt-hub-more i{font-size:.8rem;margin-left:6px;}

/* --- длинный SEO-текст на подстраницах цен --- */
html body .fmt-seo{max-width:820px;margin:0 auto;}
html body .fmt-seo h2{font-family:var(--serif);color:var(--text);font-size:clamp(1.5rem,1rem + 1.4vw,2.1rem);margin:34px 0 14px;}
html body .fmt-seo h3{font-family:var(--serif);color:var(--text);font-size:1.2rem;margin:24px 0 10px;}
html body .fmt-seo p{color:var(--muted);font-size:1rem;line-height:1.7;margin:0 0 14px;}
html body .fmt-seo ul{margin:0 0 16px;padding-left:0;list-style:none;}
html body .fmt-seo li{position:relative;color:var(--text);font-size:.98rem;line-height:1.6;padding:6px 0 6px 26px;}
html body .fmt-seo li::before{content:"";position:absolute;left:3px;top:14px;width:7px;height:7px;border-radius:50%;background:var(--accent);}

@media(max-width:600px){
  html body .fmt-prod-grid,html body .fmt-pkg-grid,html body .fmt-hub-grid{grid-template-columns:1fr;}
  html body .fmt-remote-col{padding:22px 20px;}
}
