/* Бесплатные ресурсы по СанПиН */

.page-brs {
    --brs-dark: #363E58;
    --brs-blue: #6384DB;
    --brs-blue-accent: #526DB2;
    --brs-blue-dark: #4D70A8;
    --brs-blue-deep: #1248A0;
    --brs-bg: #F5F7FF;
    --brs-bg-light: #E8F1FF;
    --brs-white: #ffffff;
    --brs-muted: #697391;
    --brs-font: 'Manrope', var(--inter), sans-serif;
    --brs-font-text: 'Source Sans 3', 'Source Sans Pro', var(--inter), sans-serif;
    font-family: var(--brs-font);
    color: var(--brs-dark);
    background: var(--brs-white);
    overflow-x: hidden;
}

.page-brs .container {
    /* max-width: 1308px; */
}

section.page-brs {
    margin-top: 30px;
}

body.brs-menu-open {
    overflow: hidden;
}

/* Hero */
.brs-hero {
    position: relative;
    min-height: 589px;
    padding: 61px 0 85px;
    background: linear-gradient(225deg, #10284C 0%, #2456A5 13%);
    overflow: hidden;
}

.brs-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.brs-hero__bg img {
    position: absolute;
    display: block;
    max-width: none;
}

.brs-hero__bg-main {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.brs-hero__bg-overlay {
    left: -5.13%;
    top: -50.93%;
    width: 128.39%;
    height: 167.78%;
    object-fit: cover;
    opacity: 0.59;
}

.brs-hero__collage {
    left: 83.91%;
    top: -8.88%;
    width: 87.23%;
    height: 132.98%;
    object-fit: cover;
    filter: blur(7.42px);
}

.brs-hero__nav {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    /* max-width: 1309px; */
    margin: 0 auto 83px;
    padding: 11px 30px;
    min-height: 70px;
    background: rgba(80, 118, 178, 0.6);
    backdrop-filter: blur(13px);
    border-radius: 12px;
    box-shadow: 3.99px 3.99px 15.96px rgba(91, 76, 159, 0.03);
}

.brs-hero__nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 61px;
}

.brs-hero__nav-link {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--brs-white);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.brs-hero__nav-link:hover {
    opacity: 0.8;
}

.brs-hero__nav-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 12px 20px;
    border-radius: 56px;
    background: var(--brs-blue);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--brs-white);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.brs-hero__nav-cta:hover {
    background: var(--brs-blue-dark);
}

.brs-hero .container {
    position: relative;
    z-index: 1;
}

.brs-hero__container {
    position: relative;
    z-index: 1;
    max-width: 1137px;
}

.brs-hero__title {
    margin: 0 0 31px;
    font-size: 60px;
    font-weight: 500;
    line-height: 1;
    color: var(--brs-white);
}

.brs-hero__text {
    margin: 0 0 46px;
    max-width: 927px;
    font-family: var(--brs-font-text);
    font-size: 22px;
    line-height: 1.5;
    color: var(--brs-white);
}

.brs-hero__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.brs-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 49px;
    padding: 5px 20px 5px 6px;
    border-radius: 50px;
    background: rgba(183, 178, 178, 0.41);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: var(--brs-white);
    white-space: nowrap;
}

.brs-hero__dot {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 2.77px 0 3.6px rgba(255, 255, 255, 0.25);
}

