/* плашка и подвал каталога на перенесённых «как есть» страницах (Tilda) — отдельный CSS, чтобы не ломать вёрстку Tilda */
.tbar,.tfoot{font-family:Onest,system-ui,sans-serif;-webkit-font-smoothing:antialiased;box-sizing:border-box}
.tbar *,.tfoot *{box-sizing:border-box}
.tbar{background:#1F2328;color:#fff;font-size:14.5px;line-height:1;position:relative;z-index:9999}
.tbar .in{max-width:1280px;margin:0 auto;padding:0 20px;height:54px;display:flex;align-items:center;gap:22px}
.tbar a{color:#fff;opacity:.85;white-space:nowrap;text-decoration:none;font-weight:500}.tbar a:hover{opacity:1;color:#E5C3A6}.tbar img{height:24px;display:block}
.tbar .sp{margin-left:auto}.tbar .cta{background:linear-gradient(135deg,#D9A074,#B06A3B 50%,#8A4F28);padding:10px 16px;border-radius:12px;opacity:1;color:#fff!important}
@media(max-width:700px){.tbar .hm{display:none}}
.tfoot{background:#1F2328;color:rgba(255,255,255,.72);padding:44px 20px 30px;font-size:14.5px;line-height:1.6}
.tfoot .in{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1.3fr 1.6fr 1fr;gap:34px}
.tfoot h4{font:500 12.5px/1.2 Unbounded,Onest,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:#fff;margin:0 0 14px}
.tfoot a{color:inherit;text-decoration:none;display:block;margin:6px 0}.tfoot a:hover{color:#E5C3A6}
.tfoot .l2{columns:2;column-gap:24px}.tfoot .l2 a{break-inside:avoid}
.tfoot img{height:30px;margin-bottom:14px}
.tfoot .cp{max-width:1280px;margin:30px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);font-size:13px}
@media(max-width:800px){.tfoot .in{grid-template-columns:1fr}}
html,body{overflow-x:hidden}
/* окно заявки каталога (вместо старых форм tot.kz) */
#tpop{margin:auto;border:0;border-radius:21px;padding:0;max-width:460px;width:calc(100% - 32px);box-shadow:0 40px 90px -20px rgba(0,0,0,.6);font-family:Onest,system-ui,sans-serif;-webkit-font-smoothing:antialiased;color:#1F2328}
#tpop::backdrop{background:rgba(31,35,40,.7);backdrop-filter:blur(3px)}
#tpop *{box-sizing:border-box}
#tpop form{position:relative;background:#fff;padding:32px 30px 26px;display:grid;gap:14px}
#tpop h3{font-family:Unbounded,Onest,sans-serif;font-size:20px;line-height:1.25;letter-spacing:-.015em;margin:0;padding-right:30px}
#tpop p{margin:0;color:rgba(31,35,40,.64);font-size:15px;line-height:1.5}
#tpop label{display:grid;gap:6px;font-size:14px;font-weight:600;color:rgba(31,35,40,.64)}
#tpop input{padding:14px 16px;border:1.5px solid rgba(31,35,40,.12);border-radius:12px;background:#FBF8F4;font:400 16px Onest,system-ui,sans-serif;color:#1F2328;width:100%}
#tpop input:focus{outline:0;border-color:#B06A3B;background:#fff}
#tpop .hp{position:absolute;left:-9999px}
#tpop .b{display:flex;align-items:center;justify-content:center;padding:15px 26px;border:0;border-radius:15px;background:linear-gradient(135deg,#D9A074,#B06A3B 50%,#8A4F28);color:#fff;font:600 16px Onest,system-ui,sans-serif;cursor:pointer;box-shadow:0 8px 22px -8px rgba(176,106,59,.7)}
#tpop .x{position:absolute;right:14px;top:12px;width:40px;height:40px;border:0;background:transparent;font-size:28px;color:rgba(31,35,40,.64);line-height:1;cursor:pointer}
#tpop .ok{display:none;padding:14px 16px;border-radius:12px;background:#E8F4EC;color:#1B6B3A;font-weight:500}
#tpop .sent .ok{display:block}#tpop .sent .b,#tpop .sent label{display:none}
#tpop small{color:rgba(31,35,40,.64);font-size:12.5px;line-height:1.4}
/* окна Tilda: страница не «схлопывается» и не прыгает наверх при открытии, закрытие возвращает на то же место */
.t-body_popupshowed{height:auto!important;min-height:0!important}
html:has(.t-body_popupshowed){overflow:hidden!important}

/* всплывающие окна с картинкой (T390): картинка ниже, чтобы окно помещалось в экран */
.t390__img{height:min(340px,42vh)!important;width:100%!important;object-fit:cover!important;object-position:50% 56%}
/* калькулятор доходности (Samsa): компактнее, заголовок в 2 строки, чтобы блок помещался в экран */
.calc-section{min-height:0!important;padding:34px clamp(20px,5vw,80px)!important}
.calc-inner{gap:40px!important;align-items:center!important}
.calc-title{font-size:clamp(26px,2.5vw,40px)!important;max-width:none!important;margin-bottom:10px!important}
.calc-desc{margin-bottom:22px!important;line-height:1.55!important}
.calc-section .tabs{margin-bottom:22px!important}.calc-section .tab{padding:13px 14px!important}
.calc-section .slider-block{margin-bottom:18px!important}
.calc-section .eyebrow{margin-bottom:8px!important}
/* кнопка закрытия окон: красный крестик в белом кружке, заметна на любом фоне */
#tpop .x{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;color:#E53935;box-shadow:0 4px 14px rgba(0,0,0,.28),0 0 0 1.5px rgba(229,57,53,.35);font-size:26px;line-height:1;top:10px;right:10px;z-index:3;transition:.2s}
#tpop .x:hover{background:#E53935;color:#fff}
.t-popup__close{z-index:1000}
.t-popup__close-wrapper{display:flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 4px 14px rgba(0,0,0,.35),0 0 0 1.5px rgba(229,57,53,.45)!important;opacity:1!important;transition:background .2s}
.t-popup__close-icon{width:18px!important;height:18px!important}
.t-popup__close-icon g,.t-popup__close-icon rect{fill:#E53935!important;stroke:none!important}
.t-popup__close-wrapper:hover{background:#E53935!important}.t-popup__close-wrapper:hover .t-popup__close-icon g,.t-popup__close-wrapper:hover .t-popup__close-icon rect{fill:#fff!important}
#tpop .x{font-weight:600;font-size:28px}.t-popup__close-icon{width:22px!important;height:22px!important}
