/* Scoped composition only: original header, actions and lower sections remain intact. */
.hero.hero-adapted,
.home-ru .hero.hero-adapted{
 position:relative;isolation:isolate;display:grid;
 grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
 grid-template-areas:"kicker visual" "title visual" "description visual" "actions visual" "note visual" "next next";
 column-gap:clamp(24px,4vw,64px);row-gap:0;align-content:center;align-items:center;
 min-height:clamp(620px,47vw,740px);padding-block:36px 24px;background:#f9f9f7;
}
.hero-adapted::before{content:"";position:absolute;z-index:-2;inset:0;background:#f9f9f7;box-shadow:0 0 0 100vmax #f9f9f7;clip-path:inset(0 -100vmax);pointer-events:none}
.hero-adapted .hero-kicker{grid-area:kicker;position:relative;z-index:1;margin:0 0 17px;color:#557772;font-size:11px;font-weight:700;letter-spacing:2.4px;line-height:1.4}
.hero-adapted .hero-kicker>span{display:none}
.hero-adapted .hero-copy{grid-area:title;position:relative;z-index:1;min-width:0}
.hero-adapted h1{overflow-wrap:anywhere}
.home-ru .hero.hero-adapted h1{font-size:clamp(44px,4.7vw,67px);line-height:1.09;letter-spacing:-3.4px;font-weight:500;margin:0 0 27px}
.hero-adapted h1 .hero-h1-main{display:block}
.hero-adapted h1 em{display:block}
.hero-adapted .hero-description{grid-area:description;position:relative;z-index:1;max-width:470px;margin:0 0 24px}
.hero.hero-adapted .hero-visual{grid-column:1/-1;grid-row:1/6;z-index:-1;position:relative;min-width:0;width:100%;height:auto;align-self:stretch;margin:0}
.hero.hero-adapted picture{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible;border-radius:0}
.hero.hero-adapted .hero-awards-image{display:block;width:100%;height:100%;max-height:none;object-fit:contain;object-position:right center;border-radius:0;margin:0;mask-image:linear-gradient(to right,transparent 40%,black 61%);-webkit-mask-image:linear-gradient(to right,transparent 40%,black 61%)}
.hero-adapted .hero-consultation-row{grid-area:actions;position:relative;z-index:1;min-width:0;margin-top:0}
.hero-adapted .hero-note{grid-area:note;position:relative;z-index:1;margin-top:20px}
.hero-adapted .hero-next{position:relative;z-index:1;grid-area:next}
.hero-adapted-pl .hero-description{font-size:17px;line-height:1.8;color:var(--muted)}
@media(max-width:1100px) and (min-width:901px){
 .hero.hero-adapted{column-gap:20px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .hero-adapted h1,.home-ru .hero.hero-adapted h1{font-size:48px}
 .hero-adapted .hero-description{font-size:17px}
}
@media(max-width:900px){
 .hero.hero-adapted,.home-ru .hero.hero-adapted{
  width:calc(100% - 36px);max-width:620px;min-height:0;
  grid-template-columns:minmax(0,1fr);grid-template-areas:"kicker" "title" "visual" "description" "actions" "note" "next";
  padding-block:12px 16px;gap:0;align-content:start;
 }
 .hero-adapted .hero-kicker{margin-bottom:12px;font-size:9px;letter-spacing:2px}
 .hero-adapted .hero-copy{margin:0}
 .home-ru .hero.hero-adapted h1{font-size:clamp(34px,9.5vw,48px);line-height:1.08;letter-spacing:-1.5px;margin:0 0 14px}
 .hero-adapted-pl h1{font-size:clamp(34px,9.5vw,48px);letter-spacing:-1.5px;line-height:1.08;margin:0 0 14px}
 .hero.hero-adapted .hero-visual{grid-area:visual;width:calc(100% + 36px);height:auto;align-self:start;margin:clamp(-220px,-38vw,-100px) -18px 0}
 .hero.hero-adapted picture{position:static;height:auto;aspect-ratio:2/3;border-radius:0}
 .hero.hero-adapted .hero-awards-image{width:100%;height:auto;aspect-ratio:2/3;max-height:none;object-fit:contain;mask-image:linear-gradient(to bottom,transparent,black 15%,black 97%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,black 15%,black 97%,transparent)}
 .hero.hero-adapted .hero-description{margin:12px 0 20px;max-width:none;font-size:16px;line-height:1.45}
 .hero-adapted .hero-description-break{display:none}
 .hero.hero-adapted .hero-consultation-row{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;margin:0}
 .hero-adapted .hero-consultation-row>.poznan-hero-cta{width:100%;max-width:none}
 .hero-adapted .hero-cost-link{align-self:center;min-height:44px}
 .hero-adapted-pl .hero-consultation-row .button{width:100%;text-align:center}
 .hero-adapted-pl .hero-consultation-row .text-link{align-self:center;min-height:44px;display:flex;align-items:center}
 .hero-adapted .hero-note{margin-top:16px}
}
@media(min-width:721px) and (max-width:900px){
 .hero.hero-adapted,.home-ru .hero.hero-adapted{max-width:560px}
 .hero.hero-adapted .hero-visual{margin-top:-210px}
}

@media(max-width:720px){.home-ru .hero.hero-adapted h1{max-width:470px}}

/* Russian headline composition: move the portrait slightly closer to the text. */
@media(max-width:720px){.home-ru .hero.hero-adapted .hero-visual{margin-top:calc(clamp(-220px,-38vw,-100px) - 12px)}}
