html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* По умолчанию показываем только английский, польский скрыт */
.lang-pl {
  display: none;
}
html[lang="pl"] .lang-en {
  display: none;
}
html[lang="pl"] .lang-pl {
  display: inline;
}
html[lang="en"] .lang-pl {
  display: none;
}
html[lang="en"] .lang-en {
  display: inline;
}

/* =================== NAVIGATION =================== */
.main-navbar {
    width: 100%;
    background: #000;
    min-height: 64px;
    border-bottom: 1.5px solid #191919;
    padding: 0 16px;
    box-sizing: border-box;
    position: relative;
}

.nav-flex {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 64px;
	 justify-content: space-between;
	  padding-left: 32px;
  padding-right: 32px;
}

.nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 1rem;
}

.navbar-brand {
    margin-right: 18px;
    display: flex;
    align-items: center;
    min-width: 192px;
}

.navbar-brand img {
    max-height: 32px;
}

.main-search-form {
    flex-shrink: 1;
    flex-basis: 300px;
    max-width: 100%;
    position: relative;
    margin-left: auto;
}

.main-search-input {
    width: 100%;
    background: transparent;
    border: 1.5px solid #555;
    border-radius: 6px;
    color: #fff;
    padding: 0.51rem 2.1rem 0.51rem 1rem;
    font-size: 1rem;
    height: 44px;
}

.main-search-input::placeholder {
    color: #bbb;
}

.main-search-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #bbb;
    padding: 0;
    cursor: pointer;
}

.main-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

.main-menu li {
    display: flex;
    align-items: center;
}

.main-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400 !important;
    letter-spacing: 0.02em;
    padding: 0.3em 0;
    transition: color 0.16s;
    white-space: nowrap;
}

.main-menu a:hover {
    color: #ff2323;
}

/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    margin-left: auto;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1400px) {
    .main-menu {
        gap: 1rem;
        margin-left: 12px;
    }
    .main-search-form {
        flex-basis: 260px;
        max-width: 290px;
    }
}

@media (max-width: 1100px) {
    .main-menu a {
        font-size: 1rem;
    }
    .navbar-brand {
        min-width: auto;
        margin-right: 12px;
    }
}

