* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'mont-medium';
}

html, body {
    overflow-x: clip;
    width: 100%;
}

/*html {
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}*/

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 20, 44, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-hover);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-title {
    font-family: 'pt';
    font-weight: 400;
    font-size: 28px;
    color: var(--text);
    margin: 0 0 12px 0;
}

.modal-subtitle {
    font-size: 15px;
    line-height: 150%;
    color: var(--text);
    opacity: 0.7;
    margin: 0 0 32px 0;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
}

.form-input {
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: 'mont-medium';
    color: var(--text);
    transition: var(--transition);
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 175, 84, 0.1);
}

.form-input::placeholder {
    color: #acadb0;
}

.modal-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 8px;
}

.modal-privacy {
    font-size: 13px;
    line-height: 140%;
    color: var(--text);
    opacity: 0.6;
    text-align: center;
    margin: 0;
}

.modal-privacy-link {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.modal-privacy-link:hover {
    opacity: 0.8;
}

@media (max-width: 480px) {
    .modal {
        padding: 32px 24px;
    }

    .modal-title {
        font-size: 24px;
    }
}

@font-face {
    font-family: 'tt';
    src: url(../fonts/7f986db5bd41c954-s.p.woff2);
}
@font-face{
    font-family: 'tt-title';
    src: url(../fonts/TT_Commons_Pro_Expanded_Bold.otf);
}

@font-face{
    font-family: 'pt';
    src: url(../fonts/PT_Serif-Web-Regular.ttf);
}

@font-face{
    font-family: 'montserrat';
    src: url(../fonts/Montserrat-Regular.ttf);
}

@font-face{
    font-family: 'mont-medium';
    src: url(../fonts/Montserrat-Medium.ttf);
}


:root {
    --primary: #ECAF54;
    --primary-hover: #d4a040;
    --dark: #02142c;
    --dark-footer: #01152d;
    --text: #151e34;
    --text-light: rgba(255, 255, 255, 0.7);
    --bg-light: #f9f9f9;
    --white: #fff;
    --shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    --shadow-hover: 0 8px 40px 0 rgba(170, 175, 181, 0.35);
    --radius: 10px;
    --radius-sm: 6px;
    --transition: all 0.3s ease;
}

.container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.distance {
    margin-top: 74px;
}

.title {
    margin-bottom: 36px;
    font-weight: 400;
    font-family: 'pt';
    font-size: 34px;
    color: var(--text);
    text-align: center;
}

.title_2{
    text-align: start;
}

p {
    color: var(--text);
}

/* ===== BUTTONS ===== */
.btn,
.header-btn,
.brand-button,
.btn-consultation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 175, 84, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
}

.header-btn {
    padding: 12px 32px;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    font-size: 16px;
}

.header-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.brand-button {
    padding: 16px 33px;
    background: var(--primary);
    color: #000;
    max-width: fit-content;
}

.brand-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-consultation {
    padding: 19px 44px;
    background: var(--primary);
    color: #000;
    font-size: 18px;
}

.btn-consultation:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 175, 84, 0.4);
}

/* ===== HEADER ===== */
.header {
    background: var(--dark);
    padding: 17px 0;
    /* position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; */
}

.site-sticky-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap:wrap;
    justify-content: space-between;
}

.header-inner nav{
    width:70%;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}


.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 22px;
    height: 14px;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
}

.burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.burger-line:nth-child(1) {
    top: 0;
}

.burger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-line:nth-child(3) {
    bottom: 0;
}

.burger.active .burger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 33px;
    justify-content: space-between;
    width: 100%;
}

.nav-link {
    font-size: 16px;
    color: var(--white);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
}

@media (max-width: 1200px) {
    .header-inner {
        gap: 20px;
    }

    .nav-list {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

}

/* Планшеты маленькие - бургер меню */
@media (max-width: 1024px) {
    .burger {
        display: block;
    }

    .header-burger-logo {
        display: flex;
        align-items: center;
        gap: 36px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 380px;
        height: 100vh;
        background: var(--dark);
        padding: 63px 30px 40px;
        transition: right 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-link {
        font-size: 18px;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .header-inner {
        gap: 16px;
    }

}

/* Телефоны - компактная шапка */
@media (max-width: 768px) {

    .header-inner {
        gap: 12px;
    }

}


/*.btn-primary:hover svg path,
.btn-consultation:hover svg path {
    fill: #fff;
}*/

.btn-outline:hover svg path {
    fill: #fff;
}

.header-btn:hover svg path {
    fill: #fff;
}

.activity-card-text a:hover svg path,
.solution-link:hover svg path,
.news-link:hover svg path {
    fill: var(--white);
}

/* ===== BANNER ===== */
.banner {
    position: relative;
    min-height: 661px;
    display: flex;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../media/banner.png) center/cover;
    z-index: -1;
}

.banner-content {
    max-width: 700px;
    padding: 85px 0 85px 67px;
}

.banner-title {
    font-weight: 400;
    font-size: 44px;
    color: var(--white);
    margin: 0 0 26px 0;
    font-family: 'pt';
}

.banner-text {
    font-size: 18px;
    line-height: 140%;
    color: var(--white);
    margin: 0 0 48px 0;
    max-width: 560px;
}

.banner-buttons {
    display: flex;
    gap: 26px;
}

/* ===== CARDS COMMON ===== */
.card-hover {
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* ===== ACTIVITY ===== */
.activity-cards {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}

.activity-card {
    box-shadow: var(--shadow);
    background: var(--white);
    display: flex;
    gap: 24px;
    border-radius: var(--radius);
    padding: 25px 21px;
}

.activity-card-image {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 52px 0;
    display: flex;
    align-items: center;
    max-height: 214px;
}

.activity-card-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: space-between;
}

.activity-card-text a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    width: 38px;
    height: 38px;
    transition: var(--transition);
}

.activity-card-text a:hover {
    background: var(--primary);
}

.activity-card-text a:hover svg {
    fill: var(--white);
}

.activity-card p {
    font-weight: 500;
    font-size: 15px;
    line-height: 146%;
}

.activity-card .activity-card-title {
    font-weight: 400;
    font-family: 'pt';
    font-size: 20px;
    line-height: 130%;
}

/* ===== SOLUTIONS ===== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.solution-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.solution-image {
    height: 180px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.solution-card:hover .solution-image img {
    transform: scale(1.05);
}

.solution-content {
    padding: 23px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.solution-title {
    font-weight: 400;
    font-family: 'pt';
    font-size: 20px;
    margin: 0 0 12px 0;
}

.solution-description {
    font-weight: 500;
    font-size: 15px;
    line-height: 140%;
    margin: 0 0 24px 0;
    flex: 1;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--white);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    transition: var(--transition);
    align-self: flex-start;
}

.solution-link:hover {
    background: var(--primary);
}

.solution-link:hover svg {
    fill: var(--white);
}

/* ===== BRANDS ===== */
.brands-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.brand-card-large {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px 36px 60px 36px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.brand-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brand-logo-wrapper {
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    max-width: 238px;
    width: 100%;
    height: 82px;
    margin-bottom: 22px;
}

.brand-name {
    font-weight: 400;
    font-family: 'pt';
    font-size: 20px;
    margin: 0;
}

.brand-description {
    font-weight: 500;
    font-size: 16px;
    line-height: 146%;
    margin: 0;
}

.brand-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-equipment-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 280px;
}

.brands-grid {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    overflow:hidden;
    padding: 24px 0px;
}


.brands-grid-track {
    display: flex;
    flex-shrink: 0;
    gap: 16px;
    padding: 0 20px;
    animation: brands-grid-scroll 35s linear infinite;
}

.brands-grid:hover .brands-grid-track {
    animation-play-state: paused;
}

.brand-item {
    flex: 0 0 220px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    min-height: 118px;
    padding: 0 20px;
}

.brand-item-logo {
    max-width: 85%;
    height: auto;
    object-fit: contain;
}

@keyframes brands-grid-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-100% - 16px)); }
}

@media (prefers-reduced-motion: reduce) {
    .brands-grid-track {
        animation: none;
    }
}

@media (max-width: 768px) {
    .brand-item {
        flex: 0 0 160px;
        min-height: 96px;
    }
}

/* ===== TRUST ===== */
.trust-distance{
    margin-top:50px;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.trust-item {
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 165px;
    transition: var(--transition);
    cursor: pointer;
}
.trust-item:hover {
    transform: translateY(-4px);
}
.trust-logo {
    max-width: 85%;
    height: auto;
    display: block;
    filter: grayscale(100%) opacity(0.55);
    transition: filter var(--transition), opacity var(--transition);
}
.trust-item:hover .trust-logo {
    filter: none;
    opacity: 1;
}
.trust-logo-size{
max-width:55%;
}


/* ===== NEWS ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    padding: 25px;
    padding-bottom: 49px;
    justify-content: space-between;
}

.news-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--white);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    z-index: 2;
}

.news-card-content {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-date {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: var(--text);
    margin-bottom: 12px;
}

.news-title {
    font-weight: 400;
    font-family: 'pt';
    font-size: 18px;
    line-height: 140%;
    color: var(--text);
    margin-bottom: 26px;
    flex: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    transition: var(--transition);
    align-self: flex-start;
}

.news-link:hover {
    background: var(--primary);
}

.news-link:hover svg {
    fill: var(--white);
}

/* ===== FAQ ===== */
.faq-container {
    width: 100%;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 20px 11px 28px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question-text {
    font-weight: 400;
    font-family: 'pt';
    font-size: 18px;
    line-height: 140%;
    color: var(--text);
    padding-right: 20px;
    flex: 1;
}

.faq-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.faq-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 28px 24px 28px;
    font-weight: 400;
    font-size: 15px;
    line-height: 160%;
    color: var(--text);
}

.show-all-answers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
    cursor: pointer;
    font-size: 16px;
    color: var(--primary);
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
}

.show-all-answers:hover {
    opacity: 0.8;
}

.show-all-answers svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.show-all-answers.active svg {
    transform: rotate(180deg);
}