.brs-hero__dot--green { background: #B7EEB9; }
.brs-hero__dot--purple { background: #DEC4FF; }
.brs-hero__dot--yellow { background: #FFFAD2; }
.brs-hero__dot--blue { background: #C2D4FF; }

/* Categories */
.brs-categories {
    position: relative;
    z-index: 1;
    margin-top: -40px;
    padding: 114px 0 64px;
    background: var(--brs-white);
    border-radius: 40px;
}

.brs-categories__title {
    margin: 0 0 52px;
    font-size: 45px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--brs-dark);
}

.brs-categories__title-accent {
    color: var(--brs-blue-accent);
}

.brs-categories__panels {
    display: grid;
    grid-template-columns: 500px 500px;
    gap: 36px;
    width: 1036px;
    max-width: 100%;
    margin-bottom: 119px;
    align-items: start;
}

.brs-categories__panel {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 500px;
    max-width: 100%;
    padding: 24px 31px 24px 29px;
    border-radius: 6px;
    background: var(--brs-white);
    border: 1.46px solid #DEE3EB;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.brs-categories__panel--medical {
    min-height: 346px;
}

.brs-categories__panel--beauty {
    min-height: 342px;
}

.brs-categories__panel:not(.is-active) {
    cursor: pointer;
}

.brs-categories__panel.is-active {
    background: linear-gradient(180deg, #335C9C 0%, #285CAC 100%);
    border-color: transparent;
    border-width: 0;
    padding: calc(24px + 1.46px) calc(31px + 1.46px) calc(24px + 1.46px) calc(29px + 1.46px);
}

.brs-categories__panel-select {
    display: block;
    width: 100%;
    margin: 0 0 15px;
    padding: 0;
    border: none;
    background: transparent;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.brs-categories__panel:not(.is-active) .brs-categories__panel-select:hover .brs-categories__panel-footer-text strong {
    color: var(--brs-blue-accent);
}

.brs-categories__panel.is-active .brs-categories__panel-select {
    cursor: default;
    pointer-events: none;
}

.brs-categories__grid {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.brs-categories__panel:not(.is-active) .brs-categories__grid {
    pointer-events: none;
}

.brs-categories__cell {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0 12px 0 0;
    border: none;
    border-radius: 6px;
    background: rgba(234, 234, 235, 0.16);
    font-family: var(--brs-font-text);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.26;
    color: var(--brs-dark);
    text-align: left;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.brs-categories__panel.is-active .brs-categories__cell {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.brs-categories__panel.is-active .brs-categories__cell:hover,
.brs-categories__panel.is-active .brs-categories__cell.is-active {
    background: rgba(255, 255, 255, 0.24);
}

.brs-categories__cell img {
    justify-self: center;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.brs-categories__panel--beauty.is-active .brs-categories__cell img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.brs-categories__panel-footer {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    min-height: 74px;
}

.brs-categories__panel--beauty .brs-categories__panel-footer {
    gap: 28px;
}

.brs-categories__panel-footer img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.brs-categories__panel-icon {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.brs-categories__panel-icon-img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.brs-categories__panel-icon-img--inactive {
    display: none;
}

.brs-categories__panel:not(.is-active) .brs-categories__panel-icon-img--active {
    display: none;
}

.brs-categories__panel:not(.is-active) .brs-categories__panel-icon-img--inactive {
    display: block;
}

.brs-categories__panel-footer-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0;
}

.brs-categories__panel-footer-text strong {
    font-family: var(--brs-font-text);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.26;
    color: var(--brs-dark);
    transition: color 0.2s;
}

.brs-categories__panel.is-active .brs-categories__panel-footer-text strong {
    color: #fff;
}

.brs-categories__panel-status,
.brs-categories__panel-hint {
    font-family: var(--brs-font-text);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.26;
}

.brs-categories__panel-status {
    display: none;
    margin-top: 2px;
    color: #AABFDB;
}

.brs-categories__panel-hint {
    display: block;
    margin-top: 2px;
    color: #61687E;
}

.brs-categories__panel.is-active .brs-categories__panel-status {
    display: block;
}

.brs-categories__panel.is-active .brs-categories__panel-hint {
    display: none;
}

.brs-categories__subtitle {
    margin: 0 0 50px;
    font-size: 45px;
    font-weight: 700;
    line-height: 1.31;
    color: var(--brs-dark);
}

.brs-categories__current-label {
    color: var(--brs-blue-accent);
}

.brs-categories__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 39px;
}

.brs-categories__nav-card {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 31.5%; 
    /* width: 100%; */
    max-width: 100%;
    min-height: 160px;
    padding: 52px 64px 52px 30px;
    background: var(--brs-bg);
    border-radius: 12px;
    text-decoration: none;
    color: var(--brs-dark);
    font-family: var(--brs-font-text);
    font-size: 22px;
    line-height: 1.26;
    transition: box-shadow 0.2s, transform 0.2s;
}

.brs-categories__nav-card:nth-child(2) {
    padding: 57px 56px 58px 30px;
}

.brs-categories__nav-card:nth-child(3) {
    padding: 52px 53px 52px 30px;
}

.brs-categories__nav-card:hover {
    box-shadow: 0 8px 24px rgba(99, 132, 219, 0.15);
    transform: translateY(-2px);
}

.brs-categories__nav-card img {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
}

/* Main blue area */
.brs-main {
    margin-top: -40px;
    padding: 88px 0 80px;
    background: var(--brs-blue-deep);
    background-image: url("../../../images/besplatnye-resursy-sanpin/bg-wave.svg");
    /* background-size: auto; */
    /* background-position: top right; */
    background-repeat: no-repeat;
}

/* Sections */
.brs-section {
    padding: 70px 0;
}

.brs-section__head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.brs-section__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.brs-section__title {
    margin: 0;
    font-size: 60px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--brs-white);
}

.brs-section__card {
    padding: 80px 80px 90px;
    background: var(--brs-white);
    border-radius: 13px;
    overflow-x: hidden;
}

.brs-section--work .brs-section__card {
    position: relative;
    overflow: hidden;
}

.brs-work__decor {
    position: absolute;
    left: -14.2%;
    top: 87.8%;
    width: 149.6%;
    pointer-events: none;
    z-index: 0;
}

.brs-work__decor img {
    display: block;
    width: 100%;
    height: auto;
}

.brs-section--work .brs-work {
    position: relative;
    z-index: 1;
}

.brs-section--journals .brs-section__card {
    position: relative;
    overflow: hidden;
}

.brs-journals__decor {
    position: absolute;
    left: -20.4%;
    top: -47.4%;
    width: 164.3%;
    pointer-events: none;
    z-index: 0;
}

.brs-journals__decor img {
    display: block;
    width: 100%;
    height: auto;
}

.brs-section--journals .brs-journals {
    position: relative;
    z-index: 1;
}

.brs-section--changes .brs-section__card {
    position: relative;
    overflow: hidden;
}

.brs-changes__decor {
    position: absolute;
    left: -20.4%;
    top: -96.8%;
    width: 164.3%;
    pointer-events: none;
    z-index: 0;
}

.brs-changes__decor img {
    display: block;
    width: 100%;
    height: auto;
}

.brs-section--changes .brs-changes {
    position: relative;
    z-index: 1;
}

.brs-text-accent {
    color: var(--brs-blue-accent);
}

/* Badge */
.brs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 16px 8px 42px;
    background: var(--brs-bg-light);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--brs-dark);
    position: relative;
}

.brs-badge::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brs-blue);
    opacity: 0.25;
}

/* Buttons */
.brs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 70px;
    padding: 16px 28px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
    margin-top: 20px;
}

.brs-btn:hover {
    opacity: 0.92;
}

.brs-btn--primary {
    background: var(--brs-blue);
    color: var(--brs-white);
}

.brs-btn--telegram {
    background: var(--brs-blue);
    color: var(--brs-white);
}

.brs-btn--max {
    background: var(--brs-bg-light);
    color: var(--brs-dark);
}

.brs-btn--arrow::after {
    content: '';
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

.brs-work__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

/* Work */
.brs-work {
    position: relative;
    padding-right: 310px;
}

.brs-work__aside {
    position: absolute;
    top: 0;
    right: 0;
    width: 270px;
}

.brs-work__channel {
    margin-bottom: 48px;
}

.brs-work__chat {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 48px;
    padding-top: 60px;
    position: relative;
}

.brs-work__audit {
    padding-top: 100px;
}

.brs-badge--expert {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    min-height: 40px;
    margin-bottom: 20px;
    padding: 3px 16px 3px 4px;
    background: var(--brs-bg-light);
    border-radius: 63px;
    font-family: var(--brs-font-text);
    font-size: 20px;
    font-weight: 200;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.brs-badge--expert::before {
    display: none;
}

.brs-badge--expert .brs-badge__icon {
    display: block;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.brs-badge--chat-work {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    min-height: 40px;
    margin-bottom: 35px;
    padding: 3px 16px 3px 4px;
    background: var(--brs-bg-light);
    border-radius: 63px;
    font-family: var(--brs-font-text);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.brs-badge--chat-work::before {
    display: none;
}

.brs-badge--chat-work .brs-badge__icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.brs-badge--chat-work .brs-badge__icon-bg {
    display: block;
    width: 34px;
    height: 34px;
}

.brs-badge--chat-work .brs-badge__icon-msg {
    position: absolute;
    width: 25px;
    height: 25px;
}

.brs-work__title {
    margin: 0 0 30px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.26;
    color: var(--brs-dark);
}

.brs-work__text {
    margin: 0;
    font-family: var(--brs-font-text);
    font-size: 22px;
    line-height: 1.59;
    color: var(--brs-dark);
    max-width: 80%;
}

.brs-work__buttons--channel {
    gap: 20px;
    margin-top: 24px;
}

.brs-work__buttons--chat {
    gap: 20px;
    margin-top: 28px;
    margin-bottom: 0;
}

.brs-btn--work-channel {
    min-height: 70px;
    padding: 10px;
    font-size: 20px;
}

.brs-work__buttons--channel .brs-btn--telegram {
    flex: 0 1 300px;
}

.brs-work__buttons--channel .brs-btn--max {
    flex: 0 1 260px;
    color: var(--brs-blue-accent);
}

.brs-btn--work-chat {
    min-height: 65px;
    padding: 10px;
    font-size: 20px;
}

.brs-work__buttons--chat .brs-btn--telegram {
    flex: 0 1 345px;
    justify-content: space-between;
}

.brs-work__buttons--chat .brs-btn--max {
    flex: 0 1 300px;
    color: var(--brs-blue-accent);
}

.brs-btn--work-audit {
    min-height: 65px;
    padding: 22px 23px;
    max-width: 445px;
    margin-top: 0;
    margin-bottom: 41px;
}

.brs-work__audit-lead {
    margin-bottom: 40px;
}

.brs-work__audit-subtitle {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-bottom: 51px;
}

.brs-work__audit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.brs-work__chat-visual {
    position: absolute;
    max-width: 100%;
    right: -71%;
}

.brs-work__chat-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.brs-work__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 35px;
}

.brs-work__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--brs-font-text);
    font-size: 22px;
    line-height: 1.3;
    color: var(--brs-dark);
}

.brs-work__feature img {
    flex-shrink: 0;
}

.brs-work__features-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
}

.brs-work__audit-title {
    margin: 0 0 22px;
    font-size: 45px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--brs-dark);
    max-width: 75%;
}

.brs-work__subtitle {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.26;
    color: var(--brs-dark);
}

.brs-work__checklist {
    margin: 0 0 60px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.brs-work__checklist li {
    display: flex;
    align-items: center;
    gap: 21px;
    min-height: 45px;
    padding: 10px 16px 10px 13px;
    background: var(--brs-bg);
    border-radius: 4.73px;
    font-family: var(--brs-font-text);
    font-size: 22px;
    line-height: 1.44;
    color: var(--brs-dark);
}

.brs-work__checklist li:last-child {
    align-items: flex-start;
    min-height: 71px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.brs-work__checklist li img {
    flex-shrink: 0;
    margin-top: 0;
}

.brs-work__checklist li:last-child img {
    margin-top: 2px;
}

.brs-work__audit-meta {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--brs-font-text);
    font-size: 22px;
    line-height: 1.28;
    font-weight: 400;
    color: var(--brs-dark);
    padding-bottom: 40px;
}

.brs-work__audit-meta li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.brs-work__audit-meta img {
    flex-shrink: 0;
    margin-top: 3px;
}

.brs-work__expert-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 6px 5px 5px rgba(134, 137, 223, 0.25);
}

.brs-work__expert-bg {
    position: absolute;
    inset: 0;
    background: var(--brs-bg-light);
    border-radius: 20px;
}

.brs-work__expert-card img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}