@media (max-width: 991px) {
    .nav-flex {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-search-form {
        flex-basis: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 0.8rem;
    }
    .main-menu {
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #000;
        padding: 1rem;
        z-index: 999;
    }
    .main-menu.active {
        display: flex;
    }
    .main-menu li {
        margin: 0.5rem 0;
    }
    .burger-menu {
        display: flex;
    }
    .main-search-form {
        min-width: 120px;
    }
    .main-navbar {
        min-height: 56px;
    }
    .navbar-brand {
        margin-right: 10px;
    }
}

@media (max-width: 600px) {
    .main-search-input {
        font-size: 0.9rem;
        height: 38px;
    }
    .main-search-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* =================== HERO SECTION =================== */
.hero-section {
    position: relative;
    min-height: 70vh;
    background-image: url('../images/hero-01.jpg.png');
	 background-size: cover;
  background-repeat: no-repeat;
   background-position: center 70px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    transition: min-height 0.3s ease;

    /* Важно для edge-to-edge: */
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.hero-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.32);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
    background: rgba(0,0,0,0.49);
    padding: 2.5rem 2.5rem 2.5rem 2.4rem;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
    margin-left: 5vw;
    transition: padding 0.3s ease, max-width 0.3s ease, margin 0.3s ease;
}

.hero-content-left {
    margin-left: 7vw !important;
}

.hero-title {
    font-size: 2.19rem;
    font-weight: 700;
    color: #69c223;
    letter-spacing: 0.04em;
    margin-bottom: 0.7rem;
    transition: font-size 0.3s ease;
}
.hero-title {
    color: #fff;      /* Белый по умолчанию! */
}
.hero-title .eco-green {
    color: #69c223;   /* Только “ECO” зелёный */
}


.hero-desc {
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.53;
    margin-bottom: 2.1rem;
    transition: font-size 0.3s ease;
}

.hero-btn {
    display: inline-block;
    padding: 0.60rem 1.30rem;
    border: 1.5px solid #fff;
    background: transparent;
    color: #fff;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: 0.18s, padding 0.3s ease, font-size 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.hero-btn:hover {
    background: #fff;
    color: #111;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: none;
    border: none;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 3.3rem;
    color: #fff;
    line-height: 1;
    font-family: 'Arial','Helvetica Neue',Helvetica,sans-serif;
    transition: color 0.2s, width 0.3s ease, height 0.3s ease, font-size 0.3s ease, left 0.3s ease, right 0.3s ease;
    text-shadow: none;
}

.hero-arrow.left {
    left: 36px;
}

.hero-arrow.right {
    right: 36px;
}

.hero-arrow:hover {
    color: #ff2323;
}

@media (max-width: 900px) {
    .hero-content {
        max-width: 97vw;
        margin: 0 auto;
        padding: 1.5rem;
        border-radius: 12px;
    }
    .hero-content-left {
        margin-left: 0 !important;
    }
    .hero-section {
        min-height: 290px;
        justify-content: center;
    }
    .hero-arrow.left {
        left: 10px;
    }
    .hero-arrow.right {
        right: 10px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-desc {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    .hero-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 600px) {
    .hero-section {
        min-height: 250px;
    }
    .hero-content {
        padding: 1.2rem;
        border-radius: 10px;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-desc {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    .hero-btn {
        font-size: 0.85rem;
        padding: 0.45rem 0.9rem;
    }
    .hero-arrow {
display: none;
        width: 48px;
        height: 48px;
        font-size: 2.5rem;
    }
    .hero-arrow.left {
        left: 8px;
    }
    .hero-arrow.right {
        right: 8px;
    }
}

@media (max-width: 400px) {
    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 2rem;
        opacity: 0.8;
    }
    .hero-arrow.left {
        left: 4px;
    }
    .hero-arrow.right {
        right: 4px;
    }
    .hero-section {
        padding: 0 4px;
    }
}

/* =================== CATEGORY SECTION =================== */
.category-section {
    position: relative;
    width: 100vw;
    overflow: visible;
    padding: 0;
}

.category-grid-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 940px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.category-watermark {
    position: absolute;
    top: 50%;
    left: 100vw;
    transform: translate(-75%,-50%) rotate(-90deg);
    font-size: 280px;
    font-family: 'Montserrat',Arial,sans-serif;
    font-weight: 900;
    color: rgba(30,30,30,0.24);
    letter-spacing: 0.04em;
    line-height: 1;
    z-index: 20;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    text-shadow: 0 4px 32px rgba(0,0,0,0.18);
}

.category-watermark .watermark-t {
    display: inline-block;
    height: 1em;
    vertical-align: -0.09em;
    margin-left: -0.14em;
    transform: rotate(90deg);
}

.category-card {
    position: relative;
    aspect-ratio: 1/1.12;
    min-height: 370px;
    background: #151515;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.2s ease;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 10px;
}

.category-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.category-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 24px 18px 0 18px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.28);
    letter-spacing: 0.01em;
    line-height: 1.13;
    word-break: break-word;
}

.category-title .lang-en > span,
.category-title .lang-pl > span {
    color: #69c223;
}

.category-btn {
    margin: 0 0 14px 14px;
    padding: 3.5px 13px;
    border: 1.5px solid #fff;
    background: rgba(0,0,0,0.27);
    color: #fff;
    border-radius: 4px;
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    display: inline-block;
    max-width: 150px;
    white-space: nowrap;
}

.category-btn:hover {
    background: #fff;
    color: #111;
}

@media (max-width: 1200px) {
    .category-watermark {
        font-size: 120px;
    }
}

@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 500px;
    }
    .category-card {
        min-height: 220px;
        aspect-ratio: 1/1.07;
    }
    .category-title {
        font-size: 1.08rem;
        padding-top: 14px;
        padding-left: 12px;
    }
    .category-btn {
        margin-left: 12px;
        margin-bottom: 10px;
    }
    .category-watermark {
        font-size: 64px;
        left: 100vw;
        transform: translate(-97%,-50%) rotate(-90deg);
    }
}

@media (max-width: 600px) {
    .category-watermark {
        display: none;
    }
    .category-grid {
        max-width: 90vw;
        gap: 12px;
    }
    .category-card {
        min-height: 180px;
    }
    .category-title {
        font-size: 1rem;
    }
    .category-btn {
        font-size: 0.85rem;
        padding: 3px 10px;
    }
}