/* ===== ABOUT MAES ===== */
.about-maes-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 44px 60px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: flex-start;
}

.about-maes-image {
    border-radius: var(--radius);
    overflow: hidden;
}

.about-maes-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-maes-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-maes-text {
    font-weight: 400;
    font-size: 15px;
    line-height: 156%;
    margin: 0;
}

.about-maes-text p {
    margin: 0 0 16px 0;
}

.about-maes-text p:last-child {
    margin-bottom: 0;
}

.about-maes-subtitle {
    color: var(--text);
    margin: 28px 0 12px 0;
    font-size:20px;
}

.about-maes-text-hidden .about-maes-subtitle:first-child {
    margin-top: 4px;
}

.about-maes-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 20px 0;
}

.about-maes-list li {
    position: relative;
    padding-left: 18px;
    font-weight: 400;
    font-size: 15px;
    line-height: 156%;
    color: var(--text);
}

.about-maes-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.about-maes-why-list li strong {
    font-weight: 600;
}

.about-maes-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 8px 0 16px 0;
}

.about-maes-final-btn {
    margin-top: 8px;
}
.about-maes-cta-row-btn{
   padding: 13px 14px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    color: var(--primary);
    transition: var(--transition);
}

.read-more-link:hover {
    gap: 18px;
}

/* Скрытая часть текста "О компании" — раскрывается по кнопке "Читать подробнее" на всех разрешениях */
.about-maes-text-hidden {
    display: none;
}

.about-maes-content.expanded .about-maes-text-hidden {
    display: block;
}

.about-maes-content.expanded .read-more-link svg {
    transform: rotate(180deg);
}

/* ===== CONSULTATION CTA ===== */
.consultation-cta {
    position: relative;
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    min-height: 524px;
}

.consultation-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../media/project.png) center / cover;
    z-index: -1;
}

.consultation-cta-bg_2{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../media/banner_2.png) center / cover;
    z-index: -1;
}
.consultation-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
}

.consultation-cta-content {
    padding-left: 64px;
}

.consultation-cta-title {
    font-weight: 400;
    font-family: 'pt';
    font-size: 34px;
    color: var(--white);
    margin: 0 0 18px 0;
}

.consultation-cta-text {
    font-size: 18px;
    line-height: 140%;
    color: var(--white);
    margin: 0 0 50px 0;
}

/* ===== FOOTER ===== */
.footer {
    margin-top: 110px;
    background: var(--dark-footer);
    padding: 88px 0 32px;
    color: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 100px;
}

.footer-col-logo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-desc {
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    color: var(--white);
    opacity: 0.54;
    max-width: 282px;
}

.footer-social-icons{
    display: flex;
    gap: 15px;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    width: 38px;
    height: 38px;
    transition: var(--transition);
}

.footer-social:hover {
    background: rgba(236, 175, 84, 0.1);
    transform: translateY(-2px);
}

.footer-title {
    font-family: 'pt';
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
    margin: 0 0 14px 0;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    font-size: 16px;
    line-height: 150%;
    color: var(--white);
    display: inline-block;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: var(--white);
    transition: var(--transition);
}

.footer-contact-link:hover {
    color: var(--primary);
}

.footer-divider {
    max-width: 100%;
    height: 1px;
    background: #d9d9d9;
    opacity: 0.1;
    margin: 0 auto 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright,
.footer-privacy {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: var(--white);
}

.footer-privacy:hover {
    color: var(--primary);
}


.section-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
}

.section-title-row .title {
    margin-bottom: 0;
    text-align: left;
}

.slider-nav {
    display: none;
    gap: 8px;
    flex-shrink: 0;
}

.slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--primary);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
}

.slider-arrow:hover {
    background: var(--primary-hover);
}

.slider-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.slider-arrow svg {
    width: 22px;
    height: 22px;
    display: block;
}

.slider-dots {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E4E4E4;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    border: none;
    flex-shrink: 0;
}

.slider-dot.active {
    background: var(--primary);
}

.slider-nav-trust{
    display: flex;
}

@media (max-width: 1430px) {
    .activity-cards {
        flex-wrap: wrap;
    }

    .activity-card {
        width: 100%;
    }

    .activity-card-text {
        justify-content: center;
    }
}

@media (max-width: 1200px) {

    .solutions-grid,
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-col-logo {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    .brand-card-large {
        flex-direction: column;
    }

    .brand-button {
        width: 100%;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-maes-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .about-maes-content {
        order: 1;
    }

    .about-maes-image {
        order: 2;
    }
}

@media (max-width: 768px) {
    .distance {
        margin-top: 50px;
    }

    .title {
        text-align: start;
    }

    .banner {
        min-height: 482px;
        margin-top: 0;
        padding-top: 42px;
    }

    .banner-bg {
        background: url(../media/banner-tablet.png) center / cover;
    }

    .banner-content {
        padding: 60px 20px;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-text {
        max-width: 292px;
    }

    .banner-buttons a {
        width: 100%;
    }

    .section-title-row {
        justify-content: space-between;
    }

    .activity-card-image {
        padding: 21px 0;
    }

    .trust-section .slider-nav,
    .trust-section .slider-dots {
        display: flex;
    }

    /* --- Слайдеры: стрелки и точки становятся видимыми --- */
    .slider-nav,
    .slider-dots {
        display: flex;
    }

    .section-title-row {
        margin-bottom: 24px;
    }

    .section-title-row .title {
        margin-bottom: 0;
    }

    /* --- Что мы делаем: слайдер, 1 карточка на экран --- */
    .activity-cards {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 16px;
        padding-bottom: 24px;
    }

    .activity-cards::-webkit-scrollbar {
        display: none;
    }

    .activity-card {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
    }

    /* --- Решения по отраслям: слайдер, 3 карточки на экран --- */
    .solutions-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 16px;
        padding-bottom: 24px;
    }

    .solutions-grid::-webkit-scrollbar {
        display: none;
    }

    .solution-card {
        flex: 0 0 calc((100% - 32px) / 3);
        scroll-snap-align: start;
    }

    /* --- Нам доверяют: слайдер, 3 карточки на экран --- */
    .trust-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 16px;
    }

    .trust-grid::-webkit-scrollbar {
        display: none;
    }

    .trust-item {
        flex: 0 0 calc((100% - 32px) / 3);
        scroll-snap-align: start;
    }

    /* --- Новости и блог: слайдер, 2 карточки на экран --- */
    .news-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 16px;
        padding-bottom: 24px;
    }

    .news-grid::-webkit-scrollbar {
        display: none;
    }

    .news-card {
        flex: 0 0 calc((100% - 16px) / 2);
        scroll-snap-align: start;
    }

   .consultation-cta {
        min-height: auto;
        padding: 60px 0;
    }
    .faq-question {
        padding: 25px 20px 25px 28px;
    }

    .consultation-cta-bg {
        background: url(../media/project-tablet.png) center / cover;
    }

    .consultation-cta-content {
        max-width: 371px;
    }
    /*.consultation-cta-wrapper {
    align-items: flex-start;
    }
    .consultation-cta-content {
    padding-left: 44px;
}
.consultation-cta-text {
    margin: 0 0 28px 0;
}
*/

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
        column-gap: 16px;
        margin-bottom: 40px;
    }

    .footer-col-logo {
        grid-column: 1 / -1;
        order: 0;
    }

    /* Решения */
    .footer-top .footer-col:nth-child(2) {
        order: 2;
    }

    /* Услуги */
    .footer-top .footer-col:nth-child(3) {
        order: 3;
    }

    /* Компания */
    .footer-top .footer-col:nth-child(4) {
        order: 1;
    }

    .footer-col-contacts {
        order: 4;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer-col-logo {
        flex-direction: row;
        gap: 34px;
        align-items: flex-end;
        padding-bottom: 30px;
        border-bottom: 1px solid #17293F;
    }

    .footer-desc {
        max-width: 424px;
    }
}