.brs-work__expert-caption {
    margin: 16px 0 0;
    font-family: var(--brs-font-text);
    font-size: 18px;
    line-height: 1.4;
    color: var(--brs-muted);
    text-align: center;
}

/* Journals */
section#brs-journals {
    background: url("../../../images/besplatnye-resursy-sanpin/bg-wave.svg") no-repeat;
    /* background-size: cover; */
}

.brs-btn--journals {
    min-height: 65px;
    padding: 22px 23px;
    max-width: 450px;
    margin-top: 0;
}

.brs-btn--journals-social {
    min-height: 65px;
    padding: 10px;
    font-size: 20px;
}

.brs-journals__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    gap: 0;
    align-items: start;
    margin-bottom: 0;
}

.brs-journals__title {
    margin: 0 0 22px;
    font-size: 45px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--brs-dark);
}

.brs-journals__lead {
    margin: 0 0 34px;
    font-family: var(--brs-font-text);
    font-size: 22px;
    line-height: 1.59;
    color: var(--brs-dark);
}

.brs-journals__cards {
    display: flex;
    flex-direction: column;
    gap: 21px;
    margin-bottom: 60px;
}

.brs-journals__card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 19px;
    background: var(--brs-bg);
    border-radius: 9px;
    min-height: 104px;
}

