.brpage{
background:#fff;
color:#111;
}

.brpage__inner{
max-width:var(--container);
margin:0 auto;
padding:0 24px;
}

.brlabel--light{
color:rgba(255,255,255,.72);
}


/* ================= HERO ================= */

.brhero{
padding:34px 0 0;
background:#fff;
}

.brcrumbs{
display:flex;
align-items:center;
gap:8px;
margin-bottom:15px;
font-size:12px;
color:rgba(0,0,0,.42);
}

.brcrumbs a{
color:rgba(0,0,0,.48);
transition:color .25s var(--ease);
}

.brcrumbs a:hover{
color:var(--accent);
}

.brhero__grid{
display:grid;
grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);
gap:88px;
align-items:start;
}

.brhero__content{
max-width:820px;
}

.brhero h1{
max-width:760px;
margin:0 0 22px;
font-size:20px;
line-height:1.35;
font-weight:500;
letter-spacing:-.03em;
}

.brhero__lead{
max-width:760px;
margin:0 0 18px;
font-size:16px;
line-height:1.55;
font-weight:500;
color:#333;
}

.brhero__content>p:not(.brhero__lead){
max-width:820px;
margin:0;
font-size:16px;
line-height:1.75;
color:#555;
}

.brhero__aside{
padding:30px 32px;
border-radius:22px;
background:#f2f0f2;
border:1px solid rgba(139,30,63,.08);
box-shadow:
0 4px 14px rgba(20,20,30,.025),
inset 0 1px 0 rgba(255,255,255,.78);
}

.brhero__aside h2{
margin:0 0 12px;
font-size:20px;
line-height:1.35;
font-weight:500;
letter-spacing:-.03em;
}

.brhero__aside p{
margin:0 0 22px;
font-size:14px;
line-height:1.6;
color:#555;
}

.brhero__quick{
display:grid;
gap:0;
}

.brhero__quick a{
display:flex;
flex-direction:column;
align-items:flex-start;
gap:5px;
padding:16px 0;
border-top:1px solid rgba(0,0,0,.07);
transition:
padding-left .25s var(--ease),
color .25s var(--ease);
}

.brhero__quick strong{
font-size:14px;
line-height:1.4;
font-weight:500;
color:#111;
transition:color .25s var(--ease);
}

.brhero__quick small{
font-size:12px;
line-height:1.45;
font-weight:400;
color:#777;
}

.brhero__quick a:hover{
padding-left:4px;
}

.brhero__quick a:hover strong{
color:var(--accent);
}


/* ================= INTRO ================= */

.brintro{
padding:110px 0 0;
background:#fff;
}

.brintro__grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:28px;
}

.brintro__card{
position:relative;
min-height:210px;
padding:34px 34px 30px;
border-radius:22px;
background:#f2f0f2;
border:1px solid rgba(139,30,63,.08);
overflow:hidden;
display:grid;
grid-template-rows:54px 2px auto;
row-gap:24px;
align-content:start;
}

.brintro__num{
position:absolute;
top:18px;
right:24px;
font-size:68px;
line-height:1;
font-weight:800;
letter-spacing:-.08em;
color:#e6e1e4;
}

.brintro__card h2{
position:relative;
z-index:1;
grid-row:1;
max-width:15ch;
margin:0;
font-size:20px;
line-height:1.35;
font-weight:500;
letter-spacing:-.03em;
}

.brintro__card h2::after{
display:none;
}

.brintro__card::after{
content:"";
grid-row:2;
display:block;
width:86px;
height:2px;
background:linear-gradient(
90deg,
var(--accent) 0 34px,
rgba(139,30,63,.16) 34px 86px
);
border-radius:20px;
}

.brintro__card p{
position:relative;
z-index:1;
grid-row:3;
margin:0;
font-size:15px;
line-height:1.65;
color:#555;
}


/* ================= SECTIONS ================= */

.brsection{
padding:110px 0;
}

#weitere-branchen{
padding:110px 0 0;
}

#weitere-branchen h2,
#weitere-branchen .brsection__head p{
text-align:center;
}

.brsection--soft{
background:#f2f0f2;
}

.brsection--compact{
padding:110px 0 0;
}

.brsection--faq{
padding:100px 0;
}

.brsection__head{
max-width:900px;
margin:0 auto 50px;
text-align:center;
}

