.cherniy-container {
    max-width: 850px;
    margin: 0 auto;
}

/* Hero Section */
.cherniy-hero {
    height: 65vh;
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.cherniy-hero-bg {
    height: 65vh;
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    background-image: url('https://integral-invest.ru/wp-content/uploads/2023/11/holodniy-metalloprokat.png');
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

.cherniy-hero-shade {
    opacity: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3;
    height: 65vh;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.cherniy-hero-title {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    height: 65vh;
    overflow: hidden;
}

.cherniy-hero-text {
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    padding: 2em;
    background: rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}

.cherniy-hero-arrow {
    position: fixed;
    left: 50%;
    margin-left: -25px;
    bottom: 20px;
    opacity: 1;
    z-index: 4;
    width: auto;
    height: auto;

}

.cherniy-center-v {
    display: table;
    height: 100%;
}

.cherniy-center-v>div {
    display: table-cell;
    vertical-align: middle;
}

.cherniy-hero-h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    font: 2.5em/1.2em;
    color: #fff;
}

.cherniy-hero-p {
    width: 60%;
    max-width: 510px;
    margin: 0 auto;
    line-height: 1.5em;
    padding: 10px 20px 0;
    border-top: solid 1px rgba(255, 255, 255, 0.2);
    letter-spacing: 0.015em;
    display: block;
    color: #eee;
    font-size: 0.9em;
}

.cherniy-bouncy {
    animation: cherniy-bounce 3s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cherniy-bounce {
    0% {
        transform: translate(0, 0px);
        animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
    }

    11% {
        transform: translate(0, -25px) scaleX(0.8);
        animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
    }

    20% {
        transform: translate(0, 0px) scaleY(0.8);
        animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
    }

    28% {
        transform: translate(0, -10px);
        animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
    }

    36% {
        transform: translate(0, 0px);
        animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
    }

    100% {
        transform: translate(0, 0px);
        animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
    }
}

/* Features Section */
.cherniy-features {
    padding: 60px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cherniy-section-title {
    font-size: 36px;
    color: #41484E;
    margin-bottom: 50px;
    text-align: center;
}

.cherniy-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cherniy-feature-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.cherniy-feature-item:hover {
    transform: translateY(-10px);
}

.cherniy-feature-image {
    margin-bottom: 20px;
}

.cherniy-feature-image img {
    width: 100%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cherniy-feature-item:hover .cherniy-feature-image img {
    transform: scale(1.1) rotate(5deg);
}

.cherniy-feature-title {
    font-size: 22px;
    color: #C30B0D;
    margin-bottom: 10px;
}

.cherniy-feature-text {
    font-size: 16px;
    color: #555555;
}

.cherniy-features-text {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cherniy-features-description {
    font-size: 18px;
    color: #555555;
    line-height: 1.8;
    text-align: center;
    padding: 0 20px;
}

/* CTA Section */
.cherniy-cta {
    padding: 60px 0;
    text-align: center;
}

.cherniy-cta-content {
    background: linear-gradient(135deg, #C30B0D 0%, #41484E 100%);
    padding: 50px 30px;
    border-radius: 10px;
    color: #fff;
}

.cherniy-cta-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}

.cherniy-cta-text {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cherniy-cta-button {
    background-color: #fff;
    color: #C30B0D;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cherniy-cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Products Table Section */
.cherniy-products {
    padding: 60px 0;
}

.cherniy-table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 600px;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cherniy-products-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 16px;
}

.cherniy-products-table thead {
    background: linear-gradient(135deg, #C30B0D 0%, #41484E 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.cherniy-products-table th {
    padding: 20px;
    text-align: left;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.cherniy-products-table th:first-child {
    border-top-left-radius: 10px;
}

.cherniy-products-table th:last-child {
    border-top-right-radius: 10px;
}

.cherniy-products-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.cherniy-products-table tbody tr:hover {
    background-color: #f5f5f5;
}

.cherniy-products-table tbody tr:last-child {
    border-bottom: none;
}

.cherniy-products-table td {
    padding: 18px 20px;
    color: #555555;
}

.cherniy-products-table td:first-child {
    font-weight: bold;
    color: #C30B0D;
}

.cherniy-products-table td:last-child {
    font-weight: bold;
    color: #41484E;
    font-size: 18px;
}

/* Custom scrollbar for table */
.cherniy-table-wrapper::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.cherniy-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cherniy-table-wrapper::-webkit-scrollbar-thumb {
    background: #C30B0D;
    border-radius: 10px;
}

.cherniy-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #41484E;
}

/* Products Text Section */
.cherniy-products-text {
    padding: 60px 0;
}

.cherniy-products-text-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.cherniy-products-text-block {
    margin-top: 40px;
}

.cherniy-products-text-main {
    text-align: center;
}

.cherniy-products-text-main p {
    font-size: 18px;
    color: #555555;
    line-height: 2;
    text-align: left;
    margin: 0 0 35px 0;
}

.cherniy-products-text-main p:last-child {
    margin-bottom: 0;
}

.cherniy-products-intro {
    font-size: 20px !important;
    color: #41484E !important;
    font-weight: 500;
}


.cherniy-products-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C30B0D, transparent);
    margin: 35px auto;
    border-radius: 2px;
    position: relative;
}

.cherniy-products-divider::before,
.cherniy-products-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #C30B0D;
    border-radius: 50%;
    transform: translateY(-50%);
}

.cherniy-products-divider::before {
    left: -10px;
}

.cherniy-products-divider::after {
    right: -10px;
}

/* Info Section */
.cherniy-info {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cherniy-info-bg-decoration {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(195, 11, 13, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: cherniy-float-bg 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes cherniy-float-bg {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

.cherniy-info-content {
    position: relative;
    z-index: 1;
}

.cherniy-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.cherniy-info-image-wrapper {
    position: relative;
}

.cherniy-info-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.cherniy-info-image-wrapper:hover .cherniy-info-image-frame {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.cherniy-info-image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(195, 11, 13, 0.3) 0%, transparent 70%);
    animation: cherniy-glow-pulse 3s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes cherniy-glow-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.cherniy-info-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.cherniy-info-image-wrapper:hover .cherniy-info-image {
    transform: scale(1.05);
}

.cherniy-info-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(195, 11, 13, 0.1) 0%, transparent 100%);
    z-index: 3;
    pointer-events: none;
    border-radius: 20px;
}

.cherniy-info-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.cherniy-stat-item {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.cherniy-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(195, 11, 13, 0.1), transparent);
    transition: left 0.5s;
}

.cherniy-stat-item:hover::before {
    left: 100%;
}

.cherniy-stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(195, 11, 13, 0.2);
}

.cherniy-stat-number {
    font-size: 42px;
    font-weight: bold;
    background: linear-gradient(135deg, #C30B0D 0%, #C30B0D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.cherniy-stat-label {
    font-size: 14px;
    color: #555555;
    font-weight: 500;
}

.cherniy-info-text {
    padding: 20px 0;
}

.cherniy-info-title-wrapper {
    margin-bottom: 40px;
}

.cherniy-info-title-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #C30B0D 0%, #C30B0D 100%);
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(195, 11, 13, 0.3);
    animation: cherniy-badge-pulse 2s ease-in-out infinite;
}

@keyframes cherniy-badge-pulse {

    0%,
    100% {
        box-shadow: 0 5px 15px rgba(195, 11, 13, 0.3);
    }

    50% {
        box-shadow: 0 5px 25px rgba(195, 11, 13, 0.5);
    }
}

.cherniy-info-title {
    font-size: 48px;
    color: #C30B0D;
    margin: 20px 0;
    font-weight: 800;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.cherniy-title-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C30B0D, transparent);
    border-radius: 2px;
    animation: cherniy-line-expand 1.5s ease-out;
}

@keyframes cherniy-line-expand {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 100%;
        opacity: 1;
    }
}

.cherniy-info-paragraphs {
    margin-bottom: 40px;
}

.cherniy-info-paragraph {
    font-size: 17px;
    color: #555555;
    margin-bottom: 25px;
    line-height: 1.9;
    text-align: left;
    padding-left: 40px;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cherniy-info-paragraph.animate {
    opacity: 1;
    transform: translateX(0);
}

.cherniy-paragraph-icon {
    position: absolute;
    left: 0;
    top: 5px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #C30B0D 0%, #C30B0D 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(195, 11, 13, 0.3);
    animation: cherniy-icon-bounce 2s ease-in-out infinite;
}

@keyframes cherniy-icon-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.cherniy-info-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.cherniy-info-feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.cherniy-info-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(195, 11, 13, 0.05) 0%, rgba(65, 72, 78, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.cherniy-info-feature-card:hover::before {
    opacity: 1;
}

.cherniy-info-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(195, 11, 13, 0.15);
    border-color: #C30B0D;
}

.cherniy-feature-icon {
    font-size: 40px;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s;
    position: relative;
    z-index: 1;
}

.cherniy-info-feature-card:hover .cherniy-feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.cherniy-feature-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cherniy-feature-content h4 {
    font-size: 18px;
    color: #41484E;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.cherniy-feature-content p {
    font-size: 14px;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.cherniy-fade-in {
    animation: fadeIn 1s ease-in;
}

.cherniy-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.cherniy-slide-up {
    animation: none;
}

.cherniy-zoom-in {
    animation: none;
}

.cherniy-float {
    animation: float 3s ease-in-out infinite;
}

.cherniy-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.cherniy-image-animate {
    animation: fadeIn 1s ease-in;
}

.cherniy-button-animate {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .cherniy-container {
        padding: 15px;
    }

    .cherniy-hero-h1 {
        font-size: 1.8em;
    }

    .cherniy-hero-p {
        font-size: 0.8em;
        width: 80%;
    }

    .cherniy-hero-text {
        padding: 1.5em 1em;
    }

    .cherniy-features-grid {
        grid-template-columns: 1fr;
    }

    .cherniy-info {
        padding: 60px 0;
    }

    .cherniy-info-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cherniy-info-image-frame {
        transform: perspective(1000px) rotateY(0deg);
    }

    .cherniy-info-stats {
        margin-top: 30px;
    }

    .cherniy-stat-item {
        min-width: 100px;
        padding: 20px 15px;
    }

    .cherniy-stat-number {
        font-size: 32px;
    }

    .cherniy-stat-label {
        font-size: 12px;
    }

    .cherniy-info-title {
        font-size: 32px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cherniy-title-line {
        width: 80px;
        margin: 0 auto;
    }

    .cherniy-info-paragraph {
        font-size: 15px;
        padding-left: 35px;
    }

    .cherniy-paragraph-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .cherniy-info-features {
        grid-template-columns: 1fr;
    }

    .cherniy-info-feature-card {
        padding: 15px;
    }

    .cherniy-feature-icon {
        font-size: 32px;
    }

    .cherniy-feature-content h4 {
        font-size: 16px;
    }

    .cherniy-feature-content p {
        font-size: 13px;
    }

    .cherniy-products-table {
        font-size: 14px;
    }

    .cherniy-products-table th,
    .cherniy-products-table td {
        padding: 12px 10px;
    }

    .cherniy-products-table th {
        font-size: 16px;
    }

    .cherniy-products-table td:last-child {
        font-size: 16px;
    }

    .cherniy-products-text {
        padding: 40px 0;
    }

    .cherniy-products-text-content {
        padding: 0 15px;
    }

    .cherniy-products-text-block {
        margin-top: 30px;
    }

    .cherniy-products-text-main p {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 25px;
    }

    .cherniy-products-intro {
        font-size: 18px !important;
    }

    .cherniy-products-divider {
        margin: 25px auto;
        width: 60px;
    }
}

/* Slider Section */
.cherniy-slider-section {
    padding: 60px 0;
    position: relative;
}

.cherniy-slider-container {
    position: relative;
    max-width: 100%;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.cherniy-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.cherniy-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.cherniy-slide {
    min-width: 100%;
    position: relative;
    background-color: #fff;
}

.cherniy-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.cherniy-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: #C30B0D;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cherniy-slider-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cherniy-slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.cherniy-slider-prev {
    left: 20px;
}

.cherniy-slider-next {
    right: 20px;
}

.cherniy-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    background-color: #fff;
}

.cherniy-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cherniy-dot:hover {
    background-color: #999;
    transform: scale(1.2);
}

.cherniy-dot.active {
    background-color: #C30B0D;
    width: 30px;
    border-radius: 6px;
    border-color: #C30B0D;
}

/* Responsive for Slider */
@media (max-width: 768px) {
    .cherniy-slider-section {
        padding: 40px 0;
    }

    .cherniy-slide img {
        height: 250px;
    }

    .cherniy-slider-btn {
        width: 40px;
        height: 40px;
    }

    .cherniy-slider-prev {
        left: 10px;
    }

    .cherniy-slider-next {
        right: 10px;
    }

    .cherniy-slider-dots {
        padding: 15px 0;
    }
}