@media (max-width:700px) {
    .brands-featured {
        grid-template-columns: repeat(1, 1fr);
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

   .consultation-cta {
        min-height: auto;
        padding: 60px 0;
        height: 384px;
    }


    .consultation-cta-title {
        font-size: 24px;
    }

    .title {
        font-size: 24px;
    }

    .solution-image {
        height: 200px;
    }

    .about-maes-wrapper {
        padding: 24px;
    }

    .about-maes-cta-row {
        flex-direction: column;
    }

    .about-maes-cta-row .btn {
        width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 8px;
        text-align: left;
    }

    .footer-col-logo {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .consultation-cta-bg_2 {
        background: url(../media/banner_2_mobile_new.png) center / cover;
    }

    .container {
        padding: 0 14px;
    }

   .consultation-cta-content {
        padding-left: 18px;
        max-width: 278px;
    }
    .btn-consultation {
        padding: 19px 15px;
        font-size: 16px;
    }

    .footer-logo img {
        max-width: 312px;
    }

    .footer {
        margin-top: 86px;
    }

    .activity-card-image {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .activity-card {
        flex-direction: column;
    }

    .slider-dots {
        margin-top: 0;
    }

    .trust-grid {
        padding-bottom: 24px;
    }

    .banner-buttons {
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-inner {
        gap: 16px;
        flex-wrap: wrap;
    }

    .logo img {
        max-width: 234px;
    }

    .header-burger-logo {
        gap: 28px;
    }

    .header-btn {
        width: 100%;
    }

    .banner-bg {
        background: url(../media/banner-mobile.png) center / cover;
    }

    .banner-title {
        font-size: 24px;
        margin: 0 0 18px 0;
    }

    .banner-content {
        padding: 20px 0px 100px 0px;
    }

    .banner {
        min-height: 482px;
        padding-top: 0;
    }

    .banner-text {
        margin: 0 0 194px 0;
        font-size: 16px;
    }
}


/* ===== TOP BAR ===== */
.top-bar {
    background: #132A48;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 32px;
}

.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--white);
    opacity: 0.9;
}

.top-bar-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.top-bar-item a {
    color: var(--white);
    opacity: 0.9;
    font-size: 15px;
    transition: var(--transition);
    white-space: nowrap;
}

.top-bar-item a:hover {
    color: var(--primary);
    opacity: 1;
}

.top-bar-btn {
    padding: 4px 22px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.top-bar-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.social-logo {
    width: 25px;
    height: 25px;
}

@media (max-width: 1024px) {
    .top-bar-info {
        gap: 20px;
    }

    .top-bar-contacts {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 12px;
    }

    .top-bar-info {
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-bar-contacts {
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-bar-item span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 10px 0;
    }

    .top-bar-item {
        font-size: 12px;
    }

    .top-bar-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
}

.nav-top-bar {
    display: none;
    padding: 16px 0 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
}

.nav-top-bar-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-top-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    opacity: 0.8;
    font-size: 14px;
}

.nav-top-bar-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.nav-top-bar-item a {
    color: var(--white);
    font-size: 15px;
    transition: var(--transition);
}

.nav-top-bar-item a:hover {
    color: var(--primary);
}

.nav-top-bar-social {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 4px;
}

.nav-top-bar-social .social-logo {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-top-bar-social .social-logo:hover {
    transform: scale(1.1);
}

.nav-top-bar-social .social-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-top-bar-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 4px;
}

.nav-top-bar-btn:hover {
    background: var(--primary-hover);
}

@media (max-width: 1024px) {
    .nav-top-bar {
        display: block;
    }

    .top-bar {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-top-bar {
        padding: 12px 0 20px 0;
    }

    .nav-top-bar-btn {
        padding: 10px 16px;
    }
}

/* ===== CATALOG PAGE (Каталог оборудования) ===== */
.breadcrumb {
    font-size: 14px;
    color: #151e34;
    margin-bottom: 26px;
}

.breadcrumb a {
    color: #151e34;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
   color: #acadb0;
}

.catalog-hero-title {
    font-family: 'pt';
    font-weight: 400;
    font-size: 44px;
    color: var(--text);
    margin: 0 0 16px 0;
}

.catalog-hero-text {
    font-size: 16px;
    line-height: 150%;
    color: var(--text);
    max-width: 505px;
    margin: 0;
}

.catalog-tabs-wrap {
    display: flex;
    justify-content: center;
    margin: 32px 0;
}

.catalog-tabs {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    height: 71px;
    padding: 0 106px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
}

.catalog-tabs-indicator {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 156px;
    height: 3px;
    background: #ecaf54;
    border-radius: 10px 0 0 10px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.catalog-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 0;
    font-weight: 500;
    font-size: 16px;
    color: #151e34;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.catalog-tab:hover {
    opacity: 0.8;
}

.catalog-tab.active {
    opacity: 1;
    font-weight: 600;
}

.catalog-tab svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .catalog-tabs {
        justify-content: flex-start;
        gap: 32px;
        padding: 0 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .catalog-tabs::-webkit-scrollbar {
        display: none;
    }
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 335px);
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.category-card {
    width: 335px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    overflow: visible;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.category-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.category-image-wrap {
    position: relative;
}

.category-image {
    width: 335px;
    height: 200px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-icon {
    position: absolute;
    left: 22px;
    bottom: -15px;
    width: 58px;
    height: 58px;
    border-radius: 10px;
    background: #f9f1ea;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-content {
    display: flex;
    flex-direction: column;
    padding: 33px 22px;
}

.category-title {
    font-weight: 400;
    font-family: 'pt';
    font-size: 20px;
    color: #151e34;
    margin: 0 0 10px 0;
}

.category-desc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
}

.category-desc {
    font-weight: 500;
    font-size: 14px;
    line-height: 146%;
    color: #151e34;
    margin: 0;
}

.category-link {
    flex-shrink: 0;
    display: inline-flex;
}

.tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 13px 28px;
    border-radius: 50px;
    background: #f5f5f5;
    font-weight: 500;
    font-size: 14px;
    line-height: 146%;
    color: #151e34;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.tag-chip:hover {
    background: var(--primary);
    color: #000;
}

.popular-equipment-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 16px;
    color: var(--primary);
    transition: var(--transition);
    white-space: nowrap;
}

.popular-equipment-all:hover {
    gap: 14px;
}

.section-title-row_2{
    justify-content: space-between;
    margin-bottom: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 335px);
    justify-content: center;
    gap: 20px;
}

.product-card {
    width: 335px;
    height: 236px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    padding: 26px 18px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-image {
    width: 108px;
    height: 104px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    justify-content: space-between;
    height: 100%;
}

.product-title {
    font-weight: 400;
    font-size: 20px;
    color: #151e34;
    margin: 0 0 8px 0;
    font-family: 'pt';
}

.product-desc {
    font-weight: 500;
    font-size: 14px;
    line-height: 146%;
    color: #151e34;
    margin: 0 0 12px 0;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font8);
    font-weight: 500;
    font-size: 16px;
    color: #ecaf54;
}

.key-brands-card {
    position: relative;
    width: 1400px;
    max-width: 100%;
    height: 118px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    overflow: hidden;
}

.key-brands-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 100%;
    padding: 0 39px;
}

.key-brands-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.key-brands-item img {
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 1400px) {
    .key-brands-track {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 24px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .key-brands-track::-webkit-scrollbar {
        display: none;
    }
}

.catalog-cta {
    position: relative;
    width: 1400px;
    max-width: 100%;
    padding: 53px 45px 53px 107px;
    border-radius: 16px;
    background-image: url('../media/back.png');
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.catalog-cta-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.catalog-cta-title {
    font-weight: 400;
font-size: 30px;
color: #fff;
font-family: 'pt';
    margin: 0;
margin-bottom: 8px;
}

.catalog-cta-text {
    font-weight: 400;
font-size: 16px;
line-height: 140%;
color: #fff;
    margin: 0;
}

.catalog-cta-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .catalog-cta {
        height: auto;
        padding: 32px 24px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .title {
        text-align: start;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .catalog-tabs::-webkit-scrollbar {
        display: none;
    }

    .catalog-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .catalog-hero-title {
        font-size: 26px;
    }

    .product-card {
        padding: 14px;
    }
}

/* ===== INDUSTRY PAGE (Молочная отрасль и т.п.) ===== */
.industry-hero {
    position: relative;
    background: var(--dark);
    overflow: hidden;
    height: 534px;
    margin-top: 0;
}

.industry-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right center;
    opacity: 1;
    z-index: 0;
}

.industry-badge-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-badge-icon svg {
    width: 48px;
    height: 48px;
}

@media (max-width: 768px) {
    .industry-hero {
        height: auto;
        padding-bottom: 40px;
    }
}

.industry-hero .container {
    position: relative;
    z-index: 1;
    padding-top: 57px;
}

.industry-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.5);
}

.industry-hero .breadcrumb a {
    color: #fff;
}

.industry-hero .breadcrumb a:hover {
    color: var(--primary);
}

.industry-hero .breadcrumb span {
    color: inherit;
}

.industry-hero-title {
    font-family: 'pt';
    font-weight: 400;
    font-size: 44px;
    color: #fff;
    margin: 52px 0 15px 0;
    max-width: 700px;
}

.industry-hero-text {
    font-size: 16px;
    line-height: 150%;
    color: #fff;
    max-width: 423px;
    margin: 0 0 83px 0;
}

.industry-badges {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.industry-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}


.industry-badge-text {
    font-size: 16px;
    line-height: 135%;
    color: #fff;
    font-weight: 500;
    max-width: 185px;
}

.task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 268px);
    justify-content: center;
    gap: 15px;
    margin: 38px 0 0px 0;
}

.task-card {
    box-sizing: border-box;
    padding: 22px 10px 22px 18px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    display: flex;
    flex-direction: column;
    gap: 21px;
    transition: var(--transition);
}

.task-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.task-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
 .task-hero-text{
    font-size: 16px;
    line-height: 156%;
    color: var(--text);
    margin: 0;
 }


.task-text {
    display: flex;
    flex-direction: column;
    gap:10px;
}

.task-title {
    font-weight: 400;
    font-size: 20px;
    font-family:'pt';
    color: var(--text);
}

.task-desc {
    font-size: 14px;
    line-height: 146%;
    color: var(--text);
    margin: 0;
}

.industry-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 264px);
    justify-content: center;
    gap: 20px;
    margin-bottom: 56px;
}

