/* FinKontur: real financial service directory, independently styled from landing pages. */
body.services-catalog{
  --navy:#27374D;--ink:#27374D;--pale:#F5FBFF;
  --muted:#304B68;--line:rgba(39,55,77,.13);
  font-family:"Onest",Arial,sans-serif;
}
body.services-catalog .pagehero.pagehero-photo{
  display:flex!important;
  align-items:center;
  min-height:0!important;
  padding:clamp(53px,5.2vw,78px) 0!important;
  background-color:#F5FBFF!important;
  background-position:var(--pagehero-position,center)!important;
  background-size:cover!important;
  isolation:isolate;
}
body.services-catalog .pagehero.pagehero-photo::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(90deg,
    rgba(245,251,255,.99) 0%,
    rgba(245,251,255,.975) 32%,
    rgba(245,251,255,.86) 55%,
    rgba(245,251,255,.38) 80%,
    rgba(245,251,255,.16) 100%)!important;
}
body.services-catalog .services-catalog-hero>.wrap{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
  position:relative;
  z-index:1;
}
body.services-catalog .services-catalog-intro{max-width:730px}
body.services-catalog .services-catalog-intro h1{
  margin:0 0 20px;
  font-size:clamp(46px,5vw,68px);
  font-weight:700;
  line-height:1.05;
  letter-spacing:-.045em;
  color:#27374D;
}
body.services-catalog .services-catalog-intro p{
  max-width:650px;
  margin:0 0 25px;
  font-size:clamp(16px,1.35vw,19px);
  line-height:1.6;
  color:#304B68;
}
body.services-catalog .services-catalog-intro .btn{
  min-height:46px;
  padding:11px 22px;
  font-size:14px;
  border-radius:999px;
}
body.services-catalog .services-directory{
  padding:56px 0 76px;
  background:#fff;
}
body.services-catalog .services-directory__heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:27px;
}
body.services-catalog .services-directory__heading h2{
  margin:0;
  font-size:clamp(32px,3.3vw,44px);
  font-weight:700;
  line-height:1.13;
  letter-spacing:-.04em;
  color:#27374D;
}
body.services-catalog .services-directory__heading p{
  max-width:395px;
  margin:0;
  font-size:14px;
  line-height:1.5;
  color:#304B68;
}
body.services-catalog .services-directory__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
body.services-catalog .service-entry{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:203px;
  padding:23px 22px 21px;
  border-radius:18px;
  border:1px solid rgba(39,55,77,.13);
  background:linear-gradient(145deg,#F5FBFF 0%,#fff 82%);
  box-shadow:0 3px 13px rgba(39,55,77,.025);
  text-decoration:none;
  color:#27374D;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
body.services-catalog .service-entry h3{
  margin:0 0 11px;
  font-weight:700;
  font-size:clamp(19px,1.55vw,22px);
  line-height:1.19;
  letter-spacing:-.025em;
  color:#27374D;
}
body.services-catalog .service-entry p{
  margin:0;
  font-size:13px;
  line-height:1.5;
  color:#304B68;
}
body.services-catalog .service-entry__more{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:auto;
  padding-top:19px;
  font-size:13px;
  font-weight:700;
  color:#304B68;
}
body.services-catalog .service-entry__more span{
  font-size:19px;
  line-height:1;
  transition:transform .2s ease;
}
body.services-catalog .service-entry:hover{
  border-color:#8FAFCC;
  transform:translateY(-3px);
  box-shadow:0 12px 29px rgba(39,55,77,.08);
}
body.services-catalog .service-entry:hover .service-entry__more span{transform:translateX(4px)}
body.services-catalog .service-entry:focus-visible{
  outline:3px solid #8FAFCC;
  outline-offset:3px;
}
@media(max-width:1080px){
  body.services-catalog .services-directory__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.services-catalog .service-entry{min-height:176px}
}
@media(max-width:700px){
  body.services-catalog .pagehero.pagehero-photo{padding:46px 0 48px!important}
  body.services-catalog .pagehero.pagehero-photo::before{
    background:linear-gradient(180deg,
      rgba(245,251,255,.97) 0%,
      rgba(245,251,255,.94) 56%,
      rgba(245,251,255,.76) 100%)!important;
  }
  body.services-catalog .services-catalog-hero>.wrap{width:calc(100% - 32px)}
  body.services-catalog .services-catalog-intro h1{
    font-size:clamp(40px,10vw,50px);
    margin-bottom:17px;
  }
  body.services-catalog .services-catalog-intro p{font-size:15px;line-height:1.55;margin-bottom:23px}
  body.services-catalog .services-directory{padding:43px 0 54px}
  body.services-catalog .services-directory__heading{display:block;margin-bottom:21px}
  body.services-catalog .services-directory__heading h2{font-size:35px}
  body.services-catalog .services-directory__heading p{font-size:14px;margin-top:12px}
  body.services-catalog .services-directory__grid{grid-template-columns:1fr;gap:12px}
  body.services-catalog .service-entry{min-height:0;padding:21px 22px}
  body.services-catalog .service-entry h3{font-size:21px}
  body.services-catalog .service-entry p{font-size:14px}
  body.services-catalog .service-entry__more{padding-top:15px}
}
@media(prefers-reduced-motion:reduce){
  body.services-catalog .service-entry,
  body.services-catalog .service-entry__more span{transition:none}
}

/* fin-catalog-cta-pair: phone call versus written calculation request. */
body.services-catalog .catalog-actions{
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;
}
body.services-catalog .catalog-actions .btn.ghost{
  background:rgba(255,255,255,.85);
  border-color:#27374D;
  color:#27374D;
}
@media(max-width:700px){
  body.services-catalog .catalog-actions{
    display:flex;flex-direction:column;align-items:stretch;
  }
  body.services-catalog .catalog-actions .btn{
    width:100%;min-height:48px;text-align:center;white-space:normal;
  }
}

/* Desktop catalog: remove excess hero whitespace and fit the two rows comfortably. */
@media(min-width:1081px){
 body.services-catalog .pagehero.pagehero-photo{padding:22px 0 24px!important}
 body.services-catalog .services-catalog-intro h1{margin-bottom:10px}
 body.services-catalog .services-catalog-intro p{margin-bottom:12px;line-height:1.4}
 body.services-catalog .services-directory{padding:20px 0 26px}
 body.services-catalog .services-directory__heading{margin-bottom:14px}
 body.services-catalog .services-directory__grid{gap:10px 12px}
 body.services-catalog .service-entry{min-height:157px;padding:15px 17px 14px}
 body.services-catalog .service-entry h3{margin-bottom:7px}
 body.services-catalog .service-entry__more{padding-top:9px}
}
@media(min-width:1081px) and (max-height:800px){
 body.services-catalog .pagehero.pagehero-photo{padding:14px 0 16px!important}
 body.services-catalog .services-directory{padding:14px 0 17px}
 body.services-catalog .service-entry{min-height:144px;padding:12px 15px}
 body.services-catalog .services-directory__heading{margin-bottom:10px}
}
