/* v80 — унификация внутренних обложек и уплотнение карточек */
.ex-prices-page .inner-hero,
.ex-works-page .inner-hero,
.ex-articles-page .inner-hero{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  padding-block:clamp(56px,6vw,84px)!important;
  background:#102537!important;
}
.ex-prices-page .inner-hero::before,
.ex-works-page .inner-hero::before,
.ex-articles-page .inner-hero::before{
  content:"";
  position:absolute;
  inset:0;
  right:auto;
  top:auto;
  width:auto;
  height:auto;
  transform:none;
  pointer-events:none;
  z-index:-3;
  background-image:url('hero-workshop.webp');
  background-size:cover;
  background-position:center right;
  transform:scale(1.03);
}
.ex-prices-page .inner-hero::after,
.ex-works-page .inner-hero::after,
.ex-articles-page .inner-hero::after{
  content:"";
  position:absolute;
  inset:0;
  right:auto;
  top:auto;
  width:auto;
  height:auto;
  transform:none;
  pointer-events:none;
  z-index:-2;
  background:
    radial-gradient(circle at 68% 18%, rgba(88,136,169,.28) 0%, rgba(88,136,169,.16) 16%, transparent 42%),
    radial-gradient(circle at 84% 26%, rgba(121,171,205,.14) 0%, transparent 32%),
    radial-gradient(circle at 76% 72%, rgba(29,71,101,.18) 0%, transparent 36%),
    linear-gradient(90deg, rgba(7,24,39,.97) 0%, rgba(7,24,39,.95) 26%, rgba(7,24,39,.84) 46%, rgba(8,26,41,.58) 65%, rgba(10,29,44,.28) 100%),
    linear-gradient(180deg, rgba(6,20,31,.22), rgba(6,20,31,.08));
}
.ex-prices-page .inner-hero .container,
.ex-works-page .inner-hero .container,
.ex-articles-page .inner-hero .container{position:relative;z-index:2}
.ex-prices-page .inner-hero h1,
.ex-works-page .inner-hero h1,
.ex-articles-page .inner-hero h1{
  margin:0 0 18px!important;
  max-width:800px;
  color:#fff!important;
  font-weight:900!important;
  letter-spacing:-.045em!important;
  font-size:clamp(40px,4.8vw,64px)!important;
  text-shadow:0 10px 28px rgba(4,16,28,.20);
}
.ex-prices-page .inner-hero .yellow,
.ex-works-page .inner-hero .yellow,
.ex-articles-page .inner-hero .yellow{color:#ffd15e!important}
.ex-prices-page .inner-hero p,
.ex-works-page .inner-hero p,
.ex-articles-page .inner-hero p{
  max-width:760px!important;
  margin:0!important;
  color:#d7e5ef!important;
  font-size:clamp(15px,1.3vw,19px)!important;
  line-height:1.7!important;
  text-shadow:0 4px 18px rgba(4,16,28,.12);
}
.ex-prices-page .inner-hero{border-bottom:1px solid rgba(25,52,72,.14)}

/* Карточки работ компактнее */
.ex-works-page .work-grid{row-gap:22px!important}
.ex-works-page .work-grid>.work-card{border-radius:21px!important;box-shadow:0 12px 28px rgba(22,51,70,.09)!important}
.ex-works-page .work-grid .work-photo{height:clamp(188px,19vw,250px)!important}
.ex-works-page .work-grid .work-info{padding:20px!important;min-height:220px!important}
.ex-works-page .work-grid .work-info h3{font-size:clamp(17px,1.42vw,21px)!important;margin:0 0 11px!important}
.ex-works-page .work-grid .work-info small{margin-bottom:9px!important}
.ex-works-page .ex-case-teaser{margin:0 0 15px!important;padding:11px 13px!important;border-radius:11px!important}
.ex-works-page .ex-case-teaser p{-webkit-line-clamp:2!important;line-height:1.55!important}
.ex-works-page .work-grid .work-cta{min-height:36px!important;padding:4px 7px 4px 12px!important}

/* Сетка карточек на планшетах и мобильных — компактнее */
@media (max-width: 980px){
  .ex-works-page .work-grid,
  .ex-articles-page .work-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  .ex-works-page .work-grid .work-photo{height:165px!important}
  .ex-works-page .work-grid .work-info{padding:16px!important;min-height:0!important}
  .ex-works-page .work-grid .work-info h3{font-size:17px!important;margin-bottom:9px!important}
  .ex-works-page .work-grid .work-info small{font-size:9px!important}
  .ex-works-page .ex-case-teaser{padding:10px 11px!important;margin-bottom:12px!important}
  .ex-works-page .ex-case-teaser>span{font-size:8px!important;margin-bottom:6px!important}
  .ex-works-page .ex-case-teaser p{font-size:10px!important;line-height:1.45!important}
}
@media (max-width: 767px){
  .ex-prices-page .inner-hero,
  .ex-works-page .inner-hero,
  .ex-articles-page .inner-hero{padding-block:44px!important}
  .ex-prices-page .inner-hero::before,
  .ex-works-page .inner-hero::before,
  .ex-articles-page .inner-hero::before{background-position:72% center}
  .ex-prices-page .inner-hero::after,
  .ex-works-page .inner-hero::after,
  .ex-articles-page .inner-hero::after{
    background:
      radial-gradient(circle at 78% 20%, rgba(87,135,168,.22) 0%, transparent 29%),
      linear-gradient(90deg, rgba(7,24,39,.95) 0%, rgba(7,24,39,.86) 55%, rgba(9,27,41,.62) 100%),
      linear-gradient(180deg, rgba(6,20,31,.16), rgba(6,20,31,.05));
  }
  .ex-prices-page .inner-hero h1,
  .ex-works-page .inner-hero h1,
  .ex-articles-page .inner-hero h1{font-size:clamp(31px,8.8vw,42px)!important;margin-bottom:13px!important}
  .ex-prices-page .inner-hero p,
  .ex-works-page .inner-hero p,
  .ex-articles-page .inner-hero p{font-size:13px!important;line-height:1.55!important;max-width:420px!important}
  .ex-works-page .work-grid{gap:10px!important}
  .ex-works-page .work-grid>.work-card{border-radius:15px!important}
  .ex-works-page .work-grid .work-photo{height:118px!important}
  .ex-works-page .work-grid .work-tag{left:8px!important;bottom:8px!important;padding:5px 7px!important;border-radius:7px!important;font-size:8px!important}
  .ex-works-page .work-grid .work-info{padding:11px 10px 12px!important}
  .ex-works-page .work-grid .work-info h3{font-size:13px!important;line-height:1.22!important;margin-bottom:7px!important;overflow-wrap:anywhere!important}
  .ex-works-page .work-grid .work-info small{font-size:9px!important;letter-spacing:.02em!important;margin-bottom:7px!important}
  .ex-works-page .ex-case-teaser{padding:8px 9px!important;margin-bottom:10px!important;border-radius:9px!important;border-left-width:2px!important}
  .ex-works-page .ex-case-teaser>span{font-size:7px!important;letter-spacing:.08em!important}
  .ex-works-page .ex-case-teaser p{font-size:10px!important;line-height:1.4!important;-webkit-line-clamp:2!important}
  .ex-works-page .work-grid .work-cta{font-size:10px!important;padding:3px 5px 3px 9px!important;gap:6px!important;border-radius:9px!important;min-height:0!important}
  .ex-works-page .work-grid .work-cta-icon{width:20px!important;height:20px!important;flex:0 0 20px!important;border-radius:6px!important}
  .ex-works-page .work-grid .work-cta-icon svg{width:12px!important;height:12px!important}
}
@media (max-width: 430px){
  .ex-prices-page .inner-hero,
  .ex-works-page .inner-hero,
  .ex-articles-page .inner-hero{padding-block:38px!important}
  .ex-works-page .work-grid,
  .ex-articles-page .work-grid{gap:9px!important}
}