.industry-solution-card {
    width: 264px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    overflow: visible; /* бейдж-иконка выступает за границу картинки — как у категорий */
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.industry-solution-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.industry-solution-image-wrap {
    position: relative;
}

.industry-solution-image {
    width: 264px;
    height: 114px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.industry-solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.industry-solution-card:hover .industry-solution-image img {
    transform: scale(1.05);
}

.industry-solution-badge {
    position: absolute;
    left: 18px;
    bottom: -20px;
    width: 58px;
    height: 58px;
    border-radius: 10px;
    background: #f9f1ea;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-solution-badge img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.industry-solution-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 33px 15px 22px;
}

.industry-solution-title {
    font-weight: 400;
    font-size: 20px;
    color: #151e34;
    margin: 0 0 9px 0;
    font-family: 'pt';
}

.industry-solution-desc-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3px;
}

.industry-solution-desc {
    font-weight: 500;
    font-size: 13px;
    line-height: 146%;
    color: #151e34;
    margin: 0;
}

.equipment-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.equipment-grid-5 .product-card {
    width: 335px;
    height: auto;
    padding: 22px 16px 30px 16px;
}

.equipment-grid-5 .product-image {
    width: 78px;
    height: 100%;
    border-radius: 6px;
}

.product-brand {
    font-weight: 700;
    font-size: 14px;
    color: #151e34;
    margin: 0 0 6px 0;
    font-family: 'pt';
}

.process-flow {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 44px 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 56px;
    flex-wrap: wrap;
    gap:10px;
}
.process-step-svg{
    border-radius: 10px;
min-width: 54px;
    min-height: 54px;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
}
.gap-svg{
    align-self:center;
}
.process-step {
    display: flex;
    align-items: center;
    gap: 0px;
    flex: 1;
    min-width: 170px;
}

.process-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.process-arrow {
    align-self: center;
    flex-shrink: 0;
}

.process-step-title {
    font-weight: 400;
font-size: 20px;
font-family: 'pt';
    color: var(--text);
    margin: 0 0 6px 0;
}

.process-step-desc {
   font-weight: 500;
font-size: 14px;
line-height: 146%;
    color: var(--text);
    margin: 0;
}

.industry-cta-text{
        max-width: 534px;
}
.industry-cta {
    padding: 14px 45px 14px 107px;

}

@media (max-width: 1200px) {


    .industry-solutions-grid,
    .equipment-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .industry-hero-title {
        font-size: 30px;
    }
    
    .industry-hero-bg {
    background-position: center;
    }
    
    .equipment-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

.industry-solutions-grid{
    grid-template-columns: repeat(1, 100%);
}

.industry-solution-card {
    width: 100%;
}

.industry-solution-image {
    width: 100%;
}

    .process-flow {
        flex-direction: column;
    }

    .process-arrow {
        display: none;
    }

    .industry-cta {
        padding: 32px 24px;
    }
}

@media (max-width: 580px) {
    .task-grid {
    grid-template-columns: repeat(auto-fill, 100%);
    }
}

@media (max-width: 480px) {
    .equipment-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .industry-badges {
        gap: 16px;
    }

    .industry-badge-text {
        font-size: 13px;
    }
}



/* ===== PRODUCT CARD PAGE (Карточка оборудования) ===== */
.product-hero {
    background: var(--dark);
    overflow: hidden;
}

.product-hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0;
}

.product-hero-text-col {
    flex: 1;
    min-width: 0;
    padding: 48px 20px 48px 48px;
}

.product-hero-image-col {
    flex: 1;
    align-self: stretch;
    min-height: 360px;
    position: relative;
}

.product-hero-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-made-in {
    position: absolute;
    right: 16px;
    bottom: 16px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 100px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.product-brand-label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-hero-title {
    font-family: 'tt-title';
    font-weight: 700;
    font-size: 34px;
    color: #fff;
    margin: 0 0 14px 0;
}

.product-hero-text {
    font-size: 15px;
    line-height: 150%;
    color: var(--text-light);
    margin: 0 0 24px 0;
}

.product-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.product-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.product-highlight-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(236, 175, 84, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-highlight-text {
    font-size: 14px;
    line-height: 140%;
    color: #fff;
    font-weight: 500;
}

.product-hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-tabs {
    display: flex;
    gap: 8px;
    margin: 10px 0 32px 0;
    overflow-x: auto;
    scrollbar-width: none;
    padding-top: 5px;
}

.product-tabs-all {
    border-bottom: 1px solid #ececec;
    box-shadow: 0px 5px 10px 0px #00000010;
    margin-bottom: 40px;
    padding-top: 5px;
}

.product-tabs::-webkit-scrollbar {
    display: none;
}

.product-tab {
    padding: 14px 18px;

    font-size: 14px;
    color: var(--text);

    border-bottom: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
}

.product-tab.active {
    opacity: 1;
    border-bottom-color: var(--primary);
}

.spec-table {
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0px 0px 15px #0000001f;
}

.spec-table h2 {
    margin: 0 0 20px 0;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
    font-size: 14px;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text);
    opacity: 0.6;
}

.spec-value {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

.checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    margin-bottom: 40px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
}

.compatible-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.compatible-item {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.compatible-item img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.compatible-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

@media (max-width: 768px) {
    .product-hero .container {
        flex-direction: column;
    }

    .product-hero-text-col {
        padding: 32px 20px;
    }

    .product-hero-image-col {
        min-height: 220px;
        width: 100%;
    }

    .spec-grid,
    .checklist {
        grid-template-columns: 1fr;
    }

    .compatible-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== SERVICE PAGE (Сервис и поддержка) ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0 56px 0;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 32px 40px;
    margin-bottom: 56px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-family: 'tt-title';
    font-weight: 700;
    font-size: 34px;
    color: var(--primary);
    margin: 0 0 6px 0;
}

.stat-label {
    font-size: 14px;
    color: var(--text);
    opacity: 0.65;
}

@media (max-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        padding: 24px;
    }
}


/* СТРАНИЦЫ МОЛОКО */


.industry-hero-light {
    background: #fff;
    padding: 40px 0;
}

.industry-hero-light-grid {
    display: flex;
    align-items: center;
}

.industry-hero-light-content {
    flex: 1;
    min-width: 0;
}

.industry-hero-light-title {
    font-family: 'pt';
    margin: 50px 0 18px 0;
    font-weight: 400;
    font-size: 44px;
    color: #151e34;
}

.industry-hero-light-text {
    margin: 0 0 76px 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #151e34;
}

.industry-badges-light .industry-badge-text {
    color: #151e34;
}
.industry-badges-light{
    flex-wrap: nowrap;
}

.industry-hero-light-image-wrap {
    min-width: 0;
    height: 442px;
    border-radius: 16px;
    background-image: radial-gradient(rgba(21, 30, 52, 0.06) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    background-position: top right;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 992px) {
    .breadcrumb {
    min-width: 460px;
    z-index: 100;
    position: sticky;
}
    .industry-hero-light-grid {
        align-items: flex-start;
    }

.industry-badges-light .industry-badge-text {
    min-width: 148px;
}

    .industry-hero-light-image-wrap {
        width: 100%;
        height: 100%;
        max-width: 362px;
        max-height: 262px;
    }

.industry-hero-light-image-wrap img{
    width: 100%;
    height: 100%;
}

    .industry-hero-light-title {
        font-size: 30px;
    }
}
.industry-hero-light-image-wrap-adapt{
    display: none;
}
@media (max-width:650px){
    .industry-hero-light-image-wrap{
        display: none;
    }
    .industry-hero-light-image-wrap-adapt{
        display: flex;
        margin-bottom: 25px;
    }
    .industry-hero-light-text {
    margin: 0 0 17px 0;
    }
    .industry-badges-light{
        flex-wrap: wrap;
    }
    .mobile-filter-bar {
        flex-wrap: wrap;
    }
    .mobile-sort-wrap {
         flex-wrap: wrap;
    }
    
    .breadcrumb {
        min-width:100%;
    }
    .industry-badges-light .industry-badge-text {
        min-width: 100%;
    }
    
}

.catalog-results-layout {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.filters-nav{
    max-width: 324px;
    display: flex;
    flex-direction: column;
}
.filters-sidebar {
    flex-shrink: 0;
    background: #fff;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    padding: 24px 20px 8px 20px;
}

.filters-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 21px;
    border-bottom: 1px solid #e4e4e4;
    margin-bottom: 21px;
}

.filters-sidebar-title {
   font-weight: 600;
    font-size: 18px;
    color: #151e34;
    margin: 0;
}

.filters-reset {
    font-weight: 600;
font-size: 16px;
line-height: 146%;
color: #ecaf54;
}

.filter-group {
    border-top: 1px solid #ececec;
    padding: 18px 0;
}

.filter-group:first-of-type {
    border-top: none;
    padding-top: 0;
}

.filter-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
font-size: 16px;
line-height: 140%;
color: #151e34;
}

.filter-group summary::-webkit-details-marker {
    display: none;
}

.filter-group summary .chevron {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.filter-group[open] summary .chevron {
    transform: rotate(180deg);
}

.filter-search {
    position: relative;
    margin: 14px 0 10px 0;
}

.filter-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.filter-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px 9px 32px;
   font-weight: 500;
font-size: 15px;
line-height: 146%;
color: #151e34;
     border: 1px solid #e4e4e4;
    border-radius: 6px;
    height: 42px;
}

.filter-list {
    list-style: none;
    margin: 17px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #151e34;
    cursor: pointer;
}

.filter-item input[type="checkbox"] {
   border: 1px solid #e4e4e4;
    border-radius: 6px;
    width: 20px;
    height: 20px;
    accent-color: #ecaf54;
    flex-shrink: 0;
}

.filter-item-count {
    margin-left: auto;
    font-size: 13px;
    color: rgba(21, 30, 52, 0.4);
}

.filter-show-all {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
    font-size: 16px;
    line-height: 146%;
    color: #1868a5;
}

.filters-cta {
    border-top: 1px solid #ececec;
    display: flex;
    gap: 14px;
    border-radius: 0 0 10px 10px;
    width: 324px;
    background: #fcf4e9;
    padding: 24px 14px 30px 14px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
}
.filters-cta svg{
    min-width: 22px;
}
.filters-cta-content{
    display: flex;
    flex-direction: column;
}
.filters-cta-text {
    font-weight: 500;
font-size: 15px;
line-height: 130%;
color: #151e34;
    margin: 10px 0 14px 0;
}

.filters-cta strong{
    font-weight: 600;
font-size: 14px;
line-height: 140%;
color: #151e34;
margin-bottom: 10px;
}

.filters-cta-link {
   font-weight: 600;
font-size: 14px;
color: #ecaf54;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------- Основная колонка (чипы + сортировка + сетка) ---------- */

.catalog-results-main {
    flex: 1;
    min-width: 0;
}

.active-filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    padding: 11px 16px;
    margin-bottom: 16px;
}

.active-filters-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
   display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    color: #151e34;
    background: #f9f9f9;
}

.filter-chip button {
    display: inline-flex;
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: #151e34;
    flex-shrink: 0;
}

.results-sort select {
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 11px 18px;
    font-size: 15px;
    color: #151e34;
    background: #fff;
}

.catalog-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 252px);
    justify-content: start;
    gap: 16px;
}

.result-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    padding: 12px 12px 21px 12px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    align-items: flex-start;
}

