/* page-katalog.css — /uslugi/ (из design/katalog/index.html, без ct-nav/chip/tone/ph) */
.ct-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 28px;}
.ct-head .pl-sec__intro{margin-bottom:0;}
.ct-head__link{margin-bottom:6px;display:none;} /* section_link_enabled=false */

.ct-card__city{position:absolute;top:14px;right:14px;z-index:2;padding:4px 10px;border-radius:100px;background:#FFD400;font-family:Futura,Jost,sans-serif;font-weight:600;font-size:12px;line-height:1.3;color:#1A1A1A;}
.ct-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:320px;gap:20px;grid-auto-flow:dense;}
.ct-card{position:relative;display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 4px 20px rgba(0,0,0,.08);transition:transform .25s ease,box-shadow .25s ease;text-decoration:none;color:inherit;}
.ct-card--xl,.ct-card[data-size="xl"]{grid-column:span 2;grid-row:span 2;}
.ct-card--w,.ct-card[data-size="w"]{grid-column:span 2;}
.ct-card:hover,.ct-card:focus-visible{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.14);outline:none;}
.ct-card__photo{position:relative;flex:1 1 auto;min-height:0;display:flex;align-items:flex-end;justify-content:flex-start;padding:20px 22px;overflow:hidden;}
.ct-card__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.ct-card__photo--img{background:#3a342f;}
.ct-card__photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(0,0,0,.55) 100%);}
.ct-card__probs{position:relative;z-index:1;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;}
.ct-card__probs li{font-family:Futura,Jost,sans-serif!important;font-weight:400!important;font-size:16px!important;line-height:1.35!important;letter-spacing:normal!important;color:#fff;}
.ct-card--xl .ct-card__probs li,.ct-card[data-size="xl"] .ct-card__probs li{font-size:20px!important;}
.ct-card__bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 16px 22px;background:#fff;}
.ct-card__name{margin:0;font-family:Futura,Jost,sans-serif!important;font-weight:600!important;font-synthesis:none;font-size:18px!important;line-height:1.25!important;letter-spacing:normal!important;color:#1A1A1A;}
.ct-card--xl .ct-card__name,.ct-card[data-size="xl"] .ct-card__name{font-size:22px!important;}
.ct-card__arrow{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1.5px solid #1A1A1A;color:#1A1A1A;transition:background .2s,border-color .2s;}
.ct-card__arrow svg{width:20px;height:20px;}
.ct-card:hover .ct-card__arrow,.ct-card:focus-visible .ct-card__arrow{background:#FFD400;border-color:#FFD400;}

@media (max-width:1100px){
  .ct-bento{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:280px;}
  .ct-card--w,.ct-card[data-size="w"]{grid-column:span 2;}
}
@media (max-width:767px){
  .ct-head{flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:20px;}
  .ct-head__link{margin:0;}
  .ct-bento{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:12px;}
  .ct-card{border-radius:12px;}
  .ct-card--xl,.ct-card--w,.ct-card[data-size="xl"],.ct-card[data-size="w"]{grid-column:span 2;grid-row:auto;}
  .ct-card__photo{min-height:165px;padding:14px;}
  .ct-card--xl .ct-card__photo,.ct-card[data-size="xl"] .ct-card__photo{min-height:260px;}
  .ct-card--w .ct-card__photo,.ct-card[data-size="w"] .ct-card__photo{min-height:170px;}
  .ct-card__probs li{font-size:14px!important;}
  .ct-card--xl .ct-card__probs li,.ct-card[data-size="xl"] .ct-card__probs li{font-size:18px!important;}
  .ct-card__bar{padding:12px 12px 12px 14px;}
  .ct-card__name{font-size:15px!important;}
  .ct-card--xl .ct-card__name,.ct-card[data-size="xl"] .ct-card__name{font-size:19px!important;}
  .ct-card__arrow{width:34px;height:34px;}
  .ct-card__arrow svg{width:16px;height:16px;}
}
@media (prefers-reduced-motion:reduce){.ct-card{transition:none;}.ct-card:hover,.ct-card:focus-visible{transform:none;}}

/* Bricks typography leak на шапке/разделах */
body.page-katalog .pl-crumbs,
body.page-katalog .pl-crumbs a,
body.page-katalog .pl-crumbs__cur,
body.page-katalog .pl-crumbs .brxe-text-basic{
  font-family:Futura,Jost,sans-serif!important;
  letter-spacing:normal!important;
  line-height:normal!important;
}
/* Bricks кладёт крошки в .brxe-text-basic — без прямого «›» высота схлопывается; min-height = макет */
body.page-katalog .pl-crumbs{min-height:20px;}
@media (max-width:767px){
  body.page-katalog .pl-crumbs{min-height:19px;}
}
body.page-katalog .pl-facts li,
body.page-katalog .pl-sec__title,
body.page-katalog .pl-sec__intro,
body.page-katalog .ct-chip,
body.page-katalog .pl-hero__h1,
body.page-katalog .pl-help__title,
body.page-katalog .pl-help__sub,
body.page-katalog .pl-help__btn{
  font-family:Futura,Jost,sans-serif!important;
  letter-spacing:normal!important;
}
body.page-katalog .pl-facts li{font-weight:600!important;font-size:16px!important;line-height:1.2!important;}
body.page-katalog .pl-sec__title{font-weight:600!important;font-synthesis:none;font-size:36px!important;line-height:1.2!important;}
body.page-katalog .pl-sec__intro{font-weight:500!important;font-size:19px!important;line-height:1.6!important;}
body.page-katalog .ct-chip{font-weight:600!important;font-size:15px!important;line-height:1.2!important;}
body.page-katalog .ct-card__city{font-family:Futura,Jost,sans-serif!important;font-weight:600!important;font-size:12px!important;line-height:1.3!important;letter-spacing:normal!important;}
@media (max-width:767px){
  body.page-katalog .pl-facts li{font-size:15px!important;}
  body.page-katalog .pl-sec__title{font-size:26px!important;}
  body.page-katalog .pl-sec__intro{font-size:17px!important;}
  body.page-katalog .ct-chip{font-size:14px!important;}
}

/* кнопки страницы (шорткод/html не тянет global btn) */
.page-katalog .btn-primary,.page-katalog .btn-secondary{
  position:relative;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  flex:1 1 0;align-self:stretch; /* как в макете: stretch+height → flex-start в help */
  border-radius:8px;font-family:Futura,Jost,sans-serif!important;font-weight:600!important;font-size:16px!important;line-height:1.25;text-align:center;cursor:pointer;text-decoration:none;
}
.page-katalog .pl-help__btn{flex:none;align-self:stretch;width:auto;min-height:56px;height:56px;padding:0 32px;white-space:nowrap;}
.page-katalog .btn-primary{background:#FFD400;color:#000;border:none;transition:background .2s,box-shadow .2s;}
.page-katalog .btn-primary:hover{background:#FFD400;box-shadow:0 0 14px 2px rgba(255,212,0,.4),0 0 24px 6px rgba(255,212,0,.15);}
.page-katalog .btn-primary .btn-svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:rgba(255,255,255,.85);stroke-width:2px;stroke-dasharray:200 2000;stroke-dashoffset:200;transition:stroke-dashoffset .85s ease-in-out;pointer-events:none;overflow:visible;}
.page-katalog .btn-primary:hover .btn-svg{stroke-dashoffset:-2000;}

body.page-katalog #brx-content,
body.page-katalog #brx-content > .brxe-section:not(.final-cta),
body.page-katalog #brx-content > .brxe-section:not(.final-cta) > .brxe-container{
  max-width:none!important;width:100%!important;
  padding-left:0!important;padding-right:0!important;
  margin-left:0!important;margin-right:0!important;
}
body.page-katalog #brx-content > .brxe-section.final-cta{
  max-width:none!important;width:100%!important;
  margin-left:0!important;margin-right:0!important;
}