.brs-journals__card--list {
    max-width: 565px;
}

.brs-journals__card:nth-child(2) {
    max-width: 858px;
}

.brs-journals__card:nth-child(3) {
    max-width: 610px;
}

.brs-journals__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-top: 0;
    border-radius: 4px;
}

.brs-journals__card-icon--blue {
    background: linear-gradient(0deg, #285CAC 0%, #285CAC 100%);
}

.brs-journals__card-icon--green {
    background: linear-gradient(180deg, #7BD0B2 0%, #419371 100%);
}

.brs-journals__card-icon--normative {
    padding: 2px 0 0 2px;
}

.brs-journals__card-body {
    flex: 1;
    min-width: 0;
}

.brs-journals__card h4 {
    margin: 0 0 8px;
    font-family: var(--brs-font-text);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--brs-dark);
}

.brs-journals__card p {
    margin: 0;
    font-family: var(--brs-font-text);
    font-size: 18px;
    line-height: 1.3;
    color: var(--brs-dark);
}

.brs-journals__visual {
    position: sticky;
    top: 24px;
    margin-top: 159px;
}

.brs-journals__visual-wrap {
    position: relative;
    width: 100%;
    max-width: 373px;
}

.brs-journals__visual-img {
    display: block;
    width: 100%;
    height: auto;
}

.brs-journals__community-wrap {
    margin-top: 123px;
    max-width: 1123px;
}

.brs-badge--chat {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    min-height: 40px;
    margin-bottom: 54px;
    padding: 3px 16px 3px 4px;
    background: var(--brs-bg-light);
    border-radius: 63px;
    font-family: var(--brs-font-text);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.brs-badge--chat::before {
    display: none;
}

.brs-badge--chat .brs-badge__icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.brs-badge--chat .brs-badge__icon-bg {
    display: block;
    width: 34px;
    height: 34px;
}

.brs-badge--chat .brs-badge__icon-msg {
    position: absolute;
    width: 25px;
    height: 25px;
}

.brs-journals__community--inner {
    position: relative;
}

.brs-journals__community {
    display: grid;
    grid-template-columns: minmax(0, 665px);
    grid-template-rows: auto auto auto;
    align-items: start;
}

.brs-journals__community-name {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.26;
    color: var(--brs-dark);
}

.brs-journals__community-text {
    grid-column: 1;
    grid-row: 2;
    margin: 25px 0 33px;
    max-width: 532px;
    font-family: var(--brs-font-text);
    font-size: 22px;
    line-height: 1.59;
    color: var(--brs-dark);
}

.brs-journals__community-visual {
    align-self: start;
    margin-top: -13px;
    width: 100%;
    max-width: 426px;
    position: absolute;
    right: -15%;
    top: 0;
}

.brs-journals__community-buttons {
    grid-column: 1;
    grid-row: 3;
    flex-wrap: nowrap;
    gap: 20px;
    margin-top: 0;
    max-width: 665px;
}

.brs-journals__community-buttons.brs-work__buttons {
    margin-top: 0;
}

.brs-journals__community-buttons .brs-btn {
    margin-top: 0;
}

.brs-journals__community-buttons .brs-btn--telegram {
    flex: 0 0 345px;
    justify-content: space-between;
}

.brs-journals__community-buttons .brs-btn--max {
    flex: 0 0 300px;
    color: var(--brs-blue-accent);
}

.brs-journals__community-visual img {
    display: block;
    width: 100%;
    max-width: 426px;
    height: auto;
}

.brs-badge--changes {
    margin-bottom: 35px;
    padding: 8px 16px 8px 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-family: var(--brs-font-text);
    font-size: 20px;
    font-weight: 400;
}

.brs-badge--changes::before {
    display: none;
}

.brs-badge--changes .brs-badge__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(180deg, #7BD0B2 0%, #419371 100%);
}

/* Changes */
section#brs-changes {
    background: url("../../../images/besplatnye-resursy-sanpin/bg-wave.svg") no-repeat;
    background-size: cover;
}

.brs-changes {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 0;
    align-items: start;
}

.brs-changes__title {
    margin: 0 0 20px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.26;
    color: var(--brs-dark);
}

.brs-changes__text {
    margin: 0 0 24px;
    max-width: 60%;
    font-family: var(--brs-font-text);
    font-size: 18px;
    line-height: 1.5;
    color: var(--brs-dark);
}

.brs-changes__benefits {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.brs-changes__benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--brs-font-text);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--brs-dark);
}