.brsection__head h2,
.brwhy h2,
.brseo h2{
margin:0 0 14px;
font-size:20px;
line-height:1.35;
font-weight:500;
letter-spacing:-.03em;
}

.brseo h2{
text-align:left;
}

.brsection__head p{
margin:0;
font-size:15px;
line-height:1.6;
color:#555;
}


/* ================= MAIN BRANCHES ================= */

.brmainGrid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:24px;
}

.brmainCard{
position:relative;
min-height:0;
padding:26px 28px 20px;
border-radius:22px;
background:#fff;
border:1px solid rgba(0,0,0,.07);
box-shadow:0 2px 12px rgba(20,20,30,.025);
display:flex;
flex-direction:column;
overflow:hidden;
transition:
transform .3s var(--ease),
border-color .3s var(--ease),
box-shadow .3s var(--ease);
}

.brmainCard:hover{
transform:translateY(-5px);
border-color:rgba(139,30,63,.18);
box-shadow:
0 14px 38px rgba(20,20,30,.055),
0 0 0 1px rgba(139,30,63,.035);
}

.brmainCard__icon{
width:50px;
height:50px;
flex:0 0 50px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:rgba(139,30,63,.065);
color:var(--accent);
}

.brmainCard__icon svg{
width:25px;
height:25px;
display:block;
}

.brmainCard h3{
position:relative;
z-index:1;
width:100%;
max-width:90%;
height:72px;
margin:16px 0 0;
padding:0 0 16px;
font-size:19px;
line-height:1.35;
font-weight:500;
letter-spacing:-.025em;
box-sizing:border-box;
}

.brmainCard h3::after{
content:"";
position:absolute;
left:0;
bottom:0;
width:64px;
height:2px;
background:linear-gradient(
90deg,
var(--accent) 0 28px,
rgba(139,30,63,.16) 28px 64px
);
border-radius:99px;
}

.brmainCard p{
margin:16px 0 0;
padding:0;
font-size:14px;
line-height:1.65;
color:#555;
}


/* ================= CARD LINK ARROW ================= */

/*
Исходный текст или SVG внутри ссылки скрываем полностью.
Стрелку контролирует только CSS.
*/

.brmainCard > .brmainCard__link{
position:absolute !important;
top:auto !important;
right:22px !important;
bottom:16px !important;
left:auto !important;

width:24px !important;
height:24px !important;

margin:0 !important;
padding:0 !important;

display:flex !important;
align-items:center !important;
justify-content:center !important;

font-size:0 !important;
line-height:0 !important;

background:transparent !important;
border:0 !important;
border-radius:0 !important;
box-shadow:none !important;

opacity:0 !important;
visibility:hidden !important;

transform:translate(5px,5px);

pointer-events:none;

transition:
opacity .22s var(--ease),
visibility .22s var(--ease),
transform .28s var(--ease);
}

.brmainCard > .brmainCard__link > *{
display:none !important;
}

.brmainCard > .brmainCard__link::before{
content:"↗";
display:block;
font-size:20px;
line-height:1;
font-weight:400;
color:var(--accent);
}


/* стрелка только на устройствах с реальным hover */

@media(hover:hover) and (pointer:fine){

.brmainCard:hover > .brmainCard__link{
opacity:1 !important;
visibility:visible !important;
transform:translate(0,0);
}

}


/* ================= WHY ================= */

.brwhy{
display:grid;
grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);
gap:82px;
align-items:start;
}

.brwhy__copy p{
margin:0 0 16px;
font-size:15px;
line-height:1.75;
color:#555;
}

.brwhy__points{
display:grid;
gap:12px;
}

.brwhy__points>div{
padding:22px 24px;
border-radius:18px;
background:#fff;
border:1px solid rgba(139,30,63,.08);
}

.brwhy__points strong{
display:block;
margin-bottom:7px;
font-size:15px;
font-weight:600;
}

.brwhy__points span{
display:block;
font-size:14px;
line-height:1.55;
color:#555;
}


/* ================= GROUPS ================= */

.brgroups{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:26px;
}

.brgroup{
padding:28px 28px 26px;
border-radius:20px;
background:#f7f5f6;
border:1px solid rgba(139,30,63,.07);
}

.brgroup h3{
margin:0 0 18px;
font-size:17px;
line-height:1.35;
font-weight:600;
color:var(--accent);
}