.result-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.result-image {
    width: 228px;
    height: 184px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-brand {
    font-weight: 700;
    font-size: 14px;
    line-height: 140%;
    color: #33338b;
    margin: 0 0 8px 0;
    font-family: 'pt';
}

.result-title {
    font-weight: 400;
font-size: 16px;
line-height: 140%;
color: #000;
 font-family: 'pt';
    margin: 0 0 8px 0;
}

.result-desc {
    font-weight: 500;
font-size: 12px;
line-height: 146%;
color: #151e34;
    margin: 0 0 20px 0;
}

.result-tag {
    border: 1px solid #d0d2d6;
border-radius: 6px;
padding: 4px 10px;
height: 26px;
display: flex;
align-items: center;
justify-content: center;

    font-weight: 500;
font-size: 12px;
line-height: 146%;
color: #151e34;
    margin-bottom: 17px;
}

.result-specs {
    list-style: none;
    margin: 0 0 14px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.result-specs li {
    position: relative;
    padding-left: 12px;
    font-weight: 500;
font-size: 12px;
line-height: 170%;
color: #151e34;
}

.result-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #151e34;
}

.result-link {
    align-self: flex-end;
    display: inline-flex;
}

@media (max-width:768px){
    .catalog-results-grid {
    grid-template-columns: repeat(3, 230px);
    gap: 15px;
}
    .result-card {
    max-width: 230px;
}

    .result-image {
        width:auto;
    }
}

@media (max-width:650px){
    .catalog-results-grid {
        grid-template-columns: repeat(1, 100%);
    }
    .result-card {
        max-width: 100%;
    }
}
/* ---------- Пагинация ---------- */

.results-pagination {
   display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    background: #fff;
    padding: 14px 30px;
    border-radius: 10px;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ecaf54;
    border-radius: 10px;
    width: 40px;
    height: 40px;
}

.pagination-arrow-left{
    margin-right: 24px;
}

.pagination-arrow-right{
    margin-left: 24px;
}


.pagination-arrow.is-prev svg {
    transform: scaleX(-1);
}

.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 0 8px;
    font-weight: 500;
    font-size: 16px;
    color: #151e34;
    border-radius: 6px;
    width: 41px;
    height: 41px;
}

.pagination-page.is-active {
    background: #ecaf54;
}

.pagination-ellipsis {
    color: rgba(21, 30, 52, 0.4);
    padding: 0 4px;
}

.pagination-count {
    font-weight: 500;
font-size: 14px;
line-height: 140%;
color: #151e34;
}

@media (max-width: 992px) {
    .catalog-results-layout {
        flex-direction: column;
    }

    .filters-sidebar {
        width: 100%;
    }
}
.catalog-industry-cta{
    padding: 34px 45px 53px 107px;
}


@media (max-width:768px){
    .catalog-industry-cta {
    padding: 34px 45px 53px 78px;
    background-position: left;
}
}

.equipment_for_industry_cta-text{
    max-width: 580px;
}

.catalog-cta-industry-title {
    margin-bottom: 14px;
}

.industry-color{
    background: #f6f5f3;
}



.brand-hero-bg{
    height: 680px;
}
.brand-hero{
    height: 680px;
}
.brand-hero-text{
    max-width: 664px;
    margin: 0 0 62px 0;
}
.brand-hero-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 47px 0 14px 0;
}

.brand-hero-logo img {
    height: 28px;
    width: auto;
}

.brand-hero-logo-name {
    font-weight: 700;
    font-size: 20px;
    color: #c8102e;
}

.brand-hero .industry-hero-title {
    margin-top: 0;
}

.industry-hero.brand-hero .container {
    display: block;
    padding-top: 42px;
}




.product-lines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 264px);
    justify-content: center;
    gap: 20px;
    margin: 32px 0 56px 0;
}

.product-line-card {
    width: 264px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    overflow: visible;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
     padding: 18px 18px 36px 18px;
     height: 304px;
}

.product-line-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-line-image-wrap {
    position: relative;
}

.product-line-image {
    width: 100%;
    height: 147px;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-line-badge {
    position: absolute;
    left: 18px;
    bottom: -20px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f9f1ea;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-line-badge img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.product-line-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-line-title {
    font-weight: 400;
    font-size: 18px;
    color: #151e34;
    margin: 8px 0 0 0;
    font-family: 'pt';
}

.product-line-desc-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    flex: 1;
}

.product-line-desc-row a{
    height: 18px;
}

.product-line-desc {
    font-weight: 500;
font-size: 15px;
line-height: 146%;
color: #151e34;
}


.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 188px);
    justify-content: center;
    gap: 14px;
    margin: 32px 0 56px 0;
}


.application-image-wrap {
    position: relative;
    margin-bottom: 36px;
}

.application-image {
    width: 188px;
    height: 171px;
    border-radius: 10px;
    overflow: hidden;
}

.application-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.application-badge {
    position: absolute;
    left: 10px;
   bottom: -20px;
    width: 58px;
    height: 58px;
    border-radius: 10px;
    background: #f9f1ea;
    display: flex;
    align-items: center;
    justify-content: center;
}



.application-caption {
    font-weight: 400;
font-size: 16px;
color: #151e34;
font-family: 'pt';
}


.flagman-grid{
    gap: 10px;
}

.flagman-grid .product-card {
    width: auto;
    height: auto;
    padding: 36px 11px 30px 11px;
    max-height: 200px;
    align-items: center;
}
.flagman-grid .product-image {
    border-radius: 6px;
    width: 50px;
    height: 128px;
}
.flagman-grid .product-title {
    margin: 0 0 10px 0;
}
.flagman-grid .product-desc {
    margin: 0 0 20px 0;
    font-weight: 500;
    font-size: 12px;
    line-height: 146%;
    color: #151e34;
}



.why-maes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 42px;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    padding: 30px 20px;
}

.why-maes-item {
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
    justify-content: center;
}

.why-maes-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.why-maes-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-maes-icon svg {
    width: 100%;
    height: 100%;
}


.why-maes-text p {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 146%;
    color: #151e34;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .why-maes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .why-maes-item {
        min-height: 200px;
        padding: 28px 20px;
    }
}

@media (max-width: 768px) {
    .why-maes-anton-paar {
        padding: 40px 0;
    }

    .why-maes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .why-maes-item {
        min-height: 180px;
        padding: 24px 16px;
        gap: 16px;
    }

    .why-maes-icon {
        width: 56px;
        height: 56px;
    }

    .why-maes-text p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .applications-grid {
    grid-template-columns: repeat(auto-fill, 100%);
    gap: 20px;
}
.application-image {
    width: 100%;
}
    .product-lines-grid {
    grid-template-columns: repeat(auto-fill, 100%);
    }
    
    .product-line-card {
    width: 100%;
    }
    
    .why-maes-grid {
        grid-template-columns: 1fr;
        gap:0;
        padding: 0;
    }

    .why-maes-item {
        min-height: 140px;
        padding: 20px;
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        gap: 20px;
    }

    .why-maes-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .why-maes-text {
        justify-content: flex-start;
    }

    .why-maes-text p {
        font-size: 14px;
        line-height: 140%;
    }
    
    .catalog-industry-cta{
    padding: 34px 45px 53px 45px;
}

}



.modal-switcher-overlay{
     overflow: scroll;
}

.modal-switcher{
    overflow: scroll;
    margin-top: 30%;
}
.form-switcher {
    display: flex;
    gap: 12px;
}

.switcher-item {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.switcher-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.switcher-content {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: var(--white);
}

.switcher-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    line-height: 1.2;
}

.switcher-desc {
    font-weight: 400;
    font-size: 12px;
    color: var(--text);
    opacity: 0.7;
    margin-top: 4px;
}

.switcher-item input:checked + .switcher-content {
    border-color: var(--primary);
    background: rgba(236, 175, 84, 0.05);
}

.form-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.form-tag {
    cursor: pointer;
}

.form-tag input {
    position: absolute;
    opacity: 0;
}

.form-tag span {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--bg-light);
    font-weight: 500;
    font-size: 13px;
    color: var(--text);
    transition: var(--transition);
    border: 1px solid transparent;
}

.form-tag input:checked + span {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.form-textarea {
    min-height: 80px;
    resize: vertical;
    font-family: 'mont-medium';
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text);
}

.form-checkbox input {
    position: absolute;
    opacity: 0;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-top: 2px;
}

.checkbox-custom svg {
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

.form-checkbox input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.form-checkbox input:checked + .checkbox-custom svg {
    opacity: 1;
    transform: scale(1);
}

.form-checkbox .checkbox-text a {
    color: var(--primary);
    text-decoration: underline;
}

.form-checkbox .checkbox-text a:hover {
    opacity: 0.8;
}

@media (max-width: 480px) {
    .form-switcher {
        flex-direction: column;
    }

    .modal {
        padding: 32px 20px;
    }
}




.nav-item.menu-item-has-children {
    position: relative;
}

.nav-item .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 14px;
    padding: 10px;
    list-style: none;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 200;
    min-width: 260px;
}

.nav-item.menu-item-has-children:hover > .sub-menu,
.nav-item.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-nav-item {
    list-style: none;
}

.sub-nav-link {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 15px;
    color: #151e34;
    transition: var(--transition);
}

.sub-nav-link:hover {
    background: #f9f1ea;
    color: #151e34;
}
@media (max-width: 1024px) {
    .nav-item .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        margin: 6px 0 6px 0;
        padding: 0 0 0 16px;
        max-width: 260px;
        width: 100%;
    }

    .sub-nav-link {
        color: rgba(255, 255, 255, 0.75);
        padding: 8px 0;
        border-bottom: none;
    }

    .sub-nav-link:hover {
        background: none;
        color: var(--primary);
    }
}


/*-- СТРАНИЦА ЗАПИСЕЙ --*/
.blog-hero {
    position: relative;
    overflow: hidden;
    padding: 46px 0 0;
}

.blog-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 320px;
    background-image: url('../media/hex-pattern.svg');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.blog-hero .container {
    position: relative;
    z-index: 1;
}

/* ---------- Вкладки-плитки категорий ---------- */

.blog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 36px 0 40px 0;
}

