/**
 * Публичная часть: каталог, страница площадки, страница компании.
 *
 * Токены и правила взяты из утверждённых прототипов без переизобретения.
 *
 * Всё ограничено обёрткой `.tpl-page`: шапку и подвал даёт тема, и правила
 * страницы не должны до них доставать. Части, относящиеся к одной странице,
 * ограничены дополнительно: у каталога и страницы компании совпадают имена
 * `.map` и `.geo`, но означают разное.
 */

@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/wp-content/uploads/tpl-fonts/inter-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/wp-content/uploads/tpl-fonts/inter-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/wp-content/uploads/tpl-fonts/inter-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/wp-content/uploads/tpl-fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/wp-content/uploads/tpl-fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* Контраст по WCAG AA (ревью 29.10): серый и коралловый мелкого текста темнее, текст ссылок — --link.
   Фон кнопок — фирменный --green, как на главной и хабах. */
:root{--green:#16A34A;--green-h:#12833b;--green-s:rgba(22,163,74,.09);--link:#15803d;--coral:#b5443a;--ink:#1F2559;--text:#55607a;--muted:#646b82;--bg:#f5f6f9;--line:#e4e8f2;--nav:#0e1230;--shadow:0 10px 30px rgba(16,22,60,.06);}
.tpl-page, .tpl-page *{box-sizing:border-box;}
.tpl-page{font-family:"Inter","Manrope",Arial,sans-serif;font-size:16px;line-height:1.5;color:var(--text);background:#fff;-webkit-font-smoothing:antialiased;}
.tpl-page a{color:var(--link);}
.tpl-page h1, .tpl-page h2, .tpl-page h3{color:var(--ink);letter-spacing:-0.3px;font-family:inherit;}
/* Края страниц — по сетке шапки, как на главной: контент до 1280px, поля 40px, до 1263px — 24px, до 1024px — 16px
   (брейкпоинты шапки Elementor, замер 29.10). Узкие формы (.tpl-lite) и полосы (.opband) сужают контейнер сами. */
.tpl-page{--gut:40px;}
@media (max-width:1263px){.tpl-page{--gut:24px;}}
@media (max-width:1024px){.tpl-page{--gut:16px;}}
.tpl-page .container{max-width:calc(1280px + 2 * var(--gut));margin:0 auto;padding:0 var(--gut);}

.tpl-page .crumbs{padding-top:18px;font-size:14px;color:var(--muted);}
.tpl-page .crumbs a{text-decoration:none;}

.tpl-page .tabs{display:flex;flex-wrap:wrap;align-items:flex-end;gap:22px;border-bottom:1px solid var(--line);margin:18px 0 0;}
.tpl-page .tabs a{padding:12px 2px;font-size:16px;font-weight:700;text-decoration:none;color:var(--muted);border-bottom:3px solid transparent;margin-bottom:-1px;}
.tpl-page .tabs a:hover{color:var(--ink);}
.tpl-page .tabs a.on{color:var(--ink);border-bottom-color:var(--green);}
.tpl-page .tabs .aside{margin-left:auto;font-size:14px;color:var(--muted);padding-bottom:14px;}

.tpl-page .tags{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;}
.tpl-page .tags li{font-size:13px;color:var(--link);background:var(--green-s);border-radius:6px;padding:5px 9px;}
/* Основной вид склада и первое направление компании — выделены (решения 3 и 7, 29.10). */
.tpl-page .tags li.main{color:#fff;background:var(--ink);font-weight:600;}
.tpl-page .tags li.warm{color:var(--coral);background:rgba(210,86,74,.10);}
.tpl-page .chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;}
.tpl-page .chips li span{display:block;background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:8px 15px;font-size:14px;color:var(--ink);}

.tpl-page .btn{display:inline-block;text-align:center;background:var(--green);color:#fff !important;text-decoration:none;font-weight:700;font-size:16px;padding:14px 26px;border-radius:12px;border:0;cursor:pointer;font-family:inherit;}
.tpl-page .btn:hover{background:var(--green-h);}
.tpl-page .btn.ghost{background:#fff;color:var(--ink) !important;border:1px solid var(--line);}
.tpl-page .btn.ghost:hover{border-color:var(--green);color:var(--green) !important;background:#fff;}
.tpl-page .btn.sm{font-size:15px;padding:11px 20px;}
.tpl-page .btn.full{display:block;width:100%;}

.tpl-page .bottom{background:var(--nav);border-radius:18px;padding:30px 28px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:22px;margin:44px 0 56px;}
.tpl-page .bottom h2{color:#fff;margin:0 0 8px;font-size:clamp(21px,2vw,27px);}
.tpl-page .bottom p{margin:0;font-size:16px;line-height:1.5;color:#b9c0d6;max-width:560px;}

.tpl-page .rows{display:grid;gap:12px;}
.tpl-page .row{display:grid;grid-template-columns:210px minmax(0,1fr) 168px;gap:18px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;align-items:start;transition:box-shadow .18s ease;}
.tpl-page .row:hover{box-shadow:var(--shadow);}
.tpl-page .row .ph{display:block;width:100%;height:136px;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:var(--bg);}
/* Пустой слот держит структуру карточки и остаётся нашим: снимка нет — стоит
   фирменная заглушка, а не подпись «фото нет». */
.tpl-page .row .noph{display:flex;align-items:center;justify-content:center;width:100%;height:136px;border-radius:10px;border:1px solid var(--line);background:linear-gradient(150deg,#f4f6fb,#e9edf7);font-size:15px;font-weight:700;color:var(--ink);}
.tpl-page .row .nm{display:block;font-size:17.5px;font-weight:600;color:var(--ink);line-height:1.3;margin:0 0 3px;text-decoration:none;}
.tpl-page .row .nm:hover{color:var(--green);}
.tpl-page .row .gg{margin:0 0 10px;font-size:14px;font-weight:400;color:var(--text);}
.tpl-page .row .tags{margin-bottom:10px;}
.tpl-page .row .tags li{font-size:12.5px;font-weight:500;padding:4px 8px;}
.tpl-page .row .fxs{margin:0;font-size:14px;font-weight:600;color:var(--ink);}
.tpl-page .row .ex{display:flex;flex-wrap:wrap;gap:7px;margin:7px 0 0;padding:0;list-style:none;}
.tpl-page .row .ex li{font-size:13px;color:var(--muted);}
.tpl-page .row .ex li:not(:last-child):after{content:"\00b7";margin-left:7px;}
.tpl-page .acts{display:grid;gap:8px;}
.tpl-page .acts .btn{font-size:14.5px;font-weight:600;padding:10px 14px;border-radius:10px;}

.tpl-page .empty{background:#fff;border:1px solid var(--line);border-radius:16px;padding:34px 28px;text-align:center;}
.tpl-page .empty h1, .tpl-page .empty h2{margin:0 0 8px;font-size:23px;}
.tpl-page .empty p{margin:0 auto 18px;font-size:16px;line-height:1.55;max-width:520px;}

.tpl-page .mapnote{margin:10px 0 0;font-size:13px;color:var(--muted);}

/* ------------------------------- Каталог ------------------------------- */

.tpl-catalog main{padding:0 0 96px;}

.tpl-page .band{position:relative;background:#141838 url('/wp-content/uploads/2024/04/rectangle-27.jpg') center 40% / cover no-repeat;}
.tpl-page .band:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,18,48,.58),rgba(14,18,48,.78));}
.tpl-page .band .container{position:relative;min-height:0;display:flex;flex-direction:column;justify-content:center;padding-top:24px;padding-bottom:22px;text-align:center;}
.tpl-page .band h1{margin:0 0 8px;font-size:clamp(26px,2.5vw,34px);line-height:1.18;font-weight:700;color:#fff;}
.tpl-page .band .lead{margin:0 auto;font-size:16px;line-height:1.5;color:rgba(255,255,255,.84);max-width:560px;}

.tpl-page .smod{width:min(940px,calc(100vw - 48px));margin:18px auto 0;padding:16px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);border-radius:20px;text-align:left;}
.tpl-page .search{position:relative;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:7px 7px 7px 16px;}
.tpl-page .search .ic{flex:none;color:var(--muted);}
.tpl-page .search input{flex:1;min-width:0;font:inherit;font-size:17px;color:var(--ink);background:transparent;border:0;padding:14px 0;}
.tpl-page .search input:focus{outline:none;}
.tpl-page .search:focus-within{border-color:var(--green);}
.tpl-page .search input::placeholder{color:var(--muted);}
.tpl-page .search .go{flex:none;min-width:95px;font:inherit;font-size:16px;font-weight:600;color:#fff;background:var(--green);border:0;border-radius:11px;padding:13px 20px;cursor:pointer;}
.tpl-page .search .go:hover{background:var(--green-h);}
.tpl-page .search .map{flex:none;min-width:110px;text-align:center;font-size:15px;font-weight:600;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:11px;padding:12px 16px;text-decoration:none;}
.tpl-page .search .map:hover{border-color:var(--green);color:var(--green);}
.tpl-page .sug{display:none;position:absolute;z-index:40;left:0;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:8px;max-height:340px;overflow:auto;}
.tpl-page .sug.on{display:block;}
.tpl-page .sug a{display:block;padding:8px 12px;text-decoration:none;border-radius:9px;}
.tpl-page .sug a b{display:block;font-size:15px;font-weight:600;color:var(--ink);line-height:1.3;}
.tpl-page .sug a i{display:block;font-size:13px;font-style:normal;color:var(--muted);line-height:1.35;}
.tpl-page .sug a:hover{background:var(--bg);}

.tpl-page .alt{margin:14px 4px 0;font-size:14px;line-height:1.5;color:rgba(255,255,255,.78);}
.tpl-page .alt a{color:#fff;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.45);white-space:nowrap;}
.tpl-page .alt a:hover{border-bottom-color:#fff;}

.tpl-page .filters{margin:22px 0 18px;}
.tpl-page .frow{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0;position:relative;}
.tpl-page .frow .dd{flex:0 1 340px;min-width:220px;}
.tpl-page .filters .reset{font:inherit;font-size:15px;color:var(--muted);text-decoration:none;padding:10px 6px;}

.tpl-page .dd{position:relative;}
.tpl-page .ddb{position:relative;font:inherit;font-size:15px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 34px 10px 18px;cursor:pointer;text-align:left;width:100%;}
.tpl-page .ddb:after{content:'';position:absolute;right:16px;top:calc(50% - 2px);width:7px;height:7px;border-right:1.6px solid var(--muted);border-bottom:1.6px solid var(--muted);transform:rotate(45deg) translateY(-50%);pointer-events:none;}
.tpl-page .ddb:hover,.tpl-page .ddb:focus{border-color:var(--green);background:#fff;color:var(--ink);}
.tpl-page .ddb.on:hover,.tpl-page .ddb.on:focus{background:var(--green-s);}
.tpl-page .ddb.on{color:var(--ink);font-weight:600;background:var(--green-s);border-color:rgba(22,163,74,.3);}
.tpl-page .ddp{display:none;position:absolute;z-index:30;left:0;top:calc(100% + 6px);min-width:100%;width:max-content;max-width:360px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:6px;}
.tpl-page .dd.open .ddp{display:block;}
.tpl-page .ddp a{display:block;padding:9px 12px;font-size:15px;color:var(--ink);text-decoration:none;border-radius:9px;}
.tpl-page .ddp a:hover{background:var(--bg);}
.tpl-page .ddp a i{display:block;font-style:normal;font-size:13px;color:var(--muted);}
.tpl-page .ddp a.sel{font-weight:600;}
.tpl-page .ddp a.chk{display:flex;align-items:center;gap:10px;}
.tpl-page .ddp a.chk .bx{flex:none;width:17px;height:17px;border:1.5px solid var(--line);border-radius:5px;}
.tpl-page .ddp a.chk.sel .bx{background:var(--green);border-color:var(--green);position:relative;}
.tpl-page .ddp a.chk.sel .bx:after{content:'';position:absolute;left:5px;top:2px;width:5px;height:9px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(40deg);}
.tpl-page .chosen{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;padding:0;list-style:none;}
.tpl-page .chosen li a{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--ink);background:var(--green-s);border:1px solid rgba(22,163,74,.24);border-radius:999px;padding:7px 13px;text-decoration:none;}
.tpl-page .chosen li b{font-weight:600;}
.tpl-page .whatis{margin:-6px 0 16px;font-size:14px;color:var(--muted);}

.tpl-page .filters .ask{flex:none;width:26px;height:26px;font:inherit;font-size:14px;font-weight:600;line-height:1;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:50%;padding:0;cursor:pointer;align-self:center;margin-left:-4px;}
.tpl-page .filters .ask:hover{color:var(--green);border-color:var(--green);}
.tpl-page .defs{display:none;position:absolute;z-index:30;left:0;top:calc(100% + 6px);width:min(470px,100%);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:14px 16px;}
.tpl-page .defs.on{display:block;}
.tpl-page .defs div + div{margin-top:10px;}
.tpl-page .defs b{display:block;font-size:14px;font-weight:600;color:var(--ink);}
.tpl-page .defs span{display:block;font-size:13px;line-height:1.5;color:var(--text);}

.tpl-page .bar{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0 0 20px;}
.tpl-page .view{display:flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;}
.tpl-page .view a{padding:9px 16px;font-size:15px;font-weight:600;text-decoration:none;color:var(--text);background:#fff;}
.tpl-page .view a.on{background:var(--green);color:#fff;}
.tpl-page .bar .cnt{font-size:15px;color:var(--muted);}
.tpl-page .bar .sort{width:auto;flex:0 0 auto;margin-left:auto;font:inherit;font-size:15px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 14px;}

.tpl-page .bar .reach{white-space:nowrap;}
/* Низкое окно (ноутбук, масштаб 125%): до карточек каталога — только воздух поменьше,
   тексты и порядок блоков те же. */
@media (min-width:1025px) and (max-height:760px){
  .tpl-catalog .crumbs{padding-top:10px;}
  .tpl-catalog .band .container{padding-top:16px;padding-bottom:16px;}
  .tpl-catalog .band .lead{line-height:1.4;}
  .tpl-catalog .smod{margin-top:12px;padding:12px 16px;}
  .tpl-catalog .filters{margin:16px 0 12px;}
  .tpl-catalog .bar{margin-bottom:14px;}
}
.tpl-page .rows > .cstate{margin:6px 0;}
.tpl-page .cstate{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 22px;margin:0 0 18px;padding:13px 18px;background:var(--green-s);border:1px solid rgba(22,163,74,.22);border-radius:12px;}
.tpl-page .cstate p{margin:0;font-size:15px;font-weight:600;color:var(--ink);}
.tpl-page .cstate a{font-size:14.5px;font-weight:600;color:var(--green);text-decoration:none;border-bottom:1px solid rgba(22,163,74,.4);}
.tpl-page .cstate a:hover{border-bottom-color:var(--green);}

.tpl-page .pager{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:22px 0 0;}
.tpl-page .pager a, .tpl-page .pager span{display:block;min-width:42px;text-align:center;font-size:15px;font-weight:600;padding:10px 12px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:var(--ink);background:#fff;}
.tpl-page .pager .on{background:var(--green);color:#fff;border-color:var(--green);}

.tpl-page .mapview{height:560px;border-radius:16px;border:1px solid var(--line);}

@media (max-width:960px){
  .tpl-page .band .container{min-height:auto;padding-top:30px;padding-bottom:44px;}
  .tpl-page .row{grid-template-columns:170px minmax(0,1fr);}
  .tpl-page .row .ph, .tpl-page .row .noph{height:126px;}
  .tpl-page .acts{grid-column:1 / -1;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));}
}
@media (max-width:620px){
  .tpl-page .row{grid-template-columns:1fr;}
  .tpl-page .row .ph, .tpl-page .row .noph{height:170px;}
  .tpl-page .bar .sort{margin-left:0;}
  .tpl-page .smod{padding:10px;border-radius:14px;}
  .tpl-page .search{flex-wrap:wrap;padding:6px 6px 6px 12px;}
  .tpl-page .search input{flex:1 1 100%;order:1;}
  .tpl-page .search .go{order:2;flex:1;}
  .tpl-page .search .map{order:3;flex:1;text-align:center;}
  .tpl-page .search .ic{display:none;}
  .tpl-page .frow .dd, .tpl-page .ddb{min-width:0;width:100%;}
  .tpl-page .frow{flex-direction:column;align-items:stretch;}
}

/* --------------------------- Страница площадки --------------------------- */

.tpl-warehouse main{padding:0 0 8px;}
.tpl-warehouse .tags li{font-size:14px;padding:6px 10px;}
.tpl-warehouse .chips li span{font-size:15px;padding:9px 16px;}
.tpl-page .top{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 336px;grid-template-areas:"gal info rail";gap:34px;align-items:start;margin:22px 0 0;}
.tpl-page .gal{grid-area:gal;min-width:0;}
.tpl-page .info{grid-area:info;min-width:0;}
.tpl-page .body{min-width:0;}

.tpl-page .gal .cover{position:relative;display:block;}
.tpl-page .gal .cover img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;border:1px solid var(--line);}
.tpl-page .gal .cnt{position:absolute;top:12px;right:12px;background:rgba(14,18,48,.72);color:#fff;font-size:13px;font-weight:600;border-radius:999px;padding:5px 11px;}
/* Фотографии оператора показываются без наших надписей. Бренд появляется
   только там, где снимка нет. */
.tpl-warehouse .gal .logocover{display:grid;place-items:center;box-sizing:border-box;width:100%;aspect-ratio:4/3;border:1px solid var(--line);border-radius:16px;background:#fff;}
.tpl-warehouse .gal .logocover img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;border-radius:inherit;}
@media (min-width:901px){.tpl-warehouse .top.no-media{grid-template-columns:minmax(0,1fr) 336px;grid-template-areas:"info rail";}}
.tpl-page .gal .thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px 0 0;padding:0;list-style:none;}
.tpl-page .gal .thumbs img{display:block;width:100%;height:62px;object-fit:cover;border-radius:9px;border:1px solid var(--line);cursor:pointer;}
.tpl-page .gal .thumbs img.on{border-color:var(--green);}
.tpl-warehouse h1{margin:0 0 16px;font-size:clamp(26px,2.2vw,34px);line-height:1.18;font-weight:700;}
.tpl-warehouse .geo{margin:0 0 16px;font-size:18px;line-height:1.5;color:var(--text);}
.tpl-warehouse .geo b{color:var(--ink);font-weight:600;}
.tpl-warehouse .sum{margin:0 0 24px;font-size:16px;line-height:1.6;color:var(--text);max-width:62ch;}
.tpl-warehouse .sum:has(+ .sum){margin-bottom:10px;}
.tpl-page .info .tags{margin-bottom:28px;}
.tpl-page .fx{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:20px 26px;margin:0;padding:0;list-style:none;}
.tpl-page .fx li{border-top:1px solid var(--line);padding-top:12px;}
.tpl-page .fx .k{display:block;font-size:14px;color:var(--muted);margin-bottom:3px;}
.tpl-page .fx .val{display:block;font-size:21px;line-height:1.25;font-weight:600;color:var(--ink);}

.tpl-page .rail{grid-area:rail;display:grid;gap:14px;align-content:start;}
.tpl-page .rcard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;box-shadow:var(--shadow);}
.tpl-page .rcard h3{margin:0 0 6px;font-size:19px;font-weight:700;}
.tpl-page .rcard p{margin:0 0 13px;font-size:15px;line-height:1.5;}
.tpl-page .rcard .btn{margin-bottom:8px;}
.tpl-page .rcard .fine{margin:9px 0 0;font-size:13px;line-height:1.4;color:var(--muted);}
.tpl-page .oprow{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-top:1px solid var(--line);padding:16px 0 0;}
/* Логотип идёт целиком, горизонтальной плашкой: марка и название не режутся
   и не загоняются в квадрат. */
.tpl-page img.oplogo{display:block;width:auto;max-width:200px;height:auto;max-height:52px;object-fit:contain;object-position:left center;flex:none;}
.tpl-page .oplogo.ltr{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border:1px solid var(--line);border-radius:12px;background:var(--bg);font-size:21px;font-weight:600;color:var(--muted);flex:none;}
.tpl-page .oprow a.oplogo-link{flex:none;color:inherit;text-decoration:none;}
.tpl-page .oprow .optxt{font-size:17px;color:var(--text);}
.tpl-page .oprow a.opname{color:var(--ink);font-weight:700;text-decoration:none;}
.tpl-page .oprow a.opname:hover,.tpl-page .oprow a.oplogo-link:hover{opacity:.85;}
.tpl-page .oprow .more{margin-left:auto;font-size:16px;font-weight:600;text-decoration:none;}
.tpl-page .oplead{margin:10px 0 0;font-size:16px;line-height:1.5;color:var(--text);max-width:62ch;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;}
.tpl-warehouse #map{height:260px;border-radius:12px;border:1px solid var(--line);background:#f2efe9;}

/* Точка на карте: подпись при наведении — только бренд оператора, клик ведёт
   на страницу площадки. Никаких данных о площадке на карте нет. */
.tplpin{width:16px;height:16px;border-radius:50%;box-sizing:border-box;
  background:rgba(22,163,74,.5);border:2px solid #16A34A;cursor:pointer;}
.leaflet-tooltip.leaflet-tooltip-top{font-size:13.5px;font-weight:600;color:var(--ink);
  border-color:var(--line);border-radius:8px;padding:4px 9px;box-shadow:var(--shadow);}

.tpl-page .anchors{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line);margin:4px 0 0;}
.tpl-page .anchors ul{display:flex;flex-wrap:wrap;gap:26px;margin:0;padding:0;list-style:none;}
.tpl-page .anchors a{display:block;padding:14px 0;font-size:16px;font-weight:600;color:var(--text);text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px;}
.tpl-page .anchors a:hover{color:var(--ink);border-bottom-color:var(--line);}

.tpl-page .sec{margin:30px 0 0;scroll-margin-top:56px;}
.tpl-page .sec h2{font-size:22px;line-height:1.25;margin:0 0 14px;font-weight:700;}
.tpl-page .sec p{margin:0;font-size:17px;line-height:1.62;max-width:860px;}
.tpl-page .specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(212px,1fr));gap:20px 34px;border-top:1px solid var(--line);padding:18px 0 0;}
.tpl-page .specs .col{min-width:0;}
.tpl-page .specs h3{margin:0 0 11px;font-size:13px;font-weight:700;color:var(--coral);text-transform:uppercase;letter-spacing:.4px;}
.tpl-page .specs dl, .tpl-page .specs ul{margin:0;padding:0;list-style:none;}
.tpl-page .specs dl div{display:flex;gap:14px;justify-content:space-between;padding:5px 0;font-size:15px;}
.tpl-page .specs dt{margin:0;color:var(--muted);}
.tpl-page .specs dd{margin:0;color:var(--ink);font-weight:600;text-align:right;}
.tpl-page .specs li{padding:5px 0;font-size:15px;color:var(--ink);}
.tpl-page .sec p.subnote{margin:-6px 0 14px;font-size:14px;line-height:1.45;color:var(--muted);max-width:680px;}
.tpl-page .capg{margin:0 0 16px;}
.tpl-page .capg h3{margin:0 0 8px;font-size:13px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.4px;}
.tpl-page .capg .chips, .tpl-page .capg .tags{margin:0;}
/* Свёрнутые возможности: список в HTML один, лишнее прячет стиль; flat — без заголовков групп, одной строкой чипов (28.10) */
.tpl-page .cut .chips li.x, .tpl-page .cut .capg.x{display:none;}
.tpl-page .cut.flat .capall{display:flex;flex-wrap:wrap;gap:8px;}
.tpl-page .cut.flat .capg, .tpl-page .cut.flat .capg .chips{display:contents;}
.tpl-page .cut.flat .capg h3{display:none;}
.tpl-page .sec p.opmore{margin:12px 0 0;font-size:16px;font-weight:600;}
.tpl-page .sec p.opmore a{text-decoration:none;}

.tpl-page .simhead{display:flex;align-items:baseline;justify-content:space-between;gap:20px;flex-wrap:wrap;}
.tpl-page .simhead a{font-size:16px;font-weight:600;text-decoration:none;}
.tpl-page .sims{display:grid;grid-template-columns:repeat(auto-fill,minmax(336px,1fr));gap:16px;}
.tpl-page .sim{display:grid;grid-template-columns:120px minmax(0,1fr);gap:13px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:11px;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease;}
.tpl-page .sim:hover{transform:translateY(-2px);box-shadow:var(--shadow);}
.tpl-page .sim .ph{display:block;width:120px;height:80px;object-fit:cover;border-radius:9px;border:1px solid var(--line);}
.tpl-page .sim .noph{display:flex;align-items:center;justify-content:center;width:120px;height:80px;border:1px solid var(--line);border-radius:9px;background:linear-gradient(150deg,#f4f6fb,#e9edf7);font-size:11.5px;font-weight:700;color:var(--ink);text-align:center;}
.tpl-page .sim .in{display:block;min-width:0;}
.tpl-page .sim .nm{display:block;font-size:17px;font-weight:700;color:var(--ink);line-height:1.25;margin-bottom:3px;}
.tpl-page .sim .gg{display:block;font-size:14px;color:var(--muted);margin-bottom:8px;}
.tpl-page .sim .tags{margin-bottom:8px;}
.tpl-page .sim .fxs{display:block;font-size:14px;font-weight:600;color:var(--ink);}

/* Нижний призыв на карточке — светлый: тёмный сливался с тёмным подвалом (критика, 30.10). */
.tpl-warehouse .bottom{padding:20px 26px;margin:36px 0 48px;background:var(--green-s);border:1px solid rgba(22,163,74,.22);}
.tpl-warehouse .bottom h2{font-size:22px;margin:0 0 6px;color:var(--ink);}
.tpl-warehouse .bottom p{font-size:15px;color:var(--text);}

.tpl-page .links{display:flex;flex-wrap:wrap;gap:10px 26px;margin:32px 0 0;font-size:16px;font-weight:600;}
.tpl-page .links a{text-decoration:none;}

/* Страница склада по макету 29.10: строка фактов, карточка оператора, полоса параметров, тизеры, «рядом».
   Закреплённой полосы с кнопкой на телефоне нет — кнопка заявки одна (ответ 1, 29.10). */
.tpl-warehouse .factline{margin:0 0 18px;font-size:16px;font-weight:600;color:var(--ink);}
.tpl-page .opcard{display:grid;gap:6px;justify-items:start;}
.tpl-page .opcard a.oplogo-link{margin-bottom:8px;}
.tpl-page .opcard a.opname{font-size:20px;font-weight:700;color:var(--ink);text-decoration:none;line-height:1.25;}
.tpl-page .opcard .opscale{margin:0;font-size:15px;line-height:1.45;color:var(--ink);}
.tpl-page .opcard a.more{font-size:15px;font-weight:600;text-decoration:none;padding:10px 0;margin:-4px 0 -10px;}
.tpl-page .kbar{margin:26px 0 0;background:var(--ink);color:#fff;border-radius:18px;padding:18px 21px;}
.tpl-page .kbar .kmain span{display:block;font-size:13px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#c9cfe8;}
.tpl-page .kbar .kmain b{display:block;margin:4px 0 0;font-size:24px;line-height:1.2;}
.tpl-page .kbar ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px 26px;margin:0;padding:0;list-style:none;align-items:start;}
.tpl-page .kbar .kmain + ul{margin-top:18px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);}
.tpl-page .kbar li b{display:block;font-size:26px;line-height:1.15;font-weight:700;}
.tpl-page .kbar li span{display:block;margin:4px 0 0;font-size:15px;line-height:1.35;color:#e3e7f7;}
.tpl-page .specs dt small{display:block;font-size:13px;line-height:1.35;color:var(--muted);}
.tpl-page .teasers{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px 16px;margin:0;padding:0;list-style:none;}
.tpl-page .teasers a{display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink);}
.tpl-page .teasers a:hover{border-color:var(--green);}
.tpl-page .teasers b{flex:1 1 auto;font-size:16px;font-weight:600;}
.tpl-page .teasers .n{font-size:15px;color:var(--muted);}
.tpl-page .teasers .go{color:var(--link);font-weight:600;}
.tpl-page .near{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none;}
.tpl-page .near a{display:inline-block;min-height:44px;padding:10px 16px;line-height:1.45;border:1px solid var(--line);border-radius:999px;background:var(--bg);font-size:15px;color:var(--ink);text-decoration:none;}
.tpl-page .near a:hover{border-color:var(--green);}
.tpl-page .near span{color:var(--muted);}
/* «О локации» (30.10): текст первым, карта справа от него на всю высоту текста. На телефоне — текст,
   под ним карта. «Другие склады» — отдельным разделом ниже возможностей оператора (владелец 30.10). */
.tpl-warehouse .gde-main{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px 34px;align-items:stretch;}
.tpl-warehouse .gde-main.one{grid-template-columns:minmax(0,1fr);}
.tpl-warehouse .gde-main .place{display:flex;flex-direction:column;min-width:0;}
.tpl-warehouse .gde-main #map{flex:1 1 auto;height:auto;min-height:280px;}
.tpl-warehouse .gde-main.one #map{flex:none;height:260px;min-height:0;}
.tpl-warehouse .gde h3{margin:0 0 10px;font-size:17px;font-weight:600;}
.tpl-warehouse .gde p.mapnote{margin:8px 0 0;font-size:13px;line-height:1.4;color:var(--muted);}
.tpl-warehouse .loc{min-width:0;}
.tpl-warehouse .loc p{margin:0 0 10px;line-height:1.6;}
.tpl-warehouse .loc p:last-child{margin-bottom:0;}
.tpl-warehouse .loc .locaddr{color:var(--ink);}
.tpl-warehouse .loc .locaddr b{font-weight:600;}
.tpl-page .near.col{flex-direction:column;align-items:flex-start;}
@media (max-width:760px){.tpl-warehouse .gde-main{grid-template-columns:minmax(0,1fr);}.tpl-warehouse .gde-main #map{flex:none;height:220px;min-height:0;}.tpl-company .row.site{grid-template-columns:1fr;}.tpl-company .chanlist li{flex-direction:column;gap:2px;}.tpl-company .chanlist b{flex:none;}}

/* Характеристики — один список «название — значение» в две колонки, без повторов полосы (критика, 30.10). */
.tpl-warehouse .specs.kv2{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px;margin:0;padding:0;}
.tpl-warehouse .specs.kv2 > div{display:flex;gap:14px;justify-content:space-between;align-items:baseline;padding:11px 0;border-bottom:1px solid var(--line);font-size:15px;}
@media (max-width:760px){.tpl-warehouse .specs.kv2{grid-template-columns:minmax(0,1fr);}}

/* Возможности оператора: ряды без дыр — --per плиток в ряду, неполный ряд растягивается (критика, 30.10). */
.tpl-warehouse .teasers{display:flex;flex-wrap:wrap;}
.tpl-warehouse .teasers li{flex:1 1 calc((100% - (var(--per, 3) - 1) * 16px) / var(--per, 3));min-width:0;}
.tpl-warehouse .teasers a{height:100%;box-sizing:border-box;}
@media (max-width:900px){.tpl-warehouse .teasers li{flex-basis:calc((100% - 16px) / 2);}}
@media (max-width:600px){.tpl-warehouse .teasers li{flex-basis:100%;}}
/* Цель нажатия 44 px на телефоне без сдвига вёрстки (ревью 29.10, В6). */
@media (max-width:900px){.tpl-warehouse .crumbs a, .tpl-company .crumbs a{display:inline-block;padding:13px 0;margin:-13px 0;}}

@media (max-width:1180px){
  .tpl-page .top{grid-template-columns:minmax(0,1fr) 320px;grid-template-areas:"info rail" "gal rail";gap:22px 30px;}
}
@media (max-width:900px){
  .tpl-page .top{grid-template-columns:1fr;grid-template-areas:none;gap:20px;}
  .tpl-page .rail{display:contents;}
  .tpl-page .info, .tpl-page .gal, .tpl-page .rcard, .tpl-page .place{grid-area:auto;}
  .tpl-page .info{order:1;}
  .tpl-page .rcard.cta{order:2;}
  .tpl-page .gal{order:3;}
  .tpl-page .rcard.opcard{order:4;}
  .tpl-warehouse #map{height:220px;}
  .tpl-page .kbar ul{grid-template-columns:repeat(3,minmax(0,1fr));}
  /* Карточка склада на телефоне: фото сразу под заголовком и городом, потом факты и текст,
     потом кнопка и оператор (критика карточки, владелец 30.10). */
  .tpl-warehouse .top{gap:0;}
  .tpl-warehouse .info{display:contents;}
  .tpl-warehouse .info > h1, .tpl-warehouse .info > .geo{order:1;}
  .tpl-warehouse .gal{order:2;margin:0 0 20px;}
  .tpl-warehouse .info > :not(h1):not(.geo){order:3;}
  .tpl-warehouse .rcard.cta{order:4;margin:0 0 14px;}
  .tpl-warehouse .rcard.opcard{order:5;}
}
@media (max-width:600px){
  .tpl-page .kbar{padding:18px 18px;}
  .tpl-page .kbar ul{grid-template-columns:1fr 1fr;}
  .tpl-page .kbar li b{font-size:22px;}
}

/* --------------------------- Страница компании --------------------------- */

.tpl-company main{padding:0 0 96px;}

.tpl-page .prof{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px 28px;align-items:start;margin:22px 0 0;}
.tpl-page .prof .lg{display:flex;align-items:center;margin:16px 0 0;}
.tpl-page .prof .lg img{width:auto;max-width:240px;height:auto;max-height:52px;object-fit:contain;object-position:left center;}
.tpl-page .prof .lg.big img{max-width:300px;max-height:68px;}
.tpl-page .prof .lg + .tags{margin-top:16px;}
.tpl-page .prof h1{margin:0;font-size:clamp(29px,2.7vw,38px);line-height:1.15;}
.tpl-page .prof .sub{margin:4px 0 0;font-size:14.5px;color:var(--muted);}
.tpl-page .prof .agg{margin:6px 0 0;font-size:15px;font-weight:600;line-height:1.5;color:var(--ink);}
.tpl-page .prof .tags{margin:10px 0 0;}
.tpl-page .prof .lead{margin:12px 0 0;font-size:16px;line-height:1.55;color:var(--text);max-width:62ch;}
.tpl-page .prof .hcta{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px;box-shadow:var(--shadow);}
.tpl-page .prof .hcta .fine{margin:10px 0 0;font-size:13px;line-height:1.4;color:var(--muted);}
.tpl-page .prof .hcta h3{margin:0 0 6px;font-size:19px;font-weight:700;}
.tpl-page .prof .hcta p{margin:0 0 13px;font-size:15px;line-height:1.5;color:var(--text);}

.tpl-page h2.sec{margin:38px 0 14px;font-size:21px;}

.tpl-page .facts{display:grid;gap:12px;}
.tpl-page .facts > div{display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px;align-items:center;border-top:1px solid var(--line);padding:12px 0 0;}
.tpl-page .facts span{font-size:14px;color:var(--muted);}
.tpl-page .facts .tags{margin:0;}

.tpl-company .capg{margin:0 0 18px;}
.tpl-company .capg.long .tags{max-height:132px;overflow:hidden;}

.tpl-page .claim{margin:0 0 8px;font-size:14.5px;color:var(--muted);}
.tpl-page .claim a{font-weight:600;}

.tpl-company .map.tall{height:320px;}
/* Фон — цвет суши OSM: на дробном масштабе экрана между плитками бывает щель, светлый фон давал белую полосу (30.10). */
.tpl-company .map{height:240px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#f2efe9;}
.tpl-company .mapnote{margin:10px 0 16px;}

.tpl-company .geo{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px 24px;margin:0;padding:0;list-style:none;}
.tpl-company .geo li{display:flex;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding:9px 0;font-size:14.5px;color:var(--ink);}
.tpl-company .geo li span{color:var(--muted);white-space:nowrap;}

.tpl-company .row.site .fxs{margin:0 0 6px;}
.tpl-company .row.site .gg{margin:0 0 8px;}

/* Страница компании по макету 29.10: полоса масштаба, «О компании» с «Коротко», свод, география, возможности, системы. */
.tpl-company .kbar ul{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));}
.tpl-company .about-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px 40px;border-top:1px solid var(--line);padding-top:18px;}
.tpl-company .about-grid .lead{margin:0;font-size:17px;line-height:1.62;color:var(--ink);max-width:none;}
.tpl-company .specs.short{display:block;border-top:0;padding:0;}
/* «О компании» абзацами (30.10): одна колонка, строка не шире 820 px. */
.tpl-company .about-grid.one{grid-template-columns:minmax(0,1fr);}
.tpl-company .about-text{max-width:820px;}
.tpl-company .about-text .lead + .lead{margin-top:14px;}
.tpl-company .about-grid > .specs.short:only-child{max-width:420px;}
.tpl-company .specs dt.v{color:var(--ink);}
.tpl-company .specs dd{font-weight:500;color:var(--muted);}
.tpl-company .specs.short dd{font-weight:600;color:var(--ink);}
/* Возможности и системы — строками «группа слева — плашки справа», одна сетка на оба раздела (владелец 30.10). */
.tpl-company .caprows{border-top:1px solid var(--line);}
.tpl-company .capg.caprow{display:grid;grid-template-columns:220px minmax(0,1fr);gap:10px 32px;align-items:start;margin:0;padding:16px 0;border-bottom:1px solid var(--line);}
.tpl-company .caprow h3{margin:9px 0 0;font-size:15px;line-height:1.35;font-weight:700;color:var(--ink);text-transform:none;letter-spacing:0;}
.tpl-company .caprow .chips li span{border-color:#d3d9e6;}
.tpl-company .caprow .chanlist{padding-top:5px;}
.tpl-company .caprow .chanlist li{border-top:0;padding:4px 0;}
.tpl-company .caprow .chanlist b{flex-basis:200px;}
.tpl-company .caprow .wms{margin:9px 0 0;}
@media (max-width:760px){.tpl-company .capg.caprow{grid-template-columns:minmax(0,1fr);gap:10px;}.tpl-company .caprow h3{margin:0;}.tpl-company .caprow .chanlist{padding-top:0;}.tpl-company .caprow .wms{margin:0;}}
.tpl-company .capmore{margin:10px 0 0;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;font:inherit;font-size:14px;font-weight:600;color:var(--link);cursor:pointer;}
.tpl-company .chanlist{margin:0;padding:0;list-style:none;}
.tpl-company .chanlist li{display:flex;gap:16px;align-items:baseline;border-top:1px solid var(--line);padding:9px 0;}
.tpl-company .chanlist b{flex:0 0 240px;font-size:15px;color:var(--ink);}
.tpl-company .chanlist span{font-size:14px;line-height:1.45;color:var(--muted);}
.tpl-company .capg .wms{margin:0;font-size:16px;font-weight:600;color:var(--ink);}
.tpl-company .row.site{position:relative;grid-template-columns:260px minmax(0,1fr);}
.tpl-company .row.site .ph{height:172px;background:#fff;}
.tpl-company .row.site .ph img{display:block;width:100%;height:100%;box-sizing:border-box;padding:18px 24px;object-fit:contain;}
.tpl-company .row.site .ph img.site-photo{padding:0;object-fit:cover;border-radius:inherit;}
.tpl-company .row.site .noph{height:100%;}
.tpl-company .row.site a.nm{font-size:21px;font-weight:700;margin:0 0 6px;}
.tpl-company .row.site a.nm::after{content:"";position:absolute;inset:0;border-radius:14px;}
.tpl-company .row.site:hover{border-color:var(--green);}
.tpl-company .row.site .go{display:inline-block;margin:2px 0 0;font-size:15px;font-weight:600;color:var(--link);}
.tpl-company .row.site .tags{margin:8px 0 6px;}
/* Телефон: фото над текстом. Правило стоит после общего — раньше общее перебивало его,
   и текст сжимался в узкую колонку рядом с фото (30.10). */
@media (max-width:760px){.tpl-company .row.site{grid-template-columns:minmax(0,1fr);}}
/* Больше 10 складов: видны первые 10, остальные — по «Показать все N» (владелец, 29.10). */
.tpl-company .rows.cut > .row.x{display:none;}
.tpl-company .rowsmore{margin:12px 0 0;}
/* Зелёный — только для действий: теги на странице компании нейтральные, основной — тёмный (К9). */
.tpl-company .tags li{color:var(--ink);background:#eef1f7;}
.tpl-company .tags li.main{color:#fff;background:var(--ink);}
.tpl-company .chips li span{display:flex;align-items:center;min-height:38px;padding:7px 15px;}
.tpl-company .sec p.mapnote{margin:8px 0 0;font-size:13px;line-height:1.4;color:var(--muted);}
/* Переход по якорю со страницы склада: раздел не прячется под закреплённой шапкой темы (84 / 54 px). */
.tpl-company .sec, .tpl-company .capg{scroll-margin-top:104px;}
@media (max-width:1024px){.tpl-company .sec, .tpl-company .capg{scroll-margin-top:74px;}}

@media (max-width:900px){
  .tpl-page .prof{grid-template-columns:1fr;}
  .tpl-company .about-grid{grid-template-columns:1fr;}
}
@media (max-width:620px){
  .tpl-page .prof{gap:14px;}
  .tpl-page .prof .lg img, .tpl-page .prof .lg.big img{max-width:200px;max-height:52px;}
}

/* ---------------------- Вход для операторов и формы ---------------------- */

.tpl-lite main{padding:0 0 72px;}
.tpl-lite .container{max-width:1080px;}

.tpl-page .opband{background:var(--nav);}
.tpl-page .opband .container{padding-top:52px;padding-bottom:52px;max-width:880px;text-align:center;}
.tpl-page .opband h1{margin:0 0 12px;font-size:clamp(26px,2.6vw,36px);line-height:1.16;color:#fff;}
.tpl-page .opband p{margin:0 auto 22px;max-width:620px;font-size:17px;line-height:1.55;color:#b9c0d6;}
.tpl-page .opband .acts2{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}

.tpl-page .steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:34px 0 0;padding:0;list-style:none;}
.tpl-page .steps li{border-top:2px solid var(--green);padding:14px 0 0;}
.tpl-page .steps b{display:block;font-size:16px;color:var(--ink);margin-bottom:5px;}
.tpl-page .steps span{font-size:15px;line-height:1.5;}

.tpl-page .card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:28px 30px;margin:26px auto 0;max-width:520px;}
.tpl-page .card h1{margin:0 0 6px;font-size:25px;}
.tpl-page .card .sub{margin:0 0 22px;font-size:15px;line-height:1.5;color:var(--muted);}
.tpl-page .fld{display:block;margin:0 0 16px;}
.tpl-page .fld > span{display:block;font-size:14px;color:var(--ink);font-weight:600;margin-bottom:6px;}
.tpl-page .fld input,.tpl-page .fld select{width:100%;font:inherit;font-size:16px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:11px;padding:12px 14px;}
.tpl-page .fld input:focus,.tpl-page .fld select:focus{outline:none;border-color:var(--green);}
.tpl-page .fld .hint{display:block;margin-top:5px;font-size:13px;color:var(--muted);}
.tpl-page .fld.bad input,.tpl-page .fld.bad select{border-color:var(--coral);}
.tpl-page .foundbox{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:12px 14px;margin:0 0 18px;font-size:14px;line-height:1.5;color:var(--ink);}
.tpl-page .fld .err{display:block;margin-top:5px;font-size:13px;color:var(--coral);}
.tpl-page .fld input:disabled{background:#f4f6fa;color:#9aa1b5;}
.tpl-page .step{margin:0 0 6px;font-size:13px;color:var(--muted);}
.tpl-page .askbox{background:#f7f9fc;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:0 0 8px;font-size:15px;line-height:1.5;color:var(--ink);}
.tpl-page .askbox p{margin:0;}
.tpl-page .ask-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;}
.tpl-page .agree{display:flex;gap:10px;align-items:flex-start;margin:0 0 14px;font-size:13.5px;line-height:1.5;color:var(--text);}
.tpl-page .agree input{margin-top:3px;}
.tpl-page .agree.bad b,.tpl-page .agree b{display:block;margin-top:4px;color:var(--coral);font-weight:600;}
.tpl-page .back{margin:14px 0 0;text-align:center;font-size:14px;}
.tpl-page .back a{color:var(--muted);text-decoration:none;}
.tpl-page .card .foot{margin:18px 0 0;font-size:14.5px;color:var(--muted);text-align:center;}
.tpl-page .card .foot a{font-weight:600;text-decoration:none;}
.tpl-page .warnbox{background:rgba(210,86,74,.08);border:1px solid rgba(210,86,74,.25);border-radius:12px;padding:12px 14px;margin:0 0 18px;font-size:14px;line-height:1.5;color:var(--ink);}
.tpl-page .seohub{margin:40px 0 0;padding:28px 0 0;border-top:1px solid var(--line);}
.tpl-page .seohub h2{margin:0 0 14px;font-size:20px;}
.tpl-page .seohub ul{display:flex;flex-wrap:wrap;gap:8px 10px;margin:0;padding:0;list-style:none;}
.tpl-page .seohub a{display:block;background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:8px 14px;font-size:14px;color:var(--ink);text-decoration:none;}
.tpl-page .seohub a:hover{border-color:var(--green);color:var(--green);}
.tpl-page .seohub.svc{margin-bottom:8px;}
.tpl-page .seohub.svc ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;}
.tpl-page .seohub.svc a{border-radius:12px;padding:14px 16px;font-weight:600;}

/* ===== Каталог v8 (решения 26.10, макет docs/seo-issledovanie/katalog-maket-25-10/katalog-v8.html) ===== */
/* Герой: слева заголовок и поиск по каталогу, справа подбор одной кнопкой. */
.tpl-catalog .band .container.hero2{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:28px;align-items:center;text-align:left;padding-top:30px;padding-bottom:30px;}
.tpl-catalog .hero2 .lead{margin:0;max-width:640px;}
.tpl-catalog .hero2 .smod{width:auto;margin:18px 0 0;}
.tpl-catalog .pick{background:#fff;border-radius:18px;padding:22px 24px;box-shadow:0 14px 40px rgba(8,12,40,.28);}
.tpl-catalog .pick p{margin:0;}
.tpl-catalog .pick .pick-k{font-size:13px;font-weight:600;color:var(--green);margin-bottom:6px;}
.tpl-catalog .pick .pick-t{font-size:21px;font-weight:700;line-height:1.25;color:var(--ink);margin-bottom:8px;}
.tpl-catalog .pick .pick-s{font-size:14.5px;line-height:1.5;color:var(--text);margin-bottom:16px;}
.tpl-catalog .pick .btn{display:block;width:100%;}
.tpl-catalog .pick .pick-f{font-size:13px;color:var(--muted);text-align:center;margin-top:8px;}

/* Выдача: плитки по 4 в ряд, без кнопки — ссылка вся плитка (вариант А, владелец 29.10). */
.tpl-catalog .tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
@media (max-width:1199px){.tpl-catalog .tiles{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:899px){.tpl-catalog .tiles{grid-template-columns:repeat(2,minmax(0,1fr));}}
.tpl-catalog .tiles > .cstate{grid-column:1 / -1;margin:0;}
.tpl-catalog .tile{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:box-shadow .18s ease, border-color .18s ease;}
.tpl-catalog .tile:hover{box-shadow:var(--shadow);border-color:#cfd6e6;}
.tpl-catalog .tile:hover .nm a{color:var(--green);}
/* Логотип занимает окно плитки с сохранением пропорций. */
.tpl-catalog .tile .tph{position:relative;display:block;height:120px;background:#fff;}
.tpl-catalog .tile .tph img{display:block;width:100%;height:100%;box-sizing:border-box;padding:18px 24px;object-fit:contain;}
.tpl-catalog .tile .noph{display:flex;align-items:center;justify-content:center;height:100%;background:linear-gradient(150deg,#f4f6fb,#e9edf7);font-size:15px;font-weight:700;color:var(--ink);}
.tpl-catalog .tile .tbd{flex:1;padding:12px 14px 14px;}
.tpl-catalog .tile .tags{margin:0 0 8px;}
.tpl-catalog .tile .tags li{font-size:12px;font-weight:500;padding:2px 8px;}
.tpl-catalog .tile .nm{margin:0 0 8px;font-size:16px;line-height:1.3;font-weight:700;}
.tpl-catalog .tile .nm a{color:var(--ink);text-decoration:none;}
.tpl-catalog .tile .nm a::after{content:"";position:absolute;inset:0;z-index:1;}
.tpl-catalog .tile .nm a:hover{color:var(--green);}
.tpl-catalog .tile .nm-pl{font-weight:500;color:var(--text);}
/* Строка оператора — отдельная зона внизу плитки, ведёт на страницу компании (вариант 3, 29.10). */
.tpl-catalog .tile .orow{position:relative;z-index:2;display:flex;align-items:center;gap:10px;padding:8px 14px;min-height:50px;box-sizing:border-box;border-top:1px solid var(--line);
  font-size:13px;line-height:1.35;color:var(--text);text-decoration:none;background:#fbfcfe;}
.tpl-catalog .tile a.orow:hover{background:var(--bg);}
.tpl-catalog .tile .oname{flex:1;min-width:0;}
.tpl-catalog .tile .oname b{font-weight:600;color:var(--ink);}
.tpl-catalog .tile .oarr{flex:none;font-size:17px;color:var(--muted);}
.tpl-catalog .tile a.orow:hover .oarr, .tpl-catalog .tile a.orow:hover .oname b{color:var(--green);}
.tpl-catalog .tile .fx{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;}
.tpl-catalog .tile .fx li{font-size:12.5px;font-weight:600;color:var(--ink);background:var(--bg);border-radius:6px;padding:3px 7px;}

.tpl-catalog .seohub a i{font-style:normal;color:var(--muted);margin-left:4px;}
.tpl-catalog .bottom .bottom-a{display:flex;flex-direction:column;align-items:center;gap:8px;}
.tpl-catalog .bottom .bottom-a span{font-size:13px;color:#b9c0d6;}

/* «Рядом, в Московской области» под выдачей Москвы (29.10). */
.tpl-catalog .nearby{margin:40px 0 0;padding:28px 0 0;border-top:1px solid var(--line);}
.tpl-catalog .nearby-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 20px;margin:0 0 16px;}
.tpl-catalog .nearby-h h2{margin:0;font-size:20px;}
.tpl-catalog .nearby-h a{font-size:15px;font-weight:600;color:var(--green);text-decoration:none;}
.tpl-catalog .nearby-h a:hover{text-decoration:underline;}

@media (max-width:960px){
  .tpl-catalog .band .container.hero2{grid-template-columns:1fr;gap:18px;padding-top:22px;padding-bottom:24px;}
  .tpl-catalog .pick{padding:18px;}
  .tpl-catalog .pick .pick-t{font-size:19px;}
}
@media (max-width:620px){
  .tpl-catalog .tiles{grid-template-columns:1fr;gap:14px;}
  .tpl-catalog .tile .tph{height:140px;}
  /* Ряд фильтров здесь колонкой: основа flex 340px становилась высотой списка «Вид услуги». */
  .tpl-catalog .frow .dd{flex:none;}
}

/* 11.11.2026: в колонке канала desktop flex-basis превращался в высоту. */
@media (max-width:760px){.tpl-company .caprow .chanlist li{gap:2px;}.tpl-company .caprow .chanlist b{flex:none;}}

.tpl-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex: none;
    box-sizing: border-box;
    border: 1px solid #dce2ef;
    border-radius: 12px;
    background: #f1f4fa;
    color: #202754;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