.brgroup ul{
list-style:none;
margin:0;
padding:0;
display:grid;
gap:10px;
}

.brgroup li{
font-size:14px;
line-height:1.45;
color:#444;
}

.brgroup a{
display:inline-flex;
align-items:center;
gap:8px;
transition:
color .25s var(--ease),
transform .25s var(--ease);
}

.brgroup a::before{
content:"›";
color:var(--accent);
font-size:17px;
line-height:1;
}

.brgroup a:hover{
color:var(--accent);
transform:translateX(3px);
}


/* ================= SEO BLOCK ================= */

.brseo{
display:grid;
grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);
gap:72px;
align-items:start;
padding:38px 42px;
border-radius:22px;
background:#f2f0f2;
border:1px solid rgba(139,30,63,.08);
}

.brseo__text p{
margin:0 0 16px;
font-size:15px;
line-height:1.75;
color:#555;
}

.brseo__text p:last-child{
margin-bottom:0;
}


/* ================= FAQ ================= */

.brfaq{
display:grid;
gap:10px;
}

.brfaq details{
border:1px solid rgba(139,30,63,.08);
border-radius:16px;
background:#fff;
overflow:hidden;
}

.brfaq details[open]{
border-color:rgba(139,30,63,.24);
}

.brfaq summary{
cursor:pointer;
list-style:none;
padding:18px 22px;
font-size:15px;
font-weight:500;
display:flex;
align-items:center;
justify-content:space-between;
gap:24px;
}

.brfaq summary::-webkit-details-marker{
display:none;
}

.brfaq summary::after{
content:"↗";
display:flex;
align-items:center;
justify-content:center;
flex:0 0 auto;
width:22px;
height:22px;
color:var(--accent);
font-size:22px;
line-height:1;
font-weight:400;
transition:
transform .25s var(--ease),
opacity .25s var(--ease);
}

.brfaq details[open] summary::after{
content:"→";
transform:none;
}

.brfaq summary:hover::after{
transform:translate(2px,-2px);
}

.brfaq details[open] summary:hover::after{
transform:translateX(2px);
}

.brfaq details p{
margin:0;
padding:0 22px 22px;
font-size:14px;
line-height:1.7;
color:#555;
}


/* ================= CTA ================= */

.brcta{
padding:0 0 110px;
}

.brcta__box{
display:flex;
align-items:center;
justify-content:space-between;
gap:44px;
padding:38px 42px;
border-radius:22px;
background:var(--accent);
color:#fff;
box-shadow:
0 14px 38px rgba(139,30,63,.14),
inset 0 1px 0 rgba(255,255,255,.12);
}

.brcta h2{
max-width:720px;
margin:0 0 10px;
font-size:25px;
line-height:1.3;
font-weight:500;
letter-spacing:-.03em;
}

.brcta p{
max-width:760px;
margin:0;
font-size:15px;
line-height:1.6;
color:rgba(255,255,255,.78);
}

.brcta__btn{
flex:none;
display:inline-flex;
align-items:center;
justify-content:center;
min-height:auto;
padding:0;
border:0;
border-radius:0;
background:transparent;
box-shadow:none;
color:#fff;
font-size:18px;
line-height:1.4;
font-weight:500;
white-space:nowrap;
transition:
transform .25s var(--ease),
opacity .25s var(--ease);
}

.brcta__btn:hover{
transform:translateX(3px);
opacity:.78;
}


/* ================= RESPONSIVE ================= */

@media(max-width:1100px){

.brhero__grid{
grid-template-columns:1fr;
gap:34px;
}

.brhero__aside{
max-width:640px;
}

.brintro__grid{
grid-template-columns:1fr;
gap:35px;
}

.brmainGrid{
grid-template-columns:repeat(2,minmax(0,1fr));
}

.brwhy{
grid-template-columns:1fr;
gap:42px;
}

.brgroups{
grid-template-columns:repeat(2,minmax(0,1fr));
}

.brseo{
grid-template-columns:1fr;
gap:22px;
}

.brcta h2{
font-size:21px;
}

}


/* =========================================================
   TABLET + MOBILE — ПО ЛОГИКЕ ПЕРВОГО CSS
========================================================= */