.blog-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    border: none;
    white-space: nowrap;
    transition: var(--transition);
    border-radius: 10px;
    width: 264px;
    height: 68px;
    justify-content: center;
    font-weight: 500;
    font-size: 16px;
    color: #151e34;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    background: #fff;
    cursor:pointer;
}

.blog-tab .blog-tab-icon svg,
.blog-tab .blog-tab-icon svg path {
    fill: #151e34;
    transition: fill 0.2s ease;
}

.blog-tab.active .blog-tab-icon svg,
.blog-tab.active .blog-tab-icon svg path {
    fill: #ecaf54;
}

.blog-tab:hover {
    box-shadow: var(--shadow-hover);
}

.blog-tab::after {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 3px;
    border-radius: 10px 10px 0 0;
    background: transparent;
    transition: background 0.2s ease;
}

.blog-tab.active {
    color: #ecaf54;
}

.blog-tab.active::after {
    background: #ecaf54;
}

.blog-tab-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ---------- Карточка featured-статьи ---------- */

.blog-featured-card {
    display: flex;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    background: #fff;
}

.blog-featured-image {
   max-width: 670px;
   max-height: 398px;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-featured-content {
    flex: 1;
    min-width: 0;
    padding: 0 0 0 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 64px;
    margin-bottom: 34px;
}

.blog-featured-label {
    font-weight: 600;
font-size: 12px;
line-height: 146%;
color: #151e34;
    text-transform: uppercase;
}

.blog-featured-date {
    font-weight: 500;
font-size: 14px;
line-height: 146%;
color: #787d89;
}

.blog-featured-title {
    font-family: 'pt';
   margin: 0 0 20px 0;
    font-weight: 400;
    font-size: 24px;
    color: #151e34;
    max-width: 370px;
}

.blog-featured-desc {
    font-weight: 500;
font-size: 14px;
line-height: 146%;
color: #151e34;
max-width: 487px;
    margin: 0 0 71px 0;
}

.blog-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
font-size: 16px;
line-height: 146%;
color: #1868a5;
    text-decoration: none;
    transition: var(--transition);
}

.blog-featured-link:hover {
    gap: 12px;
}

.blog-featured-link svg {
    transition: var(--transition);
}

.blog-featured-link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .blog-hero::after {
        width: 200px;
        height: 200px;
    }

    .blog-featured-card {
        flex-direction: column;
    }

    .blog-featured-image {
        width: 100%;
        height: 220px;
    }

    .blog-featured-content {
        padding: 28px 24px;
    }

    .blog-featured-title {
        font-size: 22px;
    }

    .blog-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 8px;
    }

    .blog-tabs::-webkit-scrollbar {
        display: none;
    }

    .blog-tab {
        flex-shrink: 0;
    }
}




.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 335px);
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.material-card {
    max-width: 335px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.material-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.material-image {
    width: 335px;
    height: 160px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    flex-shrink: 0;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.material-card:hover .material-image img {
    transform: scale(1.05);
}

.material-content {
    padding: 18px 18px 35px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.material-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.material-category {
    font-weight: 600;
    font-size: 12px;
    color: var(--text);
    line-height: 146%;
    text-transform: uppercase;
}

.material-date {
    font-weight: 500;
font-size: 14px;
line-height: 146%;
color: #787d89;
}

.material-title {
    font-family: 'pt';
    font-weight: 400;
font-size: 17px;
    color: var(--text);
    margin: 0 0 auto 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.material-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font6);
    font-weight: 600;
    font-size: 16px;
    line-height: 146%;
    color: #1868a5;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 16px;
}

.material-link:hover {
    gap: 12px;
    color: var(--primary);
}

.material-link svg {
    transition: var(--transition);
}

.material-link:hover svg {
    transform: translateX(4px);
}

.materials-show-more {
    text-align: center;
}

.materials-show-more .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1400px) {
    .materials-grid {
        grid-template-columns: repeat(3, 335px);
    }
}

@media (max-width: 1100px) {
    .materials-grid {
        grid-template-columns: repeat(2, 335px);
    }
}

@media (max-width: 768px) {
    .materials-grid {
        grid-template-columns: repeat(1, 100%);
    }
.material-card {
    max-width: 100%;
    
}
.material-image {
    width: 100%;
    
}
    .materials-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .materials-grid {
        grid-template-columns: 1fr;
    }

    .material-card,
    .material-image {
        width: 100%;
    }
}





.newsletter-wrapper {
    position: relative;
    max-width: 100%;
    height: 160px;
    padding: 34px 45px 34px 107px;
    border-radius: 16px;
    background-image: url('../media/back.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
}

.newsletter-content {
    flex: 1;
}

.newsletter-title {
       font-family: 'pt';
    font-weight: 400;
    font-size: 28px;
    color: var(--white);
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.newsletter-text {
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
    margin: 0;
}

.newsletter-form-wrapper {
    flex-shrink: 0;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 17px;
}

.newsletter-input-wrap {
    position: relative;
}

.newsletter-input {
    border-radius: 6px;
    width: 306px;
    height: 54px;
    padding: 0 20px;
    border: none;
    font-family: 'mont-medium';
    font-size: 15px;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 175, 84, 0.2);
}

.newsletter-input::placeholder {
    color: #acadb0;
}

.newsletter-btn {
    border: 1px solid #ecaf54;
    border-radius: 6px;
    width: 210px;
    height: 54px;
    background: var(--primary);
    color: #000;
    font-family: 'mont-medium';
    font-weight: 500;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 175, 84, 0.4);
}

.newsletter-btn svg {
    transition: transform 0.3s ease;
}

.newsletter-btn:hover svg {
    transform: translateX(4px);
}

.newsletter-privacy {
    font-family: var(--font6);
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.newsletter-privacy-link {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #ecaf54;
    transition: var(--transition);
}

.newsletter-privacy-link:hover {
    opacity: 0.8;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .newsletter-wrapper {
        height: auto;
        padding: 40px;
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-content {
        max-width: 100%;
        margin-bottom: 24px;
    }

    .newsletter-form {
        flex-wrap: wrap;
        width: 100%;
    }

    .newsletter-input {
        width: 100%;
    }

    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .newsletter-wrapper {
        padding: 32px 24px;
    }

    .newsletter-title {
        font-size: 24px;
    }

    .newsletter-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 0 0 40px 0;
    }

    .newsletter-wrapper {
        padding: 24px 16px;
        border-radius: 10px;
    }

    .newsletter-title {
        font-size: 20px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }
    .newsletter-input-wrap {
    width: 100%;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
        height: 48px;
    }

    .newsletter-privacy {
        font-size: 11px;
    }
}


/*-- СТРАНИЦА ЗАПИСИ --*/
.article-banner {
    padding: 46px 0 0 0;
}

.article-banner-grid {
    display: flex;
    align-items: center;
    gap: 59px;
    justify-content: space-between;
    margin-top:67px;
}

.article-banner-content {
    flex: 1;
    max-width: 670px;
}

.article-banner-meta {
    display: flex;
    align-items: center;
    gap: 54px;
    margin-bottom: 30px;
}

.article-banner-category {
    font-weight: 600;
font-size: 16px;
line-height: 146%;
color: #151e34;
}

.article-banner-date {
    font-weight: 500;
font-size: 16px;
line-height: 146%;
color: #151e34;
}

.article-banner-reading {
    font-weight: 500;
font-size: 16px;
line-height: 146%;
color: #151e34;
}

.article-banner-title {
    font-family: 'pt';
    font-weight: 400;
    font-size: 42px;
    line-height: 130%;
    color: var(--text);
    margin: 0 0 71px 0;
}

.article-banner-share {
    display: flex;
    align-items: center;
    gap: 16px;
}

.article-banner-share span {
   font-weight: 600;
font-size: 15px;
line-height: 146%;
color: #151e34;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border:none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
        background: none;
}

.share-btn:hover {
    border-color: var(--primary);
    background: rgba(236, 175, 84, 0.05);
    transform: translateY(-2px);
}

.share-btn:hover svg {
    fill: var(--primary);
}

.article-banner-image-wrap {
    flex-shrink: 0;
}

.article-banner-image {
    border-radius: 10px;
    width: 664px;
    height: 326px;
    object-fit: cover;
    display: block;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .article-banner-grid {
        flex-direction: column;
    }

    .article-banner-content {
        max-width: 100%;
    }

    .article-banner-image {
        width: 100%;
        height: auto;
        max-height: 400px;
    }
    	.article-banner-image-wrap {
   width: 100%;
}
}

@media (max-width: 768px) {
    .article-banner {
        padding: 32px 0 40px 0;
    }

    .article-banner-meta {
        flex-wrap: wrap;
        gap: 16px;
    }

    .article-banner-title {
        font-size: 26px;
        margin: 0 0 28px 0;
    }

    .article-banner-share {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .article-banner-title {
        font-size: 22px;
    }

    .article-banner-meta {
        gap: 12px;
    }

    .article-banner-date,
    .article-banner-reading {
        font-size: 13px;
    }
}


/* ============================================================ */
/* НОВЫЙ БЛОК — страница отдельной записи блога. Добавить в         */
/* основной CSS-файл.                                               */
/* ============================================================ */

/* ---------- Разделители ---------- */

.post-divider-top {
    width: 100%;
    height: 1px;
    background: #d9d9d9;
    margin: 42px auto 40px;
}



/* ---------- Layout ---------- */

.post-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 56px;
}

.post-main {
    flex: 1;
    min-width: 0;
}
 
.post-content {
    padding-right: 40px;
    border-right: 1px solid #d9d9d9;
    box-sizing: border-box;
}
 

.post-sidebar {
    width: 340px;
    flex-shrink: 0;
    /*position: sticky;*/
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
 

.post-content h2 {
    font-family: 'pt';
   font-weight: 400;
font-size: 34px;
color: #151e34;
    margin: 0 0 24px 0;
}

.post-content h2:first-child {
    margin-top: 0;
}

.post-content h3 {
    font-family: 'pt';
    font-weight: 400;
    font-size: 22px;
    color: #151e34;
    margin: 36px 0 16px 0;
}

.post-content p {
    font-weight: 500;
font-size: 16px;
line-height: 170%;
color: #151e34;
    margin: 0 0 44px 0;
}

.post-content ol,
.post-content ul {
    margin: 0 0 20px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-content ol {
    counter-reset: post-list;
}

.post-content ol li {
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    line-height: 160%;
    color: #151e34;
}

.post-content ol li::before {
    counter-increment: post-list;
    content: counter(post-list) '.';
    position: absolute;
    left: 0;
    opacity: 1;
    font-weight: 500;
font-size: 16px;
line-height: 170%;
color: #151e34;
}

.post-content ul li {
    position: relative;
    padding-left: 22px;
    font-size: 16px;
    line-height: 160%;
    color: #151e34;
}

.post-content ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #151e34;
}

.post-content strong {
    font-weight: 700;
    opacity: 1;
}

.post-content a {
    font-size: 16px;
    line-height: 170%;
    color: #151e34;
    text-decoration: underline;
}

/* ---------- Сайдбар: "Материалы по теме" ---------- */

.sidebar-block-title {
    font-weight: 400;
font-size: 24px;
color: #151e34;
font-family: 'pt';
    margin: 0 0 16px 0;
}

.sidebar-related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-related-item {
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
background: #fff;
border-radius: 10px;
    padding: 16px;
    max-width: 335px;
}

.sidebar-related-image {
   border-radius: 6px;
    width: 84px;
    height: 90px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
}

.sidebar-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-related-title {
    font-weight: 400;
font-size: 16px;
color: #151e34;
    margin: 0 0 6px 0;
    font-family: 'pt';
}

.sidebar-related-date {
   font-weight: 500;
font-size: 14px;
line-height: 146%;
color: #787d89;
}

/* ---------- Сайдбар: карточка лид-магнита (чек-лист) ---------- */
.sidebar-lead-magnet {
    position: relative;
    background: var(--dark);
    border-radius: 10px;
    padding: 30px 20px;
    overflow: hidden;
}

.sidebar-lead-magnet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../media/sidebar-lead-magnet-back.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.3;
    z-index: 0;
}

.sidebar-lead-magnet > * {
    position: relative;
    z-index: 1;
}

.sidebar-lead-magnet-label {
    display: block;
        margin-bottom: 14px;
    font-weight: 500;
    font-size: 12px;
    line-height: 146%;
    color: #fff;
    opacity: 0.5;
}

.sidebar-lead-magnet-title {
    font-family: 'pt';
    margin: 0 0 16px 0;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
}

.sidebar-lead-magnet-text {
    margin: 0 0 24px 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 146%;
    color: #fff;
}

.sidebar-lead-magnet-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
}

.sidebar-lead-magnet-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 146%;
    color: #fff;
    max-width: 240px;
}