.brs-changes__benefits img {
    flex-shrink: 0;
    width: 23px;
    height: 23px;
}

.brs-changes__expert {
    text-align: left;
}

.brs-changes__expert-visual {
    position: relative;
    width: 348px;
    max-width: 100%;
    margin-bottom: 16px;
}

.brs-changes__expert-photo {
    display: block;
    width: 100%;
    height: auto;
}

.brs-changes__note {
    margin: 0;
    max-width: 312px;
    font-family: var(--brs-font-text);
    font-size: 18px;
    line-height: 1.31;
    color: var(--brs-dark);
}

/* Solutions */
.brs-solutions {
    position: relative;
    margin-top: -40px;
    padding: 85px 0 80px;
    background: var(--brs-bg);
    border-radius: 40px 40px 0 0;
}

.brs-solutions__title {
    margin: 0 0 8px;
    max-width: 1120px;
    font-size: 60px;
    font-weight: 600;
    line-height: 1.31;
    color: var(--brs-dark);
}

.brs-solutions__link {
    color: var(--brs-blue-accent);
    text-decoration: none;
}

.brs-solutions__link:hover {
    text-decoration: underline;
}

.brs-solutions__label {
    margin: 0 0 32px;
    font-family: 'Caveat', cursive;
    font-size: 60px;
    font-weight: 600;
    line-height: 1.1;
    background: linear-gradient(130deg, #EA9840 62%, #FEDFC1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 25px;
}

.brs-solutions__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 934px;
}

.brs-solutions__card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 220px;
    padding: 54px 100px 54px 47px;
    background: var(--brs-blue);
    border-radius: 6px;
    text-decoration: none;
    color: var(--brs-white);
    box-shadow: 0 4px 4px #CDD5F4;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.brs-solutions__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 132, 219, 0.35);
}