/* =================== ABOUT SECTION =================== */
.about-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: url('../images/hero-11.jpg.png') center/cover no-repeat;
    padding: 130px 0;
    min-height: 72vh;
    overflow: hidden;
    transition: padding 0.3s ease;
}

.about-inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.about-section h2 {
    color: #fff;
    font-size: 2.9rem;
    margin-bottom: 2.3rem;
    transition: font-size 0.3s ease;
    max-width: 100%;
    text-align: center;
}

.about-section .text-muted {
    color: #fff !important;
    opacity: 0.9;
    font-size: 1.22rem;
    transition: font-size 0.3s ease;
}

.about-headline {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.7em;
    line-height: 1.15;
    text-align: center;
    letter-spacing: 0.01em;
    max-width: 100%;
}

.about-title h3.about-subtitle-mission {
    font-size: 1.4rem;
    font-weight: 400;
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}

.about-desc {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-desc .about-text {
    margin-bottom: 0.6em;
    font-size: 1.2rem;
    color: #fff;
}

.about-desc ul.about-list {
    display: block;
    text-align: left;
    margin: 0.4em auto 1em auto;
    padding-left: 2.1em;
    list-style: disc inside;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 400;
    max-width: 800px;
}

.about-desc ul.about-list li {
    margin-bottom: 5px;
    line-height: 1.45;
    font-size: 1.15rem;
}

.about-mission {
    max-width: 800px;
    margin: 0 auto 24px auto;
    font-size: 1.15rem;
    font-weight: 400;
    color: #fff;
    text-align: center;
}

.about-stats {
    display: flex;
    flex-direction: row;
    justify-content: center;
      align-items: stretch;
    gap: 0;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.stat-item {
    min-width: 168px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3.6rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    min-width: 100%;
    text-align: center;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.07;
    display: inline-block;
    min-width: 120px;
    will-change: contents;
}

.stat-label {
    color: #fff;
    font-size: 1.08rem;
    opacity: 0.88;
    text-align: center;
    min-height: 38px;
    font-weight: 400;
    margin-top: 2px;
}

.stat-divider {
    display: block;
    width: 3px;
    min-width: 3px;
    height: 76px;
    background: #ff2323 !important;
    border-radius: 0;
    margin: 0 34px;
    align-self: stretch;
    opacity: 1;
    box-shadow: none;
    z-index: 10;
}

@media (max-width: 900px) {
    .about-stats {
        flex-direction: column;
        align-items: center;
        margin-top: 36px;
    }
    .stat-item {
        padding: 16px 0;
        width: 100%;
    }
    .stat-divider {
        width: 100%;
        height: 8px;
        margin: 16px 0;
        background: #ff2323 !important;
        border-radius: 0;
        align-self: center;
    }
    .about-section {
        padding: 64px 0;
        min-height: 380px;
    }
    .about-section h2 {
        font-size: 2rem;
    }
    .about-section .text-muted {
        font-size: 1rem;
    }
    .stat-number {
        font-size: 2.2rem;
        min-width: 80px;
    }
    .stat-label {
        font-size: 1.02rem;
    }
    .about-headline {
        font-size: 1.3rem;
    }
    .about-desc .about-text {
        font-size: 1.1rem;
    }
    .about-desc ul.about-list {
        font-size: 1.05rem;
        max-width: 90%;
    }
    .about-mission {
        font-size: 1.05rem;
        max-width: 90%;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 48px 0;
        min-height: 320px;
    }
    .about-section h2 {
        font-size: 1.8rem;
    }
    .about-section .text-muted {
        font-size: 0.9rem;
    }
    .stat-number {
        font-size: 2rem;
        min-width: 60px;
    }
    .stat-label {
        font-size: 0.95rem;
    }
    .stat-divider {
        width: 100%;
        height: 8px;
        margin: 12px 0;
        background: #ff2323 !important;
        border-radius: 0;
    }
    .about-headline {
        font-size: 1.2rem;
    }
    .about-desc .about-text {
        font-size: 1rem;
    }
    .about-desc ul.about-list {
        font-size: 0.95rem;
        max-width: 95%;
    }
    .about-mission {
        font-size: 0.95rem;
        max-width: 95%;
    }
}

/* =================== PRODUCT SLIDER =================== */
:root {
  --card-width: 440px;
  --card-gap: 32px;
}
.slider-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    margin: 32px 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 0;
}

.slider-arrow {
    /* стрелки снаружи и НЕ накладываются на viewport */
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
   
    font-weight: 700;
    width: 32px;
    height: 280px; /* Увеличено для соответствия высоте карточек */
    cursor: pointer;
    transition: color 0.2s, opacity 0.2s;
    user-select: none;
    z-index: 5;
    position: relative;
}

.slider-arrow:disabled {
    opacity: 0.16;
    cursor: not-allowed;
}

.slider-viewport {
    overflow: hidden;
    width: calc(var(--card-width) * 3 + var(--card-gap) * 2); /* 3 cards + 2 gaps */
    max-width: 100vw;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.slider-track {
    display: flex;
    gap: var(--card-gap);
    transition: transform 0.4s cubic-bezier(.5,.2,.2,1);
}
@media (max-width: 900px) {
    .slider-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .slider-arrow {
        display: none;
    }
    .slider-track {
        flex-direction: row;
    }
    .product-card {
        flex: 0 0 auto;
        min-width: 60%;
        max-width: 80%;
        scroll-snap-align: center;
    }
}

@media (max-width: 576px) {
    .slider-viewport {
        overflow-x: visible;
        scroll-snap-type: none;
    }
    .slider-track {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .product-card {
        min-width: 90%;
        max-width: 90%;
        scroll-snap-align: none;
    }
}
.product-card {
    background: #000 !important;
    border: 2px solid #fff;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    min-height: 360px;         /* Высота какая надо */
      width: var(--card-width);           /* <-- Фикс ширины */
      max-width: var(--card-width);         /* <-- Фикс ширины */
    flex: 0 0 var(--card-width);       /* <-- Очень важно! */
    margin: 0;                 /* Убери auto */
    color: #fff;
    box-sizing: border-box;
}

.product-label {
    border: 1px solid #b41616;
    color: #fff;
    background: none;
    font-size: 0.8rem;
    padding: 3px 8px;
    margin: 0 auto 14px; /* Центрируем */
    max-width: 120px; /* Ограничиваем ширину */
    text-align: center; /* Центрируем текст */
    display: inline-block;
}

.product-badge {
    border: 1px solid #b41616;
    color: #fff;
    background: none;
    font-size: 0.8rem;
    padding: 3px 8px;
    margin-bottom: 14px;
    display: inline-block;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.17;
    text-align: center; /* Центрируем заголовок */
}

.product-desc {
    color: #eee;
    font-size: 0.85rem;
    margin-bottom: 16px;
    min-height: 36px;
    text-align: center; /* Центрируем описание */
}

.product-btn {
    display: block;
    width: auto; /* Уменьшаем ширину кнопки */
    max-width: 160px; /* Ограничиваем ширину кнопки */
    margin: 0 auto; /* Центрируем кнопку */
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    padding: 6px 12px; /* Уменьшаем отступы */
    margin-top: auto;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.product-btn:hover {
    background: #fff;
    color: #111;
}

@media (max-width: 576px) {
    .product-card {
        max-width: 90%; /* Ограничиваем ширину на маленьких экранах */
        min-height: 260px; /* Уменьшаем высоту для адаптации */
    }
    .product-title {
        font-size: 0.95rem;
    }
    .product-desc {
        font-size: 0.8rem;
    }
    .product-label {
        font-size: 0.75rem;
        max-width: 100px; /* Уменьшаем ширину метки */
    }
    .product-btn {
        font-size: 0.8rem;
        max-width: 140px; /* Уменьшаем ширину кнопки */
        padding: 5px 10px;
    }
}
/* =================== PARTNER SECTION =================== */
.partner-section {
    background: #000 !important;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 84px 0 48px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.partner-section-inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.partner-section h2,
.partner-section .fw-bold {
    color: #fff !important;
    font-size: 2.7rem;
    margin-bottom: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
}

.partner-section .partner-section-subtitle {
    color: #d9d9d9;
    font-size: 1.13rem;
    opacity: 0.93;
    margin-bottom: 38px;
    text-align: center;
}

.partner-slider-viewport {
    overflow: hidden;
    width: 100%;
    max-width: calc(100vw - 32px); /* Учитываем место для стрелок */
    margin: 0 auto;
}

.partner-slider-track {
    display: flex;
    gap: 0; /* Без отступа между списками */
    animation: marquee 20s linear infinite;
}

.partner-slider-wrap:hover .partner-slider-track {
    animation-play-state: paused;
}

.partner-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.partner-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20; /* Поверх логотипов */
    background: rgba(0,0,0,0.8);
    border: none;
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.partner-slider-arrow:hover {
    background: rgba(0,0,0,1);
    color: #ff2323;
}

.partner-slider-arrow-left {
    left: -16px; /* Видимы по краям вьюпорта */
}

.partner-slider-arrow-right {
    right: -16px; /* Видимы по краям вьюпорта */
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.partner-logo {
    flex: 0 0 auto;
    height: 70px;
    object-fit: contain;
    transition: transform .2s;
}

.partner-logo:hover {
    transform: scale(1.1);
}

.partner-list {
    display: flex;
    gap: 100px; /* Отступы между логотипами внутри списка */
    flex-shrink: 0; /* Предотвращаем сжатие списка */
    margin-right: 100px; /* Отступ между списками */
}

.partner-list:last-child {
    margin-right: 0; /* Убираем отступ у последнего списка */
}

.partner-section-description {
    color: #d7d7d7;
    font-size: 1.09rem;
    opacity: 0.88;
    margin: 28px auto 0;
    text-align: center;
    max-width: 800px;
    letter-spacing: 0.01em;
}

@media (max-width: 1100px) {
    .partner-logo {
        flex-basis: 26vw;
        min-width: 90px;
        max-width: 28vw;
        height: 38px;
    }
}

@media (max-width: 700px) {
    .partner-section {
        padding: 32px 0 18px 0;
    }
    .partner-section h2 {
        font-size: 1.7rem;
    }
    .partner-list {
        gap: 60px;
        margin-right: 60px;
    }
    .partner-list:last-child {
        margin-right: 0;
    }
    .partner-slider-track {
        gap: 0;
        padding: 0 12px;
    }
    .partner-logo {
        min-width: 38px;
        max-width: 30vw;
        height: 20px;
    }
    .partner-section-description {
        font-size: 0.96rem;
        margin-top: 18px;
    }
    .partner-slider-arrow {
        font-size: 2rem;
        width: 36px;
    }
    .partner-slider-viewport {
        max-width: calc(100vw - 24px); /* Учитываем уменьшенные стрелки */
    }
    .partner-slider-arrow-left {
        left: -12px;
    }
    .partner-slider-arrow-right {
        right: -12px;
    }
}

@media (max-width: 600px) {
    .partner-section h2 {
        font-size: 1.5rem;
    }
    .partner-section-subtitle {
        font-size: 1rem;
    }
}
/* =================== CTA SECTIONS =================== */
.cta-top-section {
    background-color: #000;
    color: #fff;
    padding: 60px 20px 40px 20px;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 28px;
}

.cta-btn {
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
    border: 1.7px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.cta-btn:hover {
    background: #fff;
    color: #111;
}

.cta-image-section {
    background-image: url('../images/Photo (10).png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.cta-image-caption {
    color: #fff;
    text-align: center;
    width: 100%;
    max-width: 480px;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.4);
    padding: 8px 12px;
    border-radius: 4px;
    letter-spacing: 0.01em;
}

@media (max-width: 900px) {
    .cta-title {
        font-size: 1.6rem;
    }
    .cta-image-section {
        height: 250px;
    }
}

@media (max-width: 600px) {
    .cta-image-section {
        height: 200px;
    }
    .cta-title {
        font-size: 1.4rem;
    }
    .cta-btn {
        font-size: 0.95rem;
        padding: 10px 24px;
    }
}

/* =================== SCROLLBAR =================== */
::-webkit-scrollbar {
    width: 8px;
    background: #222;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

/* =================== SECTIONS ANIMATION =================== */
section {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: scale(1);
}

/* =================== LANGUAGE BUTTON =================== */
.lang-btn:focus {
    outline: none;
    box-shadow: none;
}
/* =================== MODAL =================== */
.modal-content.bg-black {
    background: #181818 !important;
    border-radius: 18px;
    border: 2px solid #ff2323;
    color: #fff;
}

.modal-title {
    font-size: 1.42rem;
    letter-spacing: 0.01em;
}

.contact-modal-square {
    background: #000 !important;
    border-radius: 0 !important;
    border: 3.5px solid #B21917 !important; /* было #ff2323 */
    color: #fff;
    box-shadow: 0 14px 68px #000c;
    min-width: 400px;
    min-height: 620px; /* Увеличено для карты */
    padding: 0 !important;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
}

.contact-watermark-vert {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 95px;
    background: #000;
    border-right: 3.5px solid #B21917;
    height: 100%;
    padding: 0 10px 0 2px;
}

.wm-protec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.wm-protec span,
.wm-protec {
    transform: scaleY(-1);
}

.wm-protec .pr {
    color: #B21917;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: 0.04em;
    margin: 0;
    padding: 0;
}

.wm-protec .otec {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: 0.04em;
    margin: 0;
    padding: 0;
}

.wm-t {
    display: block;
    height: 4.2rem;
    margin: 0.4em auto 0 auto;
}

.form-control.bg-dark {
    background: #181818 !important;
    color: #fff !important;
    border-radius: 0 !important;
    border: 2px solid #2d2d2d;
    box-shadow: none !important;
    font-size: 1.07rem;
    padding: 0.82rem 1.05rem;
}

.form-control.bg-dark::placeholder {
    color: #bbb;
    opacity: 1;
}

.btn-close-white {
    filter: invert(1);
}

.form-label.fw-bold {
    color: #fff;
    margin-bottom: 4px;
}

.map-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin: 1.5rem auto 1rem;
}

.map-container {
    width: 100%;
    max-width: 600px; /* Увеличено для большой карты */
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 300px; /* Большая карта */
    border: 2px solid #ff2323;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .contact-modal-square {
        min-width: 0;
    }
    .contact-watermark-vert {
        min-width: 55px;
    }
    .wm-protec .pr,
    .wm-protec .otec {
        font-size: 2.1rem;
    }
}

@media (max-width: 767px) {
    .contact-watermark-vert {
        display: none !important;
    }
    .contact-modal-square {
        border-width: 2.5px;
        min-height: 580px; /* Уменьшено для адаптивности */
    }
    .map-container {
        max-width: 100%;
    }
    .map-container iframe {
        height: 250px; /* Уменьшено для меньших экранов */
    }
}

@media (max-width: 576px) {
    .map-title {
        font-size: 1.1rem;
        margin: 1.2rem auto 0.8rem;
    }
    .map-container iframe {
        height: 200px; /* Еще меньше для маленьких экранов */
    }
    .contact-modal-square {
        min-height: 540px;
    }
}

.contact-footer {
  background: rgba(30, 30, 30, 0.86);
  border-radius: 9px;
  margin: 18px auto 8px auto;
  padding: 18px 16px 14px 16px;
  max-width: 370px;
  box-shadow: 0 2px 16px #0002;
  color: #fff;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}

.contact-footer .contact-person {
  font-size: 1.12rem;
  font-weight: 700;
  color: #B21917;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.contact-footer .contact-detail {
  margin-bottom: 2px;
}

.contact-footer .contact-link {
  color: #fff;
  text-decoration: underline dotted #B21917 1.5px;
  transition: color 0.16s;
  word-break: break-all;
}
.contact-footer .contact-link:hover {
  color: #B21917;
  text-decoration: underline solid #B21917 2px;
}

@media (max-width: 600px) {
  .contact-footer {
    font-size: 0.98rem;
    padding: 12px 6px 8px 6px;
    max-width: 98vw;
  }
}
@media (max-width: 380px) {
  .partner-section h2,
  .partner-section .fw-bold {
    font-size: 1.04rem !important;
    line-height: 1.08;
  }
}

.news-image-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 30px 0 20px 0;
}
.news-image-center img {
  max-width: 160px;   /* В два раза меньше! */
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 32px #ff232340;
  background: transparent;
}
@media (max-width: 600px) {
  .news-image-center img {
    max-width: 46vw; /* Тоже половина экрана, но не больше */
    border-radius: 6px;
  }
  .news-image-center {
    margin: 18px 0 12px 0;
  }
}