.sidebar-lead-magnet-list svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.sidebar-lead-magnet-image {
    margin: 0 0 20px 0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.sidebar-lead-magnet-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.sidebar-lead-magnet .btn-primary {
    width: 100%;
    display: block;
    text-align: center;
}

/* ---------- Сайдбар: карточка контактов ---------- */
.sidebar-contact {
    position: relative;
   background: #F8F6F2;
    border-radius: 10px;
    padding: 26px 18px;
    overflow: hidden;
    max-height: 268px;
}

.sidebar-contact-title {
    margin: 0 0 8px 0;
    font-family: 'pt';
    font-weight: 400;
    font-size: 24px;
    color: #151e34;
}

.sidebar-contact-text {
    margin: 0 0 24px 0;
    max-width: 100%;
    font-weight: 500;
    font-size: 14px;
    line-height: 146%;
    color: #151e34;
}

.sidebar-contact-links {
    margin-bottom: 25px;
}

.sidebar-contact-phone,
.sidebar-contact-email {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #151e34;
    text-decoration: none;
    transition: var(--transition);
}
.sidebar-contact-email{
    font-size: 14px;
}
.sidebar-contact-phone:hover,
.sidebar-contact-email:hover {
    color: var(--primary);
}

.sidebar-contact .btn-outline {
    width: auto;
   padding: 9px 21px;
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
    font-size: 14px;
}

.sidebar-contact .btn-outline:hover {
    background: var(--primary);
    color: #000;
}

.sidebar-contact-photo {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 140px;
    height: 100%;
    max-height: 200px;
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
}

@media (max-width: 1200px) {
    .sidebar-contact-photo {
        display: none;
    }
    
    .sidebar-contact {
        padding: 24px;
    }
}

/* ---------- CTA (переиспользует .catalog-cta) ---------- */

.post-content .catalog-cta {
    width: 100%;
   margin: 54px 0;
}

/* ---------- Похожие статьи ---------- */

.related-articles-grid {
    display: flex;
    gap: 19px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 30px;
}
 
.related-articles-grid::-webkit-scrollbar {
    display: none;
}
.post-layout .slider-dots {
    margin-top:0;
}
.related-article-card {
    flex: 0 0 calc((100% - 40px) / 3); /* 3 карточки в видимой области, 2 промежутка по 20px */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    background: #fff;
    border-radius: 10px;
}

.related-article-image {
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 189px;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.related-article-card:hover .related-article-image img {
    transform: scale(1.05);
}

.related-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    justify-content: space-between;
}

.related-article-label {
    font-weight: 600;
    font-size: 14px;
    line-height: 146%;
    text-transform: uppercase;
    color: #151e34;
}

.related-article-date {
    font-weight: 500;
font-size: 15px;
line-height: 146%;
color: #787d89;
}

.related-article-title-row {
    display: flex;
    flex-direction: column;
}

.related-article-title {
    margin: 0;
    font-weight: 400;
    font-size: 18px;
    color: #151e34;
    font-family: 'pt';
    max-width: 224px;
}
.related-article-link{
    width: 18px;
    height: 18px;
    align-self: end;
}

@media (max-width: 1200px) {
 
    .post-content {
        padding-right: 0;
        border-right: none;
    }
 
    .post-sidebar {
        position: static;
    }
}

@media (max-width: 1200px) {
    .post-divider-side {
        display: none;
    }

    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .related-article-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

 
@media (max-width: 600px) {
    .related-article-card {
        flex: 0 0 100%;
    }
}
 
 
@media (max-width: 600px) {
    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-contact-text,
    .sidebar-contact-links {
        max-width: 100%;
    }

    .sidebar-contact-photo {
        display: none;
    }
}

.catalog-cta-single{
    background-position: left;
    padding: 34px 16px 53px 66px;
    gap: 10px;
    margin:54px 0;
}
.section-title-row-single{
    justify-content: space-between;
}
.related-article-text{
    padding: 27px 22px 18px 22px;
}
.catalog-cta-single h2, .catalog-cta-single p{
    color : #fff;
}

.catalog-cta-single h2{
    font-weight: 400;
    font-size: 30px;
    margin-bottom: 16px;
    margin: 0 0 16px 0;
}

.catalog-cta-single p{
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    margin:0;
}

.catalog-cta-single a{
    text-decoration: none;
    padding: 16px 17px;
}


/* ===== МОБИЛЬНОЕ МЕНЮ: АККОРДЕОН ===== */

.sub-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    transition: transform 0.3s ease;
    flex-shrink: 0; 
}

.sub-menu-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.sub-menu-toggle.active svg {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
   
    .nav-list .nav-item {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }

    .menu-item-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        max-width: max-content;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
    }

    .menu-item-wrapper .nav-link {
        flex: 1;
        width: auto !important;          
        padding: 0 !important;           
        margin: 0 !important;
        border-bottom: none !important;  
        pointer-events: none;
        opacity: 0.9;
        text-decoration: none;
        color: var(--white) !important;
        white-space: normal;            
        line-height: 1.3;
    }

    .sub-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        margin-left: 8px;
        flex-shrink: 0; 
        width: 36px;   
        height: 36px;  
        transition: transform 0.3s ease;
    }

    .sub-menu-toggle svg {
        width: 20px;
        height: 20px;
        display: block;
        transform-origin: center center; 
        transition: transform 0.3s ease;
    }

    .sub-menu-toggle.active svg {
        transform: rotate(180deg);
    }

    .nav-item .sub-menu {
        display: none;
        margin: 0 !important;
        padding: 0 0 0 16px !important;
        list-style: none;
        width: 100%;
    }

    .nav-item .sub-menu.active {
        display: block;
    }

    .nav-item .sub-menu .sub-nav-item {
        margin: 0;
        padding: 0;
    }

    .nav-item .sub-menu .sub-nav-link {
        display: block;
        padding: 12px 0;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: color 0.3s ease;
        width: auto !important;
    }

    .nav-item .sub-menu .sub-nav-link:hover {
        color: var(--primary);
    }
    
    .nav-item .sub-menu .sub-nav-item:last-child .sub-nav-link {
        border-bottom: none;
    }
}


@media (max-width: 768px) {
    .equipment-grid-5 {
        display: flex ;
        flex-wrap: nowrap;
        overflow-x: auto ;
        scroll-snap-type: x proximity ; 
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 16px;
        padding: 20px 20px 24px 20px;
        grid-template-columns: none;
        scroll-behavior: auto ; 
        justify-content: start;
    }

    .equipment-grid-5::-webkit-scrollbar {
        display: none;
    }

    .equipment-grid-5 .product-card {
        flex: 0 0 calc(85% - 16px) !important;
        width: calc(85% - 16px) !important;
        max-width: 335px !important;
        min-width: calc(85% - 16px);
        height: auto !important;
        scroll-snap-align: start;
        margin-left: 0 ; 
    }
    
    .equipment-grid-5 .product-card:first-child {
        margin-left: 0 ;
        scroll-snap-align: start;
    }
}