.brs-solutions__card-title {
    font-family: var(--inter);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.38;
    max-width: 222px;
}

.brs-solutions__card-action {
    position: absolute;
    right: 21px;
    bottom: 54px;
    width: 75px;
    height: 75px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.46);
}

.brs-solutions__card-action::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
    width: 54px;
    height: 21px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 21' fill='none'%3E%3Cpath d='M0 10.5H33.75M33.75 10.5L27.75 3.5M33.75 10.5L27.75 17.5' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Bottom menu */
.brs-bottom-menu {
    display: none;
}

/* Mobile menu */
.brs-mobile-menu[hidden] {
    display: none;
}

.brs-mobile-menu {
    --brs-dark: #363E58;
    --brs-bg: #F5F7FF;
    --brs-muted: #697391;
    --brs-blue: #6384DB;
    --brs-white: #ffffff;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.brs-mobile-menu__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #363E58;
    background: var(--brs-dark);
}

.brs-mobile-menu__panel {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: #363E58;
    background: var(--brs-dark);
    padding: 134px 32px 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.brs-mobile-menu__close {
    position: absolute;
    top: 37px;
    right: 32px;
    z-index: 2;
    width: 35px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.brs-mobile-menu__close img {
    display: block;
    width: 35px;
    height: 36px;
}

.brs-mobile-menu__title {
    margin: 0 0 25px;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.26;
    color: var(--brs-bg);
}

.brs-mobile-menu__title-accent {
    color: var(--brs-bg);
}

.brs-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    margin-bottom: 61px;
}

.brs-mobile-menu__link {
    display: block;
    padding: 25px 0;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.26;
    color: var(--brs-bg);
    text-decoration: none;
    border-top: 1px solid var(--brs-muted);
}

.brs-mobile-menu__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 72px;
    margin-top: auto;
    padding: 15px 26px;
    background: var(--brs-blue);
    border-radius: 4px;
    color: var(--brs-white);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.1;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .brs-categories__panels {
        grid-template-columns: 1fr;
        width: 100%;
        margin-bottom: 64px;
    }

    .brs-categories__panel {
        width: 100%;
    }
}

