.header__main-part {
    display: none !important;
}

section.page-top {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

:root {
    --primary-red: #d32f2f;
    --primary-white: #ffffff;
    --accent-blue: #1976d2;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    color: var(--primary-red);
    margin-bottom: 30px;
    text-align: center;
}

.section-subtitle {
    margin-bottom: 20px;
}

.btn-secondary {
    background-color: var(--primary-white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--primary-white);
}

.hero {
    color: var(--primary-white);
    background: linear-gradient(135deg, var(--primary-red) 0%, #b71c1c 100%);
    text-align: center;
    border-radius: 20px;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    background: url('/upload/medialibrary/b79/n62sanc5pecl4ye5yla9cwaj3c7077fx/364303_bg-_1_.jpg') center/cover no-repeat;
}

.hero2 {
    color: var(--primary-white);
    background: linear-gradient(135deg, var(--primary-red) 0%, #b71c1c 100%);
    text-align: center;
    border-radius: 20px;
    padding: 0px 0;
    position: relative;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/upload/medialibrary/322/bbcvz0gytmyuxwts8w2c8pt6h5z7js2p/Background2.jpg') center/cover no-repeat;
}

.hero2>* {
    position: relative;
    z-index: 1;
}

.hero2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.77);
    /* Чёрный с прозрачностью 50% */
}

/* ===== ADVANTAGES SECTION ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-card {
    background-color: var(--primary-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--medium-gray);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-red);
}

.advantage-card h3 {
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* ===== ABOUT PARTNER SECTION ===== */
.about-partner {
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.fullwidth-logos {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--primary-white) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.fullwidth-logos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/upload/medialibrary/aac/m3ix8if5dsv8scdd68b49mnt1q3jjt60/logo-AP-transparent.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 500px;
    opacity: 0.03;
    z-index: 1;
}

.fullwidth-logos .container {
    position: relative;
    z-index: 2;
}

.logos-grid-fullwidth {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.logo-card-fullwidth {
    background: var(--primary-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.logo-card-fullwidth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.1), transparent);
    transition: left 0.6s ease;
}

.logo-card-fullwidth:hover::before {
    left: 100%;
}

.logo-card-fullwidth:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(211, 47, 47, 0.15);
    border-color: var(--primary-red);
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.2;
    transition: var(--transition);
}

.logo-subtext {
    font-size: 1.1rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-top: 5px;
    opacity: 0.8;
}

.logo-card-fullwidth:hover .logo-text {
    color: var(--primary-red);
    transform: scale(1.05);
}

.logo-card-fullwidth:hover .logo-subtext {
    opacity: 1;
    color: var(--accent-blue);
}

.logo-chipdip .logo-text {
    color: #2E8B57;
    font-size: 2.8rem;
}

.logo-daneta .logo-text {
    color: #1E88E5;
    font-weight: 800;
}

.logo-mbicko .logo-text {
    color: #E53935;
    font-size: 2.2rem;
}

.logo-autolines .logo-text {
    color: #3949AB;
    font-size: 1.8rem;
}

.logo-dns .logo-text {
    color: #F57C00;
    font-weight: 900;
    font-size: 3rem;
}

.logo-tmakk .logo-text {
    color: #5D4037;
    font-style: italic;
}

.logo-avtoshik .logo-text {
    color: #00897B;
    font-weight: 800;
}

.logo-eldorado .logo-text {
    color: #D32F2F;
    font-size: 2rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}

.award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.award-image {
    width: 100%;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 10px;
}

.award-caption {
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.screenshots-grid {
    display: none;
}

/* ===== PARTNER SLIDER ===== */
.partner-slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.partner-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.partner-slide {
    min-width: 100%;
    position: relative;
}

.partner-slide img {
    width: 100%;
    height: 700px;
    object-fit: contain;
    object-position: center;
    display: block;
    background-color: #fff;
}

.screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px;
    text-align: center;
    font-size: 1rem;
    z-index: 10;
    max-width: 80%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .screenshot-caption {
        left: 30%;
        right: 30%;
        border-radius: 20px;
        padding: 15px;
        font-size: 1.2rem;
    }
}

.partner-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.partner-slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.partner-prev {
    left: 20px;
}

.partner-next {
    right: 20px;
}

.partner-slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.partner-dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.partner-dot.active {
    background: #333;
}

/* ===== REGISTRATION STEPS ===== */
.registration-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    max-width: 150px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-white);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-text {
    font-size: 0.9rem;
    line-height: 1.3;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
    background: var(--light-gray);
    text-align: center;
    padding: 100px 0;
}

.cta-button-pc {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.cta-button-mob {
    display: none;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}
.descrip{
    max-width: 80%;
  margin: 0 auto;
}


@media (max-width: 991px) {

    .cta-button-mob {
        display: flex;
    }

    .cta-button-pc {
        display: none;
    }
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.benefit-icon {
    background: var(--primary-white);
    color: var(--primary-red);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-content h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--primary-white);
}

.cta-content h2 strong {
    color: #e63946;
}

.cta-content p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    
    color: var(--primary-white);
}