@media (max-width: 480px) {
    .equipment-grid-5 {
        gap: 12px ;
        padding: 14px 14px 24px 14px ;
    }
    
    .equipment-grid-5 .product-card {
        flex: 0 0 calc(85% - 12px);
        width: calc(85% - 12px) ;
        min-width: calc(85% - 12px) ;
    }
}



/* ===== MOBILE FILTERS MODAL ===== */
.mobile-filter-bar {
    display: none;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 26px 0 rgba(170, 175, 181, 0.24);
    padding: 11px 16px;
}

.mobile-filter-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 16px;
    color: #ecaf54;
    border: 1px solid #ecaf54;
    border-radius: 6px;
    width: 303px;
    height: 46px;
    justify-content: center;
    flex-direction: row-reverse;
}

.mobile-filter-btn:hover {
    border-color: var(--primary);
}

.mobile-filter-btn svg {
    width: 16px;
    height: 16px;
}

.mobile-sort-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.mobile-sort-label {
    font-size: 15px;
    color: #151e34;
    white-space: nowrap;
}

.mobile-sort-select {
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 11px 18px;
    font-size: 15px;
    color: #151e34;
    background: #fff;
}

/* Mobile Filters Modal */
.mobile-filters-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.mobile-filters-modal.active {
    display: flex;
}

.mobile-filters-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 20, 44, 0.7);
    backdrop-filter: blur(4px);
}

.mobile-filters-modal-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.mobile-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e4e4e4;
    flex-shrink: 0;
    margin-bottom: 18px;
}

.mobile-filters-title {
    font-weight: 600;
    font-size: 18px;
    color: #151e34;
    margin: 0;
}

.mobile-filters-close {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.mobile-filters-close:hover {
    background: #ececec;
}

.mobile-filters-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-filters-body .filters-sidebar {
    box-shadow: none;
    border-radius: 0;
    padding: 0 20px 20px 20px;
}

.mobile-filters-body .filters-sidebar-head {
    display: none;
}

.mobile-filters-footer {
    padding: 0 0 20px 20px;
    flex-shrink: 0;
}

.filters-reset-mobile {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 146%;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.filters-reset-mobile:hover {
    background: var(--primary);
    color: #000;
}

/* Desktop - hide mobile elements */
@media (min-width: 993px) {
    .mobile-filter-bar,
    .mobile-filters-modal {
        display: none !important;
    }
    
    .desktop-sort {
        display: flex;
    }
}

/* Mobile - show mobile elements, hide desktop sidebar */
@media (max-width: 992px) {
    .mobile-filter-bar {
        display: flex;
    }
    
    .filters-nav {
        display: none;
    }
    
    .industry-hero-light {
    padding: 40px 0 0 0;
}
    
    .desktop-sort {
        display: none;
    }
    
    .active-filters-bar {
        padding: 11px 12px;
    }
    
    .filter-chip {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
   
    
    .mobile-sort-select {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .mobile-filter-btn span {
        font-size: 14px;
    }
}


/* ============================================================ */
/* АДАПТИВА ДЛЯ СТРАНИЦЫ ЗАПИСИ                     */
/* ============================================================ */

@media (max-width:1160px){
    .catalog-cta-single {
    padding: 34px 16px 25px 66px;
    max-width: 100%;
    height: auto;
}


}

/* Планшеты и небольшие десктопы (750px - 1024px) */
@media (max-width: 1024px) and (min-width: 751px) {
	.post-content {
		padding-right: 24px;
	}

	.article-banner-image {
		width: 100%;
		height: auto;
		max-height: 400px;
	}
	
	.related-article-card {
		flex: 0 0 calc((100% - 20px) / 2);
	}
}

@media (max-width: 768px) {
	.post-layout,
	.post-main,
	.post-content,
	.post-sidebar {
		min-width: 0; 
		max-width: 100%;
		flex-direction: column;
        width: 100%;
	}

	.catalog-cta-single {
		padding: 24px 16px !important; 
		width: 100%;
		box-sizing: border-box;
		margin: 32px 0;
	}

	.catalog-cta-single h2 {
		font-size: 22px;
		line-height: 1.3;
		margin: 0 0 12px 0;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	.catalog-cta-single p {
		font-size: 14px;
		line-height: 1.4;
		margin: 0 0 16px 0;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	.catalog-cta-buttons {
		width: 100%;
	}

	.catalog-cta-buttons .btn {
		width: 100% !important;
		max-width: 100%;
		white-space: normal !important; /* Отменяем базовый nowrap */
		height: auto !important;
		min-height: 48px;
		padding: 14px 16px !important;
		box-sizing: border-box;
		font-size: 15px;
	}

	.related-articles-grid {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		padding-bottom: 20px;
		width: 100%;
	}

	.related-article-card {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0; /* Защита от раздувания содержимым карточки */
		box-sizing: border-box;
	}

	.related-article-image {
		width: 100%;
		height: 200px;
		flex-shrink: 0;
	}

	.related-article-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		max-width: 100%;
	}

	.related-article-text {
		padding: 16px;
		width: 100%;
		box-sizing: border-box;
	}

	.related-article-title {
		font-size: 16px;
		line-height: 1.4;
		max-width: 100%;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	.post-content p,
	.post-content h2,
	.post-content h3,
	.post-content li,
	.post-content a {
		max-width: 100%;
		word-wrap: break-word;
		overflow-wrap: break-word;
		hyphens: auto;
		-webkit-hyphens: auto;
	}

	/* 6. Сайдбар элементы */
	.sidebar-related-item {
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}
}

@media (max-width: 480px) {
	.container {
		padding-left: 12px;
		padding-right: 12px;
	}

	.catalog-cta-single {
		padding: 20px 12px !important;
	}

	.catalog-cta-single h2 {
		font-size: 20px;
	}

	.catalog-cta-buttons .btn {
		padding: 12px 12px !important;
		font-size: 14px;
	}

	.related-article-image {
		height: 180px;
	}
}



@media (max-width: 1024px) and (min-width: 769px) {
	.category-grid,
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.category-card,
	.product-card {
		width: 100%;
		max-width: 100%;
	}
	
	.category-image {
		width: 100%;
	}
	
	.product-card {
		height: auto; 
	}
	.catalog-cta {
    height: auto;
    background-position: left;
	    
	}
}

@media (max-width: 768px) {
    .section-title-row_2 {
    margin-bottom: 24px;
    flex-wrap: wrap;
}
	.catalog-hero-title {
		font-size: 28px;
		line-height: 1.3;
		margin-bottom: 12px;
	}
	.catalog-hero-text {
		font-size: 15px;
		line-height: 1.5;
		max-width: 100%;
	}

	.catalog-tabs {
		padding: 0 16px;
		gap: 12px;
		justify-content: flex-start;
	}
	.catalog-tab {
		flex: 0 0 auto; 
		height: 52px;
		padding: 0 16px;
		font-size: 14px;
	}
	
	.tag-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 10px;
		padding-bottom: 12px;
		scrollbar-width: none;
		-ms-overflow-style: none; 
	}
	.tag-chips::-webkit-scrollbar {
		display: none; 
	}
	.tag-chip {
		flex: 0 0 auto;
		white-space: nowrap;
		padding: 10px 16px;
		font-size: 13px;
	}

	.category-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.category-card {
		width: 100% !important; 
		max-width: 100%;
	}
	.category-image {
		width: 100% !important; 
		height: 200px;
	}
	.category-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.category-content {
		padding: 24px 20px;
	}

	.product-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.product-card {
		width: 100% !important;
		max-width: 100%;
		height: auto !important;
		padding: 20px;
		flex-direction: row; 
		align-items: flex-start;
	}
	.product-image {
		width: 90px;
		height: 90px;
		flex-shrink: 0;
	}
	.product-title {
		font-size: 18px;
		margin-bottom: 6px;
	}
	.product-desc {
		font-size: 13px;
		margin-bottom: 12px;
	}

	.catalog-cta {
		padding: 32px 20px !important;
		height: auto;
		text-align: center;
	}
	.catalog-cta-content {
		align-items: start;
		text-align: start;
		width: 100%;
	}
	.catalog-cta-title {
		margin-bottom: 12px;
	}
	.catalog-cta-text {
		margin-bottom: 0;
		max-width: 100%;
	}
	.catalog-cta-buttons {
		width: 100%;
		flex-direction: column;
		gap: 12px;
	}
	.catalog-cta-buttons .btn {
		width: 100%;
		justify-content: center;
		white-space: normal;
	}
}

@media (max-width: 480px) {
	.catalog-hero-title {
		font-size: 24px;
	}
	.product-card {
		flex-direction: column; 
		align-items: center;
		text-align: center;
	}
	.product-image {
		width: 120px;
		height: 120px;
		margin-bottom: 16px;
	}
	.product-link {
		align-self: center;
	}
	.catalog-cta {
		padding: 24px 16px !important;
	}
	.catalog-cta-title {
		font-size: 20px;
	}
}



@media (max-width: 768px) {
    .active-filters-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        white-space: nowrap;
        padding: 11px 16px;
    }
    
    .active-filters-bar::-webkit-scrollbar {
        display: none;
    }
    
    .active-filters-chips {
        display: inline-flex;
        gap: 10px;
        white-space: nowrap;
    }
    
    .filter-chip {
        display: inline-flex;
        flex-shrink: 0;
    }
    
    .results-sort.desktop-sort {
        display: none !important;
    }
}

/* Одна карточка на самых маленьких экранах */
@media (max-width: 480px) {
    .catalog-results-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .mobile{
        display: none;
    }
    .pagination-arrow-right {
    margin-left: 6px;
}
.pagination-arrow-left {
    margin-right: 6px;
}
    
    .result-card {
        max-width: 100% !important;
        width: 100%;
    }
    
    .result-image {
        width: 100%;
        height: 200px;
    }
    
    /* Чипсы фильтров - горизонтальный скролл */
    .active-filters-bar {
        padding: 11px 14px;
    }
    
    .filter-chip {
        padding: 8px 14px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 375px) {
    .result-image {
        height: 180px;
    }
    .filter-chip {
        padding: 7px 12px;
    }
}