/* Tablet */
@media (max-width: 1200px) {
    .brs-hero__nav {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 48px;
        padding: 16px;
    }

    .brs-hero__nav-links {
        gap: 12px 24px;
    }

    .brs-hero__nav-cta {
        align-self: flex-start;
    }

    .brs-hero__title {
        font-size: 48px;
    }

    .brs-section__title,
    .brs-categories__title,
    .brs-categories__subtitle {
        font-size: 36px;
    }

    .brs-journals__title {
        font-size: 36px;
    }

    .brs-work__audit-title {
        font-size: 36px;
    }

    .brs-categories__nav {
        gap: 16px;
    }

    .brs-categories__nav-card {
        flex: 1 1 100%;
        width: 100%;
    }

    .brs-work {
        padding-right: 0;
    }

    .brs-work__chat {
        grid-template-columns: 1fr;
    }

    .brs-journals__top,
    .brs-journals__community,
    .brs-changes {
        grid-template-columns: 1fr;
    }

    .brs-work__aside,
    .brs-journals__visual {
        position: static;
        max-width: 372px;
        margin-top: 0;
    }

    .brs-work__chat-visual {
        position: absolute;
        right: -35%;
        max-width: 100%;
        margin-top: 24px;
        bottom: 85px;
    }

    .brs-work__checklist {
        grid-template-columns: 1fr;
    }

    .brs-changes__expert {
        max-width: 324px;
    }

    .brs-solutions__grid {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .brs-solutions__title {
        font-size: 36px;
    }

    .brs-solutions__label {
        font-size: 40px;
    }

    .brs-journals__community-text {
        max-width: none;
    }

    .brs-journals__community-visual {
        position: static;
        right: auto;
        margin-top: 32px;
        max-width: 360px;
    }

    .brs-journals__community-buttons {
        flex-wrap: wrap;
        max-width: none;
    }

    .brs-journals__community-buttons .brs-btn--telegram,
    .brs-journals__community-buttons .brs-btn--max {
        flex: 1 1 280px;
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    section.page-brs {
        margin-top: 24px;
    }

    .page-brs {
        padding-bottom: 0;
    }

    .brs-contact-form {
        padding-bottom: 150px;
    }

    .brs-hero {
        min-height: 0;
        padding: 32px 0 100px;
    }

    .brs-hero__bg-main {
        object-position: center 20%;
    }

    .brs-hero__nav {
        display: none;
    }

    .brs-hero__collage {
        display: none;
    }

    .brs-hero__title {
        margin-bottom: 20px;
        font-size: 48px;
        line-height: 1.25;
    }

    .brs-hero__text {
        margin-bottom: 24px;
        font-size: 18px;
        line-height: 1.5;
    }

    .brs-hero__tags {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .brs-hero__tag {
        font-size: 14px;
        min-height: 45px;
        padding: 4px 14px 4px 4px;
    }

    .brs-hero__dot {
        width: 35px;
        height: 35px;
    }

    .brs-categories {
        margin-top: -24px;
        padding: 70px 0 60px;
        border-radius: 24px;
    }

    .brs-categories__title,
    .brs-categories__subtitle {
        font-size: 24px;
    }

    p.brs-categories__subtitle {
        padding-top: 30px;
        font-weight: 500;
    }

    .brs-categories__current-label {
        color: rgba(234, 152, 64, 1);
    }

    .brs-categories__panels {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 16px;
        margin-bottom: 40px;
    }

    .brs-categories__panel {
        width: 100%;
        min-height: auto;
    }

    .brs-categories__cell {
        grid-template-columns: 48px 1fr;
        font-size: 16px;
    }

    .brs-categories__panel-footer-text strong {
        font-size: 18px;
    }

    .brs-categories__panel-status,
    .brs-categories__panel-hint {
        font-size: 16px;
    }

    .brs-categories__nav-card {
        max-width: none;
        min-height: auto;
        padding: 30px;
        font-size: 18px;
    }

    .brs-categories__nav-card:nth-child(2) {
        padding: 30px;
    }

    .brs-categories__nav-card:nth-child(3) {
        padding: 30px;
    }

    .brs-main {
        margin-top: -24px;
        padding: 48px 0 48px;
        background-image: none;
    }

    section#brs-journals,
    section#brs-changes {
        background: none;
    }

    .brs-solutions {
        margin-top: -24px;
        padding: 40px 0 100px;
        border-radius: 24px 24px 0 0;
    }

    .brs-solutions__title {
        font-size: 30px;
        text-align: center;
    }

    .brs-solutions__label {
        font-size: 32px;
        margin-bottom: 24px;
        text-align: center;
    }

    .brs-solutions__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 934px;
        justify-content: center;
        align-items: center;
    }

    .brs-solutions__card {
        min-height: 160px;
        padding: 32px 90px 32px 24px;
        width: 280px;
        margin: 0 auto;
    }

    .brs-solutions__card-title {
        font-size: 20px;
    }

    .brs-solutions__card-action {
        width: 56px;
        height: 56px;
        right: 16px;
        bottom: 50px;
        border-radius: 13px;
    }

    .brs-section {
        padding: 60px 0;
    }

    .brs-section__title {
        font-size: 35px;
        flex: 1;
        min-width: 0;
        text-align: center;
        margin-bottom: 15px;
    }

    .brs-section__head {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }

    .brs-section__icon {
        display: none;
    }

    .brs-section__card {
        padding: 50px 20px;
    }

    .brs-work__decor,
    .brs-journals__decor,
    .brs-changes__decor {
        display: none;
    }

    .brs-work__chat {
        padding-top: 20px;
        margin-bottom: 32px;
        position: relative;
    }

    .brs-work__audit {
        padding-top: 48px;
    }

    .brs-work {
        padding-right: 0;
    }

    .brs-work__aside {
        position: static;
        right: auto;
        width: auto;
        max-width: 280px;
        margin: 24px 0;
    }

    .brs-work__expert-caption {
        text-align: left;
    }

    .brs-journals__title {
        font-size: 28px;
    }

    .brs-work__title,
    .brs-work__subtitle {
        font-size: 24px;
    }

    .brs-work__audit-title {
        font-size: 28px;
        max-width: none;
    }

    .brs-work__text,
    .brs-work__feature,
    .brs-work__checklist li,
    .brs-work__audit-meta {
        font-size: 18px;
    }

    p.brs-work__text {
        max-width: 100%;
    }

    .brs-work__checklist,
    .brs-work__features-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .brs-work__features > .brs-work__feature {
        order: 1;
    }

    .brs-work__features-row {
        order: 2;
    }

    .brs-work__buttons--channel .brs-btn--telegram,
    .brs-work__buttons--channel .brs-btn--max,
    .brs-work__buttons--chat .brs-btn--telegram,
    .brs-work__buttons--chat .brs-btn--max {
        flex: 1 1 auto;
    }

    .brs-journals__lead,
    .brs-journals__community-text {
        font-size: 18px;
    }

    .brs-journals__card h4 {
        font-size: 18px;
    }

    .brs-journals__card p {
        font-size: 16px;
    }

    .brs-journals__card--list,
    .brs-journals__card:nth-child(2),
    .brs-journals__card:nth-child(3) {
        max-width: none;
    }

    .brs-journals__top {
        display: flex;
        flex-direction: column;
    }

    .brs-journals__content {
        display: contents;
    }

    .brs-journals__title {
        order: 1;
    }

    .brs-journals__lead {
        order: 2;
    }

    .brs-journals__visual {
        order: 3;
        position: static;
        margin: 0 auto 24px;
        max-width: 210px;
    }

    .brs-journals__cards {
        order: 4;
    }

    .brs-btn--journals {
        order: 5;
    }

    .brs-journals__community-wrap {
        margin-top: 48px;
    }

    .brs-badge--chat {
        margin-bottom: 24px;
    }

    .brs-journals__community--inner {
        display: flex;
        flex-direction: column;
        position: static;
    }

    .brs-journals__community {
        display: flex;
        flex-direction: column;
    }

    .brs-journals__community-name {
        font-size: 25px;
    }

    .brs-journals__community-text {
        margin: 16px 0 24px;
        max-width: none;
    }

    .brs-journals__community-visual {
        order: -1;
        position: static;
        right: auto;
        margin: 0 0 24px;
        max-width: 241px;
    }

    .brs-journals__community-buttons {
        flex-direction: column;
        flex-wrap: wrap;
        max-width: none;
        gap: 16px;
    }

    .brs-journals__community-buttons .brs-btn--telegram,
    .brs-journals__community-buttons .brs-btn--max {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        justify-content: normal;
    }

    .brs-changes__title {
        font-size: 24px;
        order: 2;
    }

    .brs-changes__text {
        max-width: 100%;
        font-size: 16px;
        order: 3;
    }

    .brs-changes {
        display: flex;
        flex-direction: column;
    }

    .brs-changes__main {
        display: contents;
    }

    .brs-changes .brs-badge--changes {
        order: 1;
    }

    .brs-changes__expert {
        order: 4;
        max-width: none;
        margin: 24px 0;
        margin-bottom: 0;
    }

    .brs-changes__benefits {
        order: 6;
        padding-top: 25px;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .brs-changes .brs-btn {
        order: 5;
    }

    .brs-changes__expert-visual {
        width: 174px;
        margin-left: 0;
        margin-right: 0;
    }

    .brs-changes__note {
        text-align: left;
        font-size: 16px;
        max-width: 75%;
    }

    .brs-btn {
        width: 100%;
        min-height: 56px;
        font-size: 16px;
    }

    .brs-btn--journals,
    .brs-btn--work-audit {
        margin-top: 0;
    }

    .brs-work__buttons {
        flex-direction: column;
    }

    .brs-work__buttons--channel {
        gap: 0;
        margin-top: 24px;
    }

    .brs-work__buttons--chat {
        gap: 0;
        margin-top: 28px;
        margin-bottom: 0;
    }

    a.brs-btn.brs-btn--telegram.brs-btn--work-channel {
        width: auto;
        text-align: left;
        justify-content: normal;
        max-width: 270px;
    }

    .brs-work__buttons--channel .brs-btn--max {
        color: var(--brs-blue-accent);
        justify-content: normal;
        max-width: 270px;
    }

    .brs-work__buttons--chat .brs-btn--telegram {
        justify-content: space-between;
        max-width: 270px;
        line-height: 20px;
    }

    .brs-work__buttons--chat .brs-btn--max {
        color: var(--brs-blue-accent);
        justify-content: normal;
        max-width: 270px;
    }

    .brs-contact-form .call .wrapper-container {
        max-width: calc(100% - 32px);
        padding: 28px 16px 24px;
        border-radius: 24px;
    }

    .brs-bottom-menu {
        display: flex;
        position: fixed;
        bottom: 95px;
        left: 50%;
        transform: translateX(-50%) translateY(16px);
        z-index: 950;
        width: calc(100% - 32px);
        max-width: 356px;
        height: 70px;
        padding: 14px 0 14px 1px;
        background: rgba(80, 118, 178, 0.76);
        border-radius: 13px;
        backdrop-filter: blur(12.97px);
        box-shadow: 3.99px 3.99px 15.96px rgba(91, 76, 159, 0.03);
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    }

    .brs-bottom-menu.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .brs-bottom-menu__inner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 85px;
        width: 307px;
        height: 42px;
    }

    .brs-bottom-menu__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        border-radius: 18px;
    }

    .brs-bottom-menu__btn--burger {
        background: #4D70A8;
    }

    .brs-bottom-menu__burger-icon {
        display: block;
        width: 11px;
        height: auto;
    }

    .brs-bottom-menu__share-icon,
    .brs-bottom-menu__list-icon {
        display: block;
        width: 36px;
        height: 36px;
        object-fit: contain;
    }
}

/* Contact form — only this page */
.brs-contact-form .call .wrapper-container {
    border-radius: 24px;
    background: #217AFF;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.10);
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    padding: 34px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}