@media(max-width:900px){

/* HERO — только 28px сверху */

.brhero{
padding:28px 0 0;
}

.brcrumbs{
margin-bottom:15px;
}

.brhero h1{
font-size:20px;
line-height:1.35;
}

.brhero__lead{
margin-bottom:28px;
font-size:15px;
line-height:1.5;
}

.brhero__content>p:not(.brhero__lead){
font-size:15px;
line-height:1.7;
}

.brhero__aside{
max-width:640px;
padding:24px;
border-radius:22px;
}

.brhero__aside h2{
font-size:20px;
line-height:1.35;
}

.brhero__aside p{
font-size:14px;
line-height:1.5;
}

.brhero__quick strong{
font-size:15px;
}

.brhero__quick small{
font-size:14px;
}


/* INTRO — 90px только перед секцией */

.brintro{
padding:90px 0 0;
}

.brintro__grid{
grid-template-columns:1fr;
gap:35px;
}

.brintro__card{
min-height:auto;
padding:26px 24px;
}

.brintro__card h2{
font-size:18px;
line-height:1.35;
}

.brintro__card p{
font-size:15px;
line-height:1.6;
}


/* ВСЕ ОБЫЧНЫЕ СЕКЦИИ — 90px только сверху */

.brsection{
padding:90px 0 0;
}


/* серый блок: добавляем внутренний отступ снизу */

.brsection--soft{
padding:90px 0 35px;
}


/*
35px снизу серого блока + 55px сверху следующего
= ровно 90px между содержимым секций
*/

#weitere-branchen{
padding:55px 0 0;
}

.brsection--compact{
padding:90px 0 0;
}

.brsection--faq{
padding:90px 0 0;
}

.brsection__head{
margin-bottom:34px;
}

.brsection__head h2,
.brwhy h2,
.brseo h2{
font-size:20px;
line-height:1.35;
}

.brsection__head p{
font-size:15px;
line-height:1.6;
}


/* MAIN BRANCHES */

.brmainGrid{
grid-template-columns:1fr;
gap:35px;
}

.brmainCard{
min-height:auto;
padding:26px 24px;
}

.brmainCard__icon{
width:50px;
height:50px;
flex:0 0 50px;
}

.brmainCard__icon svg{
width:25px;
height:25px;
}

.brmainCard h3{
max-width:90%;
height:72px;
margin:16px 0 0;
padding-bottom:16px;
font-size:18px;
line-height:1.35;
}

.brmainCard p{
font-size:15px;
line-height:1.6;
}


/*
На touch-устройствах hover отсутствует,
поэтому стрелка карточки полностью скрыта.
*/

.brmainCard > .brmainCard__link{
right:20px !important;
bottom:14px !important;
width:22px !important;
height:22px !important;
}

.brmainCard > .brmainCard__link::before{
font-size:18px;
}


/* WHY */

.brwhy{
grid-template-columns:1fr;
gap:42px;
}

.brwhy__copy p{
font-size:15px;
line-height:1.6;
}

.brwhy__points{
gap:12px;
}

.brwhy__points>div{
padding:22px 24px;
}

.brwhy__points strong{
font-size:15px;
}

.brwhy__points span{
font-size:14px;
line-height:1.5;
}


/* GROUPS */

.brgroups{
grid-template-columns:1fr;
gap:35px;
}

.brgroup{
padding:24px;
}

.brgroup h3{
font-size:17px;
line-height:1.35;
}

.brgroup li{
font-size:15px;
line-height:1.45;
}


/* SEO */

.brseo{
grid-template-columns:1fr;
gap:22px;
padding:24px;
}

.brseo h2{
font-size:20px;
}

.brseo__text p{
font-size:15px;
line-height:1.6;
}


/* FAQ */

.brfaq summary{
padding:16px 22px;
font-size:15px;
}

.brfaq details p{
padding:0 22px 22px;
font-size:14px;
line-height:1.7;
}

.brfaq summary::after{
width:22px;
height:22px;
font-size:22px;
}


/* CTA — как в первом CSS: 90px сверху и снизу */

.brcta{
padding:90px 0;
}

.brcta__box{
flex-direction:column;
align-items:flex-start;
gap:28px;
padding:28px 24px;
}

.brcta h2{
font-size:21px;
line-height:1.35;
}

.brcta p{
font-size:15px;
line-height:1.6;
}

.brcta__btn{
width:100%;
font-size:16px;
}
}