/* ===== COMPANY STATS ===== */
.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--primary-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 600;
}

/* ===== CATEGORY GRID ===== */
.wrap2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    justify-content: center;
}

.category-card2 {
    height: 100%;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card2:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.category-card2 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.category-card2 p {
    margin-bottom: 0;
    font-size: 16px;
    color: #333;
}

/* ===== MODAL STYLES ===== */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 15px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.modal.open {
    opacity: 1;
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    opacity: 0;
    transition: var(--transition-slow);
}

.modal.open .modal-content {
    transform: scale(0.9);
    opacity: 1;
}

.modal-content img {
    max-width: 130%;
    max-height: 80vh;
    object-fit: cover;
    border-radius: 4px;
}

.close {
    position: absolute;
    top: -40px;
    right: -10px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close:hover {
    opacity: 1;
}

#modalCaption {
    color: white;
    margin-top: 12px;
    text-align: center;
    font-size: 16px;
    max-width: 80%;
}

/* ===== BACKGROUND LOGO UTILITIES ===== */
.about-partner.with-logo-bg,
.section.with-logo-bg {
    position: relative;
    overflow: hidden;
}

.about-partner.with-logo-bg {
    background-color: var(--light-gray);
}

.about-partner.with-logo-bg::before,
.section.with-logo-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/upload/medialibrary/aac/m3ix8if5dsv8scdd68b49mnt1q3jjt60/logo-AP-transparent.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 300px;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.section.with-logo-bg::before {
    background-size: 400px;
    opacity: 0.1;
}

.about-partner.with-logo-bg .container,
.section.with-logo-bg .container {
    position: relative;
    z-index: 2;
}

.section.with-corner-logo {
    position: relative;
}

.section.with-corner-logo::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
    height: 200px;
    background-image: url('/upload/medialibrary/aac/m3ix8if5dsv8scdd68b49mnt1q3jjt60/logo-AP-transparent.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.cta-section.with-logo-bg::before {
    background-image: url('/upload/medialibrary/aac/m3ix8if5dsv8scdd68b49mnt1q3jjt60/logo-AP-transparent.png');
    opacity: 0.1;
    filter: brightness(0) invert(1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-card-fullwidth {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Animation delays */
.logo-card-fullwidth:nth-child(1) {
    animation-delay: 0.1s;
}

.logo-card-fullwidth:nth-child(2) {
    animation-delay: 0.2s;
}

.logo-card-fullwidth:nth-child(3) {
    animation-delay: 0.3s;
}

.logo-card-fullwidth:nth-child(4) {
    animation-delay: 0.4s;
}

.logo-card-fullwidth:nth-child(5) {
    animation-delay: 0.5s;
}

.logo-card-fullwidth:nth-child(6) {
    animation-delay: 0.6s;
}

.logo-card-fullwidth:nth-child(7) {
    animation-delay: 0.7s;
}

.logo-card-fullwidth:nth-child(8) {
    animation-delay: 0.8s;
}

.logo-card-fullwidth:nth-child(9) {
    animation-delay: 0.9s;
}

@media (max-width: 1200px) {
    .logos-grid-fullwidth {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px;
    }

    .logo-card-fullwidth {
        height: 160px;
        padding: 25px;
    }

    .logo-text {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .hero h1,
    .section-title {
        font-size: 2.2rem;
    }

    .logos-grid-fullwidth {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .logo-card-fullwidth {
        height: 140px;
        padding: 20px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .about-partner.with-logo-bg::before,
    .section.with-logo-bg::before {
        background-size: 400px;
        opacity: 0.02;
    }

    .section.with-corner-logo::before {
        width: 150px;
        height: 150px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .fullwidth-logos {
        padding: 60px 0;
    }

    .logos-grid-fullwidth {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .logo-card-fullwidth {
        height: 120px;
        padding: 15px;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .logo-subtext {
        font-size: 1rem;
    }

    .awards-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }

    .award-image,
    .screenshot-item img {
        height: 150px;
    }

    .partner-slider-btn {
        display: none;
    }

    .partner-slide img {
        height: 600px;
    }

    .registration-steps {
        gap: 20px;
    }

    .step-item {
        max-width: 120px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .step-text {
        font-size: 0.8rem;
    }

    .cta-benefits {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .cta-content p {
        max-width: 600px;
        margin: 0 auto 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .advantages-grid,
    .screenshots-grid,
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .logos-grid-fullwidth {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .logo-card-fullwidth {
        height: 100px;
        padding: 15px;
    }

    .logo-text {
        font-size: 1.6rem;
    }

    .award-image,
    .screenshot-item img {
        height: 180px;
    }

    .partner-slide img {
        height: 320px;
    }

    .section-title {
        font-size: 2rem;
    }

    .registration-steps {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .step-item {
        max-width: 200px;
    }

    .about-partner.with-logo-bg::before,
    .section.with-logo-bg::before {
        background-size: 300px;
    }

    .section.with-corner-logo::before {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 991px) {
    .pc_version {
        display: none;
    }

    .mobile_version {
        display: block;
    }
}