

/* Start:/local/templates/arcona/template_styles.css?177359747588842*/
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #476DAC;
    --dark-bg: #000000;
    --text-gray: rgba(255, 255, 255, 0.8);
    --mobile-width: 375px;
    --header-bg: transparent;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

body {
    font-family: 'Gilroy', 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

body.menu-open {
    overflow: hidden;
}

.page-wrapper {
    width: var(--mobile-width);
    min-height: auto;
    position: relative;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Header styles */
.header {
    position: fixed;
    width: var(--mobile-width);
    height: 100px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1004;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: transparent;
}

.header-line {
    position: fixed;
    top: 100px;
    left: 50%;
    width: 100%;
    height: 1px;
    background: #FFFFFF;
    transform-origin: left;
    transition: transform 0.3s ease 0.1s;
    z-index: 10002;
    transform: translateX(-50%) scaleX(0);
}

.burger-menu.active ~ .header-line {
    transform: translateX(-50%) scaleX(1);
}

.logo {
    position: relative;
}

.logo img {
    width: 218px;
    height: 40.64px;
    display: block;
    transition: filter 0.3s ease;
}

.burger-menu.active ~ .header .logo img {
    filter: brightness(0) invert(1);
}

/* Burger menu styles */
.burger-menu {
    width: 27px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 41px;
    left: 20px;
    z-index: 1005;
    padding: 0;
    margin: 0;
}

.burger-menu::before,
.burger-menu::after,
.burger-menu span {
    content: '';
    position: absolute;
    height: 2px;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

.burger-menu::before {
    top: 0;
    left: 7px;
    width: 20px;
}

.burger-menu span {
    top: 8px;
    left: 0;
    width: 27px;
}

.burger-menu::after {
    bottom: 0;
    left: 0;
    width: 27px;
}

.burger-menu.active::before {
    transform: rotate(45deg);
    top: 8px;
    left: 0;
    width: 27px;
}

.burger-menu.active span {
    opacity: 0;
}

.burger-menu.active::after {
    transform: rotate(-45deg);
    bottom: 8px;
    left: 0;
    width: 27px;
}

/* Side menu styles */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-bg);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    padding: 160px 0 40px;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.side-menu.active {
    left: 0;
}

.side-menu-nav {
    padding: 0 30px;
}

.side-menu-nav ul {
    list-style: none;
}

.side-menu-nav li {
    margin-bottom: 30px;
}

.side-menu-nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.side-menu-nav a:hover {
    color: var(--primary-blue);
}

.side-menu-contacts {
    margin-top: auto;
    padding: 0 30px;
}

.side-menu-contacts .phone-numbers p {
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

.side-menu-contacts .email {
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main section styles */
main {
    width: 100%;
    padding-top: 100px;
    position: relative;
    z-index: 1;
}

.products {
    width: 100%;
    position: relative;
}

/* Убираем стили hero секции, так как она стала первым продуктом */

/* Product cards */
.product-card {
    width: 375px;
    height: 600px;
    position: relative;
    background: rgba(0, 0, 0, 0.95);
    overflow: visible;
    margin-bottom: 0;
    perspective: 3000px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.1;
}



.product-content {
    position: relative;
    z-index: 1;
    padding: 40px 32px;
    text-align: center;
    max-width: 575px;
}





.product-card h2 {
    font-weight: 700;
    font-size: 35px;
    line-height: 42px;
    text-align: center;
    letter-spacing: 0.01em;
    margin-bottom: 24px;
}

.product-card p {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.product-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.product-image img {
    max-width: 90%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}



/* SVG placeholder'ы - базовые стили */
.product-image div[id*="-svg-placeholder"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0; /* По умолчанию скрыты */
}

/* PNG изображения - базовые стили */
.product-image img[id*="-png-image"] {
    position: relative;
    z-index: 1;
}

/* Показываем PNG изображения для первого продукта только на десктопе */
@media (min-width: 1024px) {
    .product-image img#product1-png-image {
        opacity: 1;
    }
    
    /* Принудительно показываем PNG первого продукта на десктопе */
    .product-card--bmu .product-image img#product1-png-image {
        opacity: 1;
    }
}

/* spoiler section */
.spoiler {
    padding: 40px 32px;
    background: var(--dark-bg);
    position: relative;
}

.spoiler-content h3 {
    font-weight: 700;
    font-size: 35px;
    line-height: 50px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.spoiler-content {
    display: none;
    transition: all 0.3s ease;
}

.spoiler-content.active {
    display: block;
}

.spoiler-item {
    margin-bottom: 40px;
}

.spoiler-item-small {
    margin-bottom: 16px;
}

.spoiler-item-small h3 {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.spoiler-item-small p {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.01em;
    margin-bottom: 12px;
    color: var(--text-gray);
}

.modal-content .spoiler-item-small {
    margin-bottom: 0;
}

.modal-content .spoiler-item-small p {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.01em;
    margin-bottom: 12px;
    color: var(--text-gray);
}

.spoiler-item h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.spoiler-item p {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
    color: var(--text-gray);
}

.spoiler hr {
    width: 316px;
    border: 1px solid #FFFFFF;
    margin: 20px 0;
}

.spoiler-description {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.hide-btn {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
}

/* Partners section */
.partners {
    width: 100%;
    padding: 40px 20px;
    background: var(--dark-bg);
}

.partners h2 {
    font-weight: 700;
    font-size: 35px;
    line-height: 42px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.partners p {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.partner-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.partner-logos img {
    width: 304px;
    height: 61px;
    object-fit: contain;
    opacity: 0;
    transform: translateY(20px);
}

.global-slider .partners.active .partner-logos img {
    animation: fadeInUp 0.5s ease forwards;
}

.global-slider .partners.active .partner-logos img:nth-child(1) {
    animation-delay: 0.2s;
}

.global-slider .partners.active .partner-logos img:nth-child(2) {
    animation-delay: 0.4s;
}

.global-slider .partners.active .partner-logos img:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contacts section */
.contacts {
    width: 100%;
    padding: 40px 20px;
    background: var(--dark-bg);
    text-align: center;
}

.contacts h2 {
    font-weight: 700;
    font-size: 35px;
    line-height: 42px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.contact-info-container {
    max-width: 600px;
    margin: 0 auto 10px;
    display: flex;
    justify-content: center;
}

.contact-info {
    text-align: center;
    width: auto;
}

.phone-numbers p {
    font-weight: 700;
    font-size: 28px;
    line-height: 47px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin: 0;
}

.email {
    font-weight: 700;
    font-size: 25px;
    line-height: 47px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin: 0;
}

.contact-form-container {
    max-width: 600px;
    margin: 40px auto 0;
}

.contact-form {
    width: 100%;
    max-width: 285px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-group.visible {
    opacity: 1;
    transform: translateY(0);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #FFFFFF;
    padding: 8px 0;
    color: #FFFFFF;
    font-size: 16px;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
}

.form-group.focused label {
    top: -20px;
    font-size: 20px;
}

/* Submit button */
.submit-btn {
    width: 207px;
    height: 69px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 17px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.02em;
    cursor: pointer;
    clip-path: polygon(23px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 41px);
    margin: 0 auto;
    display: block;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background: var(--primary-blue);
    transform: rotate(-45deg) translateY(-3em);
    transform-origin: 0% 100%;
    transition: transform 0.5s ease;
    z-index: -1;
}

.submit-btn.animate::after {
    transform: rotate(0deg);
}

.submit-btn:hover {
    color: #FFFFFF;
}

/* Footer styles */
.footer {
    padding: 40px 0;
    text-align: center;
    margin-top: 0;
}

.footer p {
    font-weight: 400;
    font-size: 22px;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

/* Remove blue accent lines */
.blue-line {
    display: none;
}

/* Navigation arrows */
.nav-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 69.5px;
    height: 69.5px;
    cursor: pointer;
    z-index: 10;
}

.nav-arrow-box {
    position: absolute;
    width: 49.14px;
    height: 49.14px;
    left: calc(50% - 49.14px/2);
    top: calc(50% - 49.14px/2);
    background: var(--primary-blue);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.nav-arrow:hover .nav-arrow-box {
    background: #0066FF;
}

.nav-arrow-symbol {
    position: absolute;
    width: 16px;
    height: 26.4px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    z-index: 3;
    transition: transform 0.3s ease;
}

.nav-arrow-up .nav-arrow-symbol {
    transform: translate(-50%, -50%) rotate(180deg) translateY(2px) translateX(0);
}

.nav-arrow.active .nav-arrow-symbol {
    transform: translate(-50%, -50%) rotate(180deg) translateY(2px) translateX(0);
}

.nav-arrow.active .nav-arrow-box {
    background: transparent;
    border: 2px solid #FFFFFF;
}

/* Remove unnecessary button styles */
.product-link,
.spoiler-link {
    display: none;
}

/* Responsive design */
@media (max-width: 1024px) {
    .product-content {
        max-width: 60%;
    }
    
    .product-card h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
    }
    
    .product-content {
        max-width: 100%;
        padding: 20px 20px;
    }
    
    .product-image {
        position: relative;
        width: 100%;
        height: 300px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .spoiler-toggle h2 {
        font-size: 28px;
    }
}

/* Убираем стили hero nav-arrow */

.product-details {
    display: none;
    padding: 40px 32px;
    background: var(--dark-bg);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    z-index: 10;
    margin-top: 0;
}

.product-details.active {
    display: block;
}

.product-details .spoiler-content {
    display: block;
}

.product-details .spoiler-content h2 {
    text-align: center;
}

.product-details .spoiler-item {
    text-align: left;
}

.product-details .spoiler-item h3 {
    text-align: left;
}

.product-details .spoiler-item p {
    text-align: left;
}

.product-details hr {
    width: 316px;
    border: 1px solid #FFFFFF;
    margin: 20px 0;
}

.product-details .spoiler-description {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-align: left;
}

/* Desktop styles */
@media (min-width: 1024px) {
    .page-wrapper {
        width: 100%;
    }

    .header {
        width: 100%;
        padding: 0 60px;
        transform: none;
        left: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: transparent;
    }

    .header::before {
        display: none;
    }

    .logo {
        position: static;
        transform: none;
        cursor: pointer;
    }

    .logo img {
        transition: filter 0.3s ease;
    }

    .logo:hover img {
        filter: brightness(0) invert(1);
    }

    .burger-menu {
        display: none;
    }

    .side-menu {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        transform: none;
        left: auto;
    }

    .side-menu.active {
        left: auto;
    }

    .side-menu-nav {
        padding: 0;
    }

    .side-menu-nav ul {
        display: flex;
        gap: 40px;
    }

    .side-menu-nav li {
        margin: 0;
    }

    .side-menu-nav a {
        font-size: 16px;
        line-height: 24px;
    }

    .side-menu-contacts {
        display: none;
    }

    /* Hero section */
    /* Убираем стили hero секции для десктопной версии */

    /* Product cards */
    .products {
        width: 100%;
    }

    .product-card {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0 60px;
        position: relative;
        background: rgba(0, 0, 0, 0.8);
    }



    .product-card--bmu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(/local/templates/arcona/images/bg.jpg);
        background-size: cover;
        background-position: center;
        z-index: -1;
        opacity: 0.35;
    }

    .product-card--rou::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(/local/templates/arcona/images/bg_rou.jpg);
        background-size: cover;
        background-position: center;
        z-index: -1;
        opacity: 0.1;
    }

    .product-card--svk::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(/local/templates/arcona/images/bg_svk.jpg);
        background-size: cover;
        background-position: center;
        z-index: -1;
        opacity: 0.1;
    }

    .product-card--bok::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(/local/templates/arcona/images/bg_bok.jpg);
        background-size: cover;
        background-position: center;
        z-index: -1;
        opacity: 0.1;
    }

    .product-card--armatura::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(/local/templates/arcona/images/bg_armatura.jpg);
        background-size: cover;
        background-position: center;
        z-index: -1;
        opacity: 0.1;
    }

    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover;
        background-position: center;
        z-index: -1;
    }

    .product-card--left {
        flex-direction: row;
    }

    .product-card--left .product-content {
        margin-right: 80px;
        margin-left: 0;
    }

    .product-card--right {
        flex-direction: row-reverse;
    }

    .product-card--right .product-content {
        margin-left: 80px;
        margin-right: 0;
    }

    .product-card h2 {
        text-align: left;
        font-size: 58px;
        line-height: 70px;
        margin: 0;
        max-width: 700px;
    }

    .product-image {
        width: 40%;
        height: auto;
        padding: 0;
        flex: 0 0 auto;
    }

    .product-image img {
        max-width: 90%;
        height: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    /* Hide mobile spoiler arrows */
    .nav-arrow {
        display: none;
    }

    /* Details button */
    .details-btn {
        width: 207px;
        height: 69px;
        background: transparent;
        border: none;
        color: #FFFFFF;
        font-size: 17px;
        line-height: 20px;
        text-align: center;
        letter-spacing: 0.02em;
        cursor: pointer;
        clip-path: polygon(23px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 41px);
        margin-top: 40px;
        display: block;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .details-btn::after {
        content: '';
        background: var(--primary-blue);
        width: 150%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        transform: rotate(-45deg) translateY(-3em);
        transform-origin: 0% 100%;
        transition: transform 0.3s ease;
    }

    .details-btn.animate::after {
        transform: rotate(0deg);
    }

    .details-btn:hover {
        color: #FFFFFF;
    }

    /* Modal styles */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000;
        align-items: center;
        justify-content: center;
    }

    .modal.active {
        display: flex;
    }

    .modal-content {
        background: var(--dark-bg);
        padding: 60px;
        position: relative;
        max-width: 800px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        cursor: pointer;
        color: #FFFFFF;
        font-size: 32px;
    }

    /* Partners section */
    .partners {
        padding: 100px 60px;
    }

    .partner-logos {
        flex-direction: row;
        justify-content: center;
        gap: 60px;
    }

    /* Contacts section */
    .contacts {
        padding: 100px 60px;
    }

    .contact-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 60px;
    }

    .contact-form {
        max-width: 400px;
    }

    /* Desktop menu styles */
    .desktop-menu {
        display: block;
    }

    .desktop-menu ul {
        display: flex;
        gap: 40px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .desktop-menu a {
        color: #FFFFFF;
        text-decoration: none;
        font-size: 16px;
        line-height: 24px;
        transition: color 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 700;
    }

    .desktop-menu a:hover {
        color: var(--primary-blue);
    }

    .desktop-menu a.active,
    .side-menu-nav a.active {
        color: var(--primary-blue);
    }

    .side-menu {
        display: none;
    }

    /* 3D эффект для карточек продуктов на десктопе */






    main {
        padding-top: 0;
    }
}

/* Унифицированные стили для 3D эффекта наведения */


/* Tablet styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .page-wrapper {
        width: 100%;
    }

    .header {
        width: 100%;
        transform: none;
        left: 0;
    }

    .product-card {
        width: 100%;
    }

    .product-content {
        max-width: 90%;
        margin: 0 auto;
    }

    .partner-logos {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
}

/* Details button */
.details-btn {
    width: 207px;
    height: 69px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 17px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.02em;
    cursor: pointer;
    clip-path: polygon(23px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 41px);
    margin-top: 40px;
    display: none;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.details-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background: var(--primary-blue);
    transform: rotate(-45deg) translateY(-3em);
    transform-origin: 0% 100%;
    transition: transform 0.5s ease;
    z-index: -1;
}

.details-btn.animate::after {
    transform: rotate(0deg);
}

.details-btn:hover {
    color: #FFFFFF;
}

/* Показываем кнопки только на десктопе */
@media (min-width: 1024px) {
    .details-btn {
        display: block;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--dark-bg);
    padding: 60px;
    position: relative;
    max-width: 1100px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    color: #FFFFFF;
}

.modal-content h3 {
    font-weight: 700;
    font-size: 35px;
    line-height: 50px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.modal-content .spoiler-item {
    margin-bottom: 0;
}

.modal-content .spoiler-item h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.modal-content .spoiler-item p {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.01em; 
    margin-bottom: 20px;
    color: var(--text-gray);
}

.modal-content hr {
    width: 316px;
    border: 1px solid #FFFFFF;
    margin: 20px 0;
}

.modal-content .spoiler-description {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 32px;
}

/* Стили для модальных окон в десктопной версии */
@media (min-width: 1024px) {
    .modal .spoiler-content {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Скрываем модальное окно на мобильных устройствах */
@media (max-width: 1023px) {
    .modal {
        display: none !important;
    }
}

/* Desktop menu styles */
.desktop-menu {
    display: none;
}

/* Desktop styles */
@media (min-width: 1024px) {
    .desktop-menu {
        display: block;
    }

    .desktop-menu ul {
        display: flex;
        gap: 40px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .desktop-menu a {
        color: #FFFFFF;
        text-decoration: none;
        font-size: 16px;
        line-height: 24px;
        transition: color 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 700;
    }

    .desktop-menu a:hover {
        color: var(--primary-blue);
    }

    .desktop-menu a.active,
    .side-menu-nav a.active {
        color: var(--primary-blue);
    }

    .side-menu {
        display: none;
    }

    .logo {
        position: static;
        transform: none;
    }

    .burger-menu {
        display: none;
    }

    .global-slider .header {
        background: transparent;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .global-slider .header::before,
    .global-slider .header::after {
        display: none;
    }

    .global-slider .header * {
        background: transparent;
    }
}

/* Mobile styles */
@media (max-width: 1023px) {
    .header {
        background-color: var(--dark-bg);
    }
}

/* Мобильная версия (до 375px) */

/* Планшетная версия (376px - 1024px) */
@media (min-width: 376px) and (max-width: 1023px) {
    .page-wrapper {
        width: 100%;
        max-width: 1024px;
        margin: 0 auto;
    }

    .header {
        width: 100%;
        padding: 0 30px;
        transform: none;
        left: 0;
    }

    /* Убираем стили hero секции для мобильной версии */

    .product-card {
        width: 100%;
        height: auto;
        min-height: 600px;
        padding: 40px 30px 40px; /* Возвращаем нормальный нижний отступ */
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        margin-bottom: 60px;
    }

    /* Фоновые изображения для продуктов в мобильной версии */
    .product-card--bmu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(/local/templates/arcona/images/bg.jpg);
        background-size: cover;
        background-position: center;
        z-index: -1;
        opacity: 0.35;
    }

    .product-card--rou::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(/local/templates/arcona/images/bg_rou.jpg);
        background-size: cover;
        background-position: center;
        z-index: -1;
        opacity: 0.1;
    }

    .product-card--svk::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(/local/templates/arcona/images/bg_svk.jpg);
        background-size: cover;
        background-position: center;
        z-index: -1;
        opacity: 0.1;
    }

    .product-card--bok::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(/local/templates/arcona/images/bg_bok.jpg);
        background-size: cover;
        background-position: center;
        z-index: -1;
        opacity: 0.1;
    }

    .product-card--armatura::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(/local/templates/arcona/images/bg_armatura.jpg);
        background-size: cover;
        background-position: center;
        z-index: -1;
        opacity: 0.1;
    }

    .product-card:last-child {
        margin-bottom: 0;
    }

    .product-card--left,
    .product-card--right {
        flex-direction: column;
    }

    .product-content {
        width: 100%;
        max-width: 520px;
        margin: 0 auto 20px; /* Уменьшаем отступ снизу с 40px до 20px */
        text-align: center;
        position: relative;
        z-index: 2;
        padding: 20px 32px 0; /* Уменьшаем верхний padding до 20px */
    }

    .product-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    .product-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .partners {
        padding: 60px 30px;
    }

    .partner-logos {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }

    .contacts {
        padding: 60px 30px;
    }

    .contact-form {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Стили для синих линий */
    .blue-line {
        display: none;
    }

    /* Стили для кнопок-ромбов */
    .nav-arrow {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 100px;
        cursor: pointer;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        touch-action: manipulation;
    }

    .nav-arrow-box {
        position: absolute;
        width: 49.14px;
        height: 49.14px;
        left: calc(50% - 49.14px/2);
        top: calc(50% - 49.14px/2);
        background: var(--primary-blue);
        transform: rotate(45deg);
        transition: all 0.3s ease;
    }

    .nav-arrow:hover .nav-arrow-box {
        background: #0066FF;
    }

    .nav-arrow-symbol {
        position: absolute;
        width: 16px;
        height: 26.4px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-style: normal;
        font-weight: 400;
        font-size: 32px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        letter-spacing: 0.01em;
        color: #FFFFFF;
        z-index: 3;
        transition: transform 0.3s ease;
    }

    .nav-arrow.active .nav-arrow-symbol {
        transform: translate(-50%, -50%) rotate(180deg) translateY(2px) translateX(0);
    }

    .nav-arrow.active .nav-arrow-box {
        background: transparent;
        border: 2px solid #FFFFFF;
    }

    /* Стили для спойлеров */
    .product-details {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        padding: 40px 30px;
        background: var(--dark-bg);
        position: relative;
        z-index: 1;
    }

    .spoiler-content {
        display: block;
        transition: all 0.3s ease;
    }

    .spoiler-item {
        margin-bottom: 40px;
    }

    .spoiler-item h3 {
        font-weight: 700;
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0.01em;
        color: #FFFFFF;
        margin-bottom: 16px;
    }

    .spoiler-item p {
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0.01em;
        color: var(--text-gray);
    }

    .spoiler hr {
        width: 100%;
        max-width: 316px;
        border: 1px solid #FFFFFF;
        margin: 20px 0;
    }

    .spoiler-description {
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0.01em;
        color: #FFFFFF;
        margin-bottom: 20px;
    }

    .hide-btn {
        font-weight: 500;
        font-size: 20px;
        line-height: 24px;
        text-align: center;
        letter-spacing: 0.01em;
        color: #FFFFFF;
        background: none;
        border: none;
        cursor: pointer;
        display: block;
        margin: 20px auto 0;
    }
}

/* Анимация заливки кнопки */
.details-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.details-btn span,
.submit-btn span {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.details-btn.animate span,
.submit-btn.animate span {
    opacity: 1;
    transform: translateY(0);
}

.details-btn::after,
.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background: var(--primary-blue);
    transform: rotate(-45deg) translateY(-3em);
    transform-origin: 0% 100%;
    transition: transform 0.5s ease;
    z-index: 0;
}

.details-btn.animate::after,
.submit-btn.animate::after {
    transform: rotate(0deg);
}

/* Анимация при наведении - заново запускаем заливку */
.details-btn:hover::after,
.submit-btn:hover::after {
    transform: rotate(-45deg) translateY(-3em);
    transition: transform 0.5s ease;
}

/* При наведении на кнопку с классом animate заново запускаем анимацию */
.details-btn.animate:hover::after,
.submit-btn.animate:hover::after {
    animation: buttonHoverAnimation 0.6s ease;
}

@keyframes buttonHoverAnimation {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }
    5% {
        transform: rotate(-45deg) translateY(-3em);
        opacity: 0;
    }
    100% {
        transform: rotate(0deg);
        opacity: 1;
    }
}

/* Анимация для логотипов партнеров */
.partner-logos img {
    opacity: 0;
    transform: translateY(20px);
}

/* Анимация для десктопной версии */
@media (min-width: 1024px) {
    .global-slider .partners.active .partner-logos img {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .global-slider .partners.active .partner-logos img:nth-child(1) {
        transition-delay: 0.2s;
    }

    .global-slider .partners.active .partner-logos img:nth-child(2) {
        transition-delay: 0.4s;
    }

    .global-slider .partners.active .partner-logos img:nth-child(3) {
        transition-delay: 0.6s;
    }
}

/* Анимация для мобильной версии */
@media (max-width: 1023px) {
    .partner-logos img.visible {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .partner-logos img:nth-child(1).visible {
        transition-delay: 0.2s;
    }

    .partner-logos img:nth-child(2).visible {
        transition-delay: 0.4s;
    }

    .partner-logos img:nth-child(3).visible {
        transition-delay: 0.6s;
    }
}

/* Убираем стили hero product-image */

/* Убираем стили hero product-image для десктопной версии */

/* 3D эффект для product-card секции */
.product-card .product-image {
    perspective: 3000px;
    transform-style: preserve-3d;
}

.product-card .product-image img {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    will-change: transform;
}

@media (min-width: 1024px) {
    .product-card .product-image {
        --max-rotate: 5deg;
    }
    
    .product-card .product-image:hover img {
        transform: rotateX(calc(var(--rotateX) * var(--max-rotate))) 
                   rotateY(calc(var(--rotateY) * var(--max-rotate)));
    }
}

/* Глобальный слайдер для десктопной версии */
@media (min-width: 1024px) {
    .global-slider {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        background: transparent;
    }

    .global-slider .page-wrapper {
        height: 100vh;
        overflow: hidden;
        background: transparent;
    }

    /* Убираем стили global-slider .hero */

    .global-slider .product-card,
    .global-slider .partners,
    .global-slider .contacts {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        opacity: 0;
        transition: opacity 0.5s ease;
        pointer-events: none;
        background: rgba(0, 0, 0, 0.95);
    }

    .global-slider .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        z-index: -1;
        transition: opacity 0.5s ease;
    }

    .global-slider .product-card.active,
    .global-slider .partners.active,
    .global-slider .contacts.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* ВРЕМЕННО ЗАКОММЕНТИРОВАНО - навигация слайдера */
    /* Навигация слайдера */
    /*.slider-nav {
        position: fixed;
        right: 40px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .slider-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .slider-dot.active {
        background: #FFFFFF;
        transform: scale(1.2);
    }
    */

    /* Анимация появления элементов в активном слайде */
    .global-slider .active .product-card h2,
    .global-slider .active .partners h2,
    .global-slider .active .partners p,
    .global-slider .active .contacts h2,
    .global-slider .active .contact-info p {
        animation: titleAnimation 2s ease-in-out forwards;
    }

    /* Задержки для последовательного появления в активном слайде */
    .global-slider .active .product-card h2 {
        animation-delay: 0.2s;
    }

    .global-slider .active .product-card h2 {
        animation-delay: 0.2s;
    }

    .global-slider .active .product-card .details-btn.animate {
        animation-delay: 0s; /* Задержка теперь управляется JavaScript */
    }

    .global-slider .active .partners h2 {
        animation-delay: 0.2s;
    }

    .global-slider .active .partners p {
        animation-delay: 0.4s;
    }

    .global-slider .active .contacts h2 {
        animation-delay: 0.2s;
    }

    .global-slider .active .contact-info p {
        animation-delay: 0.4s;
    }
}

/* Стили для копирайта */
.contacts .copyright {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    opacity: 0;
    transform: translateX(-50%) translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding-bottom: 20px;
}

/* Стили для мобильной версии */
@media (max-width: 1023px) {
    .contacts .copyright {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 40px;
        padding-bottom: 0;
    }

    .contacts .copyright.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для десктопной версии */
@media (min-width: 1024px) {
    .global-slider .contacts.active .copyright {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Анимация появления текста */
@keyframes titleAnimation {
    0% {
        transform: translateY(-50px);
        opacity: 0;
        -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
        clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
    }
    20% {
        transform: translateY(0);
        opacity: 1;
        -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0%);
        clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0%);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0%);
        clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0%);
    }
}

/* Начальное состояние текстовых элементов */
.product-card h2,
.partners h2,
.partners p,
.contacts h2,
.contact-info p,
.footer p {
    opacity: 0;
    transform: translateY(-50px);
}

/* Анимация при добавлении класса visible */
.product-card h2.visible,
.partners h2.visible,
.partners p.visible,
.contacts h2.visible,
.contact-info p.visible,
.footer p.visible {
    animation: titleAnimation 2s ease-in-out forwards;
}

/* Задержки для последовательного появления */
.product-card h2.visible {
    animation-delay: 0.2s;
}

.product-card h2.visible {
    animation-delay: 0.6s;
}

.product-card .details-btn.animate {
    animation-delay: 1.2s;
}

/* Переопределяем задержку для десктопной версии */
@media (min-width: 1024px) {
    .global-slider .product-card .details-btn.animate {
        animation-delay: 0.8s;
    }
}

.partners h2.visible {
    animation-delay: 0.6s;
}

.partners p.visible {
    animation-delay: 0.4s;
}

.contacts h2.visible {
    animation-delay: 0.6s;
}

.contact-info p.visible {
    animation-delay: 0.4s;
}

.footer p.visible {
    animation-delay: 0.4s;
}

/* Исключаем спойлеры и поп-апы */
.spoiler-content *,
.modal-content * {
    animation: none !important;
    opacity: 1 !important;
}

/* Анимация для product1.svg */
#product1-svg-placeholder,
#product1-png-image {
    /*position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;*/
    object-fit: contain;
}

#product1-png-image {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Принудительно показываем PNG первого продукта на десктопе */
@media (min-width: 1024px) {
    #product1-png-image {
        opacity: 1;
    }
}

#product1-svg-placeholder svg {
    display: block;
   /* width: 100%;
    height: 100%;*/
    shape-rendering: geometricPrecision;
    transition: opacity 0.5s ease;
}

/* Показываем SVG placeholder первого продукта на мобилке */
@media (max-width: 1023px) {
    #product1-svg-placeholder {
        opacity: 1;
    }
}

/* Скрываем SVG placeholder первого продукта на десктопе */
@media (min-width: 1024px) {
    #product1-svg-placeholder {
        opacity: 0;
    }
}

/* Анимация для product2.svg */
#product2-svg-placeholder,
#product2-png-image {
    object-fit: contain;
}

#product2-png-image {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

#product2-svg-placeholder svg {
    display: block;
    shape-rendering: geometricPrecision;
    transition: opacity 0.5s ease;
}

/* Анимация для product3.svg */
#product3-svg-placeholder,
#product3-png-image {
    object-fit: contain;
}

#product3-png-image {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

#product3-svg-placeholder svg {
    display: block;
    shape-rendering: geometricPrecision;
    transition: opacity 0.5s ease;
}

/* Анимация для product4.svg */
#product4-svg-placeholder,
#product4-png-image {
    object-fit: contain;
}

#product4-png-image {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

#product4-svg-placeholder svg {
    display: block;
    shape-rendering: geometricPrecision;
    transition: opacity 0.5s ease;
}

/* Анимация для product5.svg */
#product5-svg-placeholder,
#product5-png-image {
    object-fit: contain;
}

#product5-png-image {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

#product5-svg-placeholder svg {
    display: block;
    shape-rendering: geometricPrecision;
    transition: opacity 0.5s ease;
}

/* Анимация для кнопок */
.details-btn,
.submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.details-btn span,
.submit-btn span {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.details-btn.animate span,
.submit-btn.animate span {
    opacity: 1;
    transform: translateY(0);
}

.details-btn::after,
.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background: var(--primary-blue);
    transform: rotate(-45deg) translateY(-3em);
    transform-origin: 0% 100%;
    transition: transform 0.5s ease;
    z-index: 0;
}

.details-btn.animate::after,
.submit-btn.animate::after {
    transform: rotate(0deg);
}

/* Задержки для последовательного появления */
@media (max-width: 1023px) {



    .product-card h2.visible {
        animation-delay: 0.2s;
    }

    .product-card .details-btn.animate {
        animation-delay: 1.2s;
    }

    .partners h2.visible {
        animation-delay: 0.6s;
    }

    .partners p.visible {
        animation-delay: 0.4s;
    }

    .contacts h2.visible {
        animation-delay: 0.6s;
    }

    .contact-info p.visible {
        animation-delay: 0.4s;
    }

    .footer p.visible {
        animation-delay: 0.4s;
    }
}

/* Для десктопной версии убираем задержки */
@media (min-width: 1024px) {
    .global-slider .active .partners h2.visible,
    .global-slider .active .partners p.visible,
    .global-slider .active .contacts h2.visible,
    .global-slider .active .contact-info p.visible,
    .global-slider .active .footer p.visible {
        animation-delay: 0s;
    }

    /* Заголовки продуктов появляются раньше кнопок */
    .global-slider .active .product-card h2.visible {
        animation-delay: 0.2s;
    }

    .global-slider .active .product-card .details-btn.animate {
        animation-delay: 0s; /* Задержка теперь управляется JavaScript */
    }
    
    .global-slider .active .submit-btn.animate {
        animation-delay: 0s;
    }
} 

/* Синяя трапеция на фоне hero (обновлено) */
.hero-trapezoid {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1311px;
    height: 1080px;
    transform: translate(-50%, -50%);
    background: linear-gradient(0deg, rgba(71, 109, 172, 0.08), rgba(71, 109, 172, 0.08)), #476DAC;
    background-blend-mode: normal, color-dodge;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    /* Начинаем с прямоугольника, сжатого по высоте */
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: translate(-50%, -50%) scaleY(0);
    transform-origin: top center;
}

.hero-trapezoid.animate {
    animation: rectangleToTrapezoid 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes rectangleToTrapezoid {
    0% {
        /* Начинаем с невидимого прямоугольника */
        transform: translate(-50%, -50%) scaleY(0);
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    50% {
        /* Прямоугольник полностью появился */
        transform: translate(-50%, -50%) scaleY(1);
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    100% {
        /* Сразу трансформируется в трапецию */
        transform: translate(-50%, -50%) scaleY(1);
        clip-path: polygon(45.4% 0%, 54.6% 0%, 100% 100%, 0% 100%);
    }
}

@media (max-width: 1023px) {
  .hero-trapezoid {
    /* ПОЛНОЕ ПЕРЕОПРЕДЕЛЕНИЕ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ */
    width: 90vw;
    height: 77vw;
    min-height: 480px;
    max-width: 98vw;
    left: 50%;
    top: 0;
    opacity: 0.35;
    position: absolute;
    background: linear-gradient(0deg, rgba(71, 109, 172, 0.08), rgba(71, 109, 172, 0.08)), #476DAC;
    background-blend-mode: normal, color-dodge;
    z-index: 0;
    pointer-events: none;
    /* ТРЕУГОЛЬНИК с вершиной ВНИЗУ - анимация сверху вниз */
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .hero-trapezoid.animate {
    /* ОТКЛЮЧАЕМ ДЕСКТОПНУЮ АНИМАЦИЮ */
    animation: none !important;
    transform: translateX(-50%) scaleY(1);
  }
} 

/* Универсальные стили для всех product-diagonal-blue-line */
.product-diagonal-blue-line {
    position: absolute;
    width: 1118px;
    height: 1080px;
    left: 0;
    top: calc(50% - 1080px/2);
    background: linear-gradient(0deg, rgba(71, 109, 172, 0.1), rgba(71, 109, 172, 0.1)), #476DAC;
    background-blend-mode: normal, color-dodge;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    /* Анимация отрисовки через clip-path */
    clip-path: polygon(0% 0%, 46.7% 0%, 46.7% 0%, 0% 0%);
    transition: clip-path 1.2s ease-out;
}

.product-diagonal-blue-line.animate {
    clip-path: polygon(0% 0%, 46.7% 0%, 100% 100%, 53.3% 100%);
}

.product-diagonal-blue-line.mirrored {
    left: auto;
    right: 0;
    transform: scaleX(-1);
}

@media (max-width: 1023px) {
  .product-diagonal-blue-line {
    width: 100vw;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.3;
    /* Анимация отрисовки для мобильной версии */
    clip-path: polygon(0% 0%, 46.7% 0%, 46.7% 0%, 0% 0%);
    transition: clip-path 1.2s ease-out;
  }
  
  .product-diagonal-blue-line.animate {
    clip-path: polygon(0% 0%, 46.7% 0%, 100% 100%, 53.3% 100%);
  }
  
  .product-diagonal-blue-line.mirrored {
    left: auto;
    right: 0;
    transform: scaleX(-1);
    width: 100vw;
    height: 100%;
    top: 0;
    opacity: 0.15;
    /* Анимация отрисовки для мобильной версии */
    clip-path: polygon(0% 0%, 46.7% 0%, 46.7% 0%, 0% 0%);
    transition: clip-path 1.2s ease-out;
  }
  
  .product-diagonal-blue-line.mirrored.animate {
    clip-path: polygon(0% 0%, 46.7% 0%, 100% 100%, 53.3% 100%);
  }
} 

/* Синяя V-образная линия для блока Контакты (точно по SVG, центрирована) */
.contacts-v-blue-line {
    position: absolute;
    width: 1920px;
    height: 1080px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: linear-gradient(0deg, rgba(71, 109, 172, 0.1), rgba(71, 109, 172, 0.1)), #476DAC;
    background-blend-mode: normal, color-dodge;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    /* Статичная V-форма */
    clip-path: polygon(
        31% 0%, 41.8% 0%, 58.2% 0%, 68.9% 0%,
        100% 100%, 72.8% 100%, 50% 26.5%, 27.2% 100%, 0% 100%, 31% 0%
    );
}

@media (max-width: 1023px) {
  .contacts-v-blue-line {
    display: none;
  }
} 

/* Фоновое изображение для секций Партнеры и Контакты */
.partners::before,
.contacts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/local/templates/arcona/images/bg.jpg);
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.partners,
.contacts {
    position: relative;
    z-index: 1;
} 

@media (max-width: 1023px) {
  .products {
    margin: 0;
    padding: 0;
  }
  .product-card {
    margin-bottom: 0;
    border-radius: 0;
    padding-bottom: 0;
  }
} 

 

/* Сертификаты: стили для превью (выравнивание как у partner-logos) */
.certificates-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*gap: 40px;*/
    margin-top: 40px;
    min-width: 304px;
    max-width: 100%;
}
.certificates-img {
    width: 304px;
    height: 214px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    /*background: #fff;*/
    transition: box-shadow 0.2s;
    display: block;
}
.certificates-img:hover {
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
}
@media (min-width: 768px) {
  .certificates-logos {
    flex-direction: row;
    /*gap: 60px;*/
    justify-content: center;
  }
} 
@media (max-width: 767px) {
    .certificates-logos {
      gap: 40px;
    }
} 

/* Анимация появления для фото сертификатов */
.certificates-img {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.certificates-img.visible {
    opacity: 1;
    transform: translateY(0);
} 

@media (min-width: 1024px) {
  .product-image img {
    pointer-events: none;
  }
} 

/* Loading screen styles */
.loading-screen {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
}
.loading-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/local/templates/arcona/images/bg.jpg') center center/cover no-repeat;
    z-index: 0;
}
.loading-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}
.loading-content {
    position: relative;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loading-logo-a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    max-width: 80vw;
    height: auto;
    margin: 0;
    opacity: 0.08;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    z-index: 1;
    display: block;
}
.loading-logo-arcona {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-width: 70vw;
    height: auto;
    z-index: 2;
    filter: none;
}
.loading-logo-arcona-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-width: 70vw;
    height: auto;
    z-index: 2;
}

.loading-logo-arcona-svg {
    width: 100%;
    height: auto;
    display: block;
    /* Включаем pointer-events для hover-анимации на десктопе */
    pointer-events: auto;
    /* Отключаем стандартные hover-эффекты браузера */
    filter: none;
    -webkit-filter: none;
}

/* Второй SVG для десктопной версии */
.loading-company-svg-container {
    position: absolute;
    top: 50%; /* Позиционируем ниже первого SVG */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    max-width: 80vw;
    height: auto;
    z-index: 2;
    /* Скрываем на мобильных устройствах */
    display: none;
    /* Скрываем по умолчанию на десктопе */
    opacity: 0;
    visibility: hidden;
    /* Убираем transition для предотвращения анимации появления */
}

.loading-company-svg {
    width: 100%;
    height: auto;
    display: block;
    /* Улучшаем отображение SVG */
    filter: brightness(1) contrast(1.2);
    /* На десктопе включаем pointer-events для hover-анимации */
    pointer-events: none;
}
.arcona-stroke {
    stroke-dasharray: 3500;
    /* НЕ устанавливаем stroke-dashoffset здесь, чтобы JavaScript мог управлять анимацией */
    animation: none;
    /* Отключаем стандартные hover-эффекты */
    filter: none;
    -webkit-filter: none;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.77,0,0.18,1);
}

.company-stroke {
    stroke-dasharray: 3500;
    /* НЕ устанавливаем stroke-dashoffset здесь, чтобы JavaScript мог управлять анимацией */
    animation: none;
    /* Отключаем стандартные hover-эффекты */
    filter: none;
    -webkit-filter: none;
    /* Включаем transition для stroke-dashoffset для плавной анимации */
    transition: stroke-dashoffset 0.6s cubic-bezier(0.77,0,0.18,1);
}

/* Отключаем CSS анимацию для второго SVG на мобильных */
@media (max-width: 1023px) {
    .company-stroke {
        animation: none !important;
    }
    
    .loading-company-svg-container {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Показываем первый логотип на мобильных с правильным позиционированием */
    .loading-logo-arcona-container {
        display: block !important;
        top: 40%;
        width: 300px;
        max-width: 90vw;
    }
}

/* Стили для десктопной версии */
@media (min-width: 1024px) {
    .loading-company-svg-container {
        display: block;
        opacity: 0;
        visibility: hidden;
        /* Убираем transition для предотвращения анимации появления */
    }
    
    /* Убеждаемся, что второй SVG скрыт по умолчанию */
    .loading-company-svg-container.hidden {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .loading-company-svg-container.visible {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate(-50%, -50%) !important;
    }
    
    /* Добавляем плавные переходы для stroke-dashoffset */
    .company-stroke {
        transition: stroke-dashoffset 0.6s cubic-bezier(0.77,0,0.18,1);
    }
    
    /* Убираем pointer-events: none для второго SVG на десктопе */
    .loading-company-svg {
        pointer-events: auto;
    }
}

@media (max-width: 768px) {
    .loading-logo-arcona-container {
        width: 350px;
        max-width: 92vw;
    }
}

@media (max-width: 600px) {
    .loading-logo-arcona-container {
        top: 35%;
        width: 280px;
        max-width: 95vw;
    }
}

@media (max-width: 480px) {
    .loading-logo-arcona-container {
        width: 250px;
        max-width: 98vw;
    }
}

.loading-screen.active .arcona-stroke-left {
    /* CSS анимация для мобильной версии */
    animation: arcona-draw-left 1.6s cubic-bezier(0.77,0,0.18,1) forwards;
}
.loading-screen.active .arcona-stroke-right {
    /* CSS анимация для мобильной версии */
    animation: arcona-draw-right 1.6s cubic-bezier(0.77,0,0.18,1) forwards;
    animation-delay: 0.1s;
}
@keyframes arcona-draw-left {
    from { stroke-dashoffset: 3500; }
    to   { stroke-dashoffset: 0; }
}
@keyframes arcona-draw-right {
    from { stroke-dashoffset: 3500; }
    to   { stroke-dashoffset: 0; }
}

/* Hover-анимация для десктопной версии - рисование в обратную сторону */
@keyframes arcona-draw-left-reverse {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: 3500; }
}
@keyframes arcona-draw-right-reverse {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: 3500; }
}

/* CSS анимации для company-stroke на мобильных устройствах */
.loading-screen.active .company-stroke-left {
    /* CSS анимация для мобильной версии */
    animation: company-draw-left 1.6s cubic-bezier(0.77,0,0.18,1) forwards;
}
.loading-screen.active .company-stroke-right {
    /* CSS анимация для мобильной версии */
    animation: company-draw-right 1.6s cubic-bezier(0.77,0,0.18,1) forwards;
    animation-delay: 0.1s;
}

@keyframes company-draw-left {
    from { stroke-dashoffset: 3500; }
    to   { stroke-dashoffset: 0; }
}
@keyframes company-draw-right {
    from { stroke-dashoffset: 3500; }
    to   { stroke-dashoffset: 0; }
}

/* Hover-эффект для десктопной версии - теперь управляется JavaScript */
@media (min-width: 1024px) {
    /* Отключаем CSS анимации только для "О компании" на десктопе */
    .loading-screen.active .company-stroke-left,
    .loading-screen.active .company-stroke-right {
        animation: none !important;
    }
    
    /* НЕ отключаем CSS анимации для "Аркона" на десктопе - он должен появляться с CSS анимацией */
    
            /* Принудительно отключаем CSS анимации для "О компании" на десктопе */
        .loading-screen.active .company-stroke-left,
        .loading-screen.active .company-stroke-right {
            animation: none !important;
            stroke-dasharray: 3500 !important;
            /* НЕ устанавливаем stroke-dashoffset здесь, чтобы JavaScript мог управлять анимацией */
        }
    
    /* Убираем все стандартные hover-эффекты браузера */
    .loading-screen.active .loading-logo-arcona-svg:hover .arcona-stroke,
    .loading-screen.active .loading-company-svg:hover .company-stroke {
        filter: none !important;
        opacity: 1 !important;
        color: white !important;
        fill: none !important;
        stroke: white !important;
    }
    
    /* Убираем серый цвет при hover - отключаем все стандартные hover-эффекты */
    .loading-screen.active .loading-logo-arcona-svg:hover .arcona-stroke {
        filter: none !important;
        opacity: 1 !important;
        color: white !important;
        fill: none !important;
    }
    
    .loading-screen.active .loading-company-svg:hover .company-stroke {
        filter: none !important;
        opacity: 1 !important;
        color: white !important;
        fill: none !important;
    }
    
    /* Отключаем стандартные hover-эффекты браузера */
    .loading-screen.active .loading-logo-arcona-svg:hover {
        filter: none !important;
        opacity: 1 !important;
    }
    
    .loading-screen.active .loading-company-svg:hover,
    .loading-screen.active .loading-company-svg:focus,
    .loading-screen.active .loading-company-svg:active {
        filter: none !important;
        opacity: 1 !important;
        -webkit-filter: none !important;
        -webkit-opacity: 1 !important;
        -moz-filter: none !important;
        -moz-opacity: 1 !important;
    }
    
    /* Принудительно устанавливаем белый цвет для stroke */
    .loading-screen.active .arcona-stroke {
        stroke: white !important;
    }
    
    .loading-screen.active .company-stroke {
        stroke: white !important;
        color: white !important;
        fill: none !important;
        opacity: 1 !important;
        filter: none !important;
        -webkit-filter: none !important;
        -webkit-stroke: white !important;
        -webkit-color: white !important;
        -webkit-fill: none !important;
        -webkit-opacity: 1 !important;
        /* Принудительно отключаем CSS анимации для JavaScript управления */
        animation: none !important;
        stroke-dasharray: 3500 !important;
        /* НЕ устанавливаем stroke-dashoffset здесь */
    }
    
    /* Отключаем все стандартные hover-эффекты браузера */
    .loading-screen.active .loading-logo-arcona-svg * {
        pointer-events: none;
    }
    
    .loading-screen.active .loading-logo-arcona-svg {
        pointer-events: auto;
    }
    
    .loading-screen.active .loading-company-svg * {
        pointer-events: none;
        filter: none !important;
        opacity: 1 !important;
        color: white !important;
        fill: none !important;
        stroke: white !important;
        -webkit-filter: none !important;
        -webkit-opacity: 1 !important;
        -webkit-color: white !important;
        -webkit-fill: none !important;
        -webkit-stroke: white !important;
        -moz-filter: none !important;
        -moz-opacity: 1 !important;
        -moz-color: white !important;
        -moz-fill: none !important;
        -moz-stroke: white !important;
    }
    
    .loading-screen.active .loading-company-svg {
        pointer-events: auto;
        filter: none !important;
        opacity: 1 !important;
        -webkit-filter: none !important;
        -webkit-opacity: 1 !important;
        -moz-filter: none !important;
        -moz-opacity: 1 !important;
    }
    
    /* Убираем все возможные hover-эффекты */
    .loading-screen.active .loading-logo-arcona-svg:hover * {
        filter: none !important;
        opacity: 1 !important;
        color: white !important;
        fill: none !important;
        stroke: white !important;
    }
    
    .loading-screen.active .loading-company-svg:hover *,
    .loading-screen.active .loading-company-svg:focus *,
    .loading-screen.active .loading-company-svg:active * {
        filter: none !important;
        opacity: 1 !important;
        color: white !important;
        fill: none !important;
        stroke: white !important;
        -webkit-filter: none !important;
        -webkit-opacity: 1 !important;
        -webkit-color: white !important;
        -webkit-fill: none !important;
        -webkit-stroke: white !important;
        -moz-filter: none !important;
        -moz-opacity: 1 !important;
        -moz-color: white !important;
        -moz-fill: none !important;
        -moz-stroke: white !important;
    }
    
    /* Показываем контейнер второго SVG на десктопе */
    .loading-company-svg-container {
        display: block !important;
    }
    
    /* Показываем контейнер первого SVG на десктопе */
    .loading-logo-arcona-container {
        display: block !important;
    }
}

/* Стили для текста и кнопки на первом экране */
.loading-text-content {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loading-text-content.visible {
    opacity: 1;
}

.loading-description {
    color: white;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.loading-details-btn {
    width: 207px;
    height: 69px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 17px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.02em;
    cursor: pointer;
    clip-path: polygon(23px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 41px);
    margin: 40px auto 0;
    display: block;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.loading-details-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background: var(--primary-blue);
    transform: rotate(-45deg) translateY(-3em);
    transform-origin: 0% 100%;
    transition: transform 0.5s ease;
    z-index: 0;
}

.loading-details-btn.animate::after {
    transform: rotate(0deg);
}

/* Сохраняем состояние после анимации наведения */
.loading-details-btn.animate:hover::after {
    animation: buttonHoverAnimation 0.6s ease forwards;
}

/* После завершения анимации возвращаемся к состоянию с заливкой */
.loading-details-btn.animate:not(:hover)::after {
    transform: rotate(0deg);
}

.loading-details-btn:hover {
    color: #FFFFFF;
}

/* Анимация при наведении - заново запускаем заливку */
.loading-details-btn:hover::after {
    transform: rotate(-45deg) translateY(-3em);
    transition: transform 0.5s ease;
}



.loading-details-btn span {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.loading-details-btn.animate span {
    opacity: 1;
    transform: translateY(0);
}

/* Стили для мобильной версии с ромб-спойлером */
@media (max-width: 1023px) {
    .loading-text-content {
        position: absolute;
        top: 45%; /* Позиционируем ближе к логотипу */
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        padding: 0 20px;
        text-align: center;
    }
    
    .loading-description {
        margin-bottom: 20px;
    }
    
    .loading-details-btn {
        display: none; /* Скрываем кнопку на мобильных */
    }
    
    /* Стили для ромб-спойлера на первом экране */
    .loading-nav-arrow {
        width: 60px;
        height: 60px;
        margin: 0 auto;
        position: absolute;
        bottom: 18%; /* Позиционируем ближе к концу фона */
        left: 50%;
        transform: translateX(-50%);
        cursor: pointer;
        display: flex; /* Показываем на мобильных */
        align-items: center;
        justify-content: center;
    }
    
    .loading-nav-arrow-box {
        width: 100%;
        height: 100%;
        border: 2px solid white;
        transform: rotate(45deg);
        transition: all 0.3s ease;
        position: absolute;
        background: transparent; /* Явно устанавливаем прозрачный фон по умолчанию */
    }
    
    .loading-nav-arrow:hover .loading-nav-arrow-box {
        background: white;
    }
    
    .loading-nav-arrow-symbol {
        color: white;
        font-size: 24px;
        font-weight: bold;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
    }
    
    .loading-nav-arrow.active .loading-nav-arrow-symbol {
        transform: rotate(180deg);
        color: var(--primary-blue); /* Меняем цвет стрелки на синий при активном состоянии */
    }
    
    .loading-nav-arrow.active .loading-nav-arrow-box {
        background: white;
    }
    
    /* Обеспечиваем правильный сброс состояния */
    .loading-nav-arrow:not(.active) .loading-nav-arrow-symbol {
        transform: rotate(0deg);
        color: white;
    }
    
    .loading-nav-arrow:not(.active) .loading-nav-arrow-box {
        background: transparent;
    }
    
    /* Стили для спойлера первого экрана */
    .loading-product-details {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        padding: 40px 30px;
        background: var(--dark-bg);
        position: relative;
        z-index: 1;
        display: none;
    }
    
    .loading-product-details.active {
        display: block;
    }
    
    .loading-product-details .spoiler-content {
        display: block;
        transition: all 0.3s ease;
    }
    
    .loading-product-details .spoiler-item {
        margin-bottom: 40px;
    }
    
    .loading-product-details .spoiler-item h3 {
        font-weight: 700;
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0.01em;
        color: #FFFFFF;
        margin-bottom: 16px;
    }
    
    .loading-product-details .spoiler-item p {
        font-size: 18px;
        line-height: 28px;
        letter-spacing: 0.01em;
        margin-bottom: 20px;
        color: var(--text-gray);
    }
    
    .loading-product-details .hide-btn {
        font-weight: 500;
        font-size: 20px;
        line-height: 24px;
        text-align: center;
        letter-spacing: 0.01em;
        color: #FFFFFF;
        background: none;
        border: none;
        cursor: pointer;
        display: block;
        margin: 20px auto 0;
    }
}
@media (max-width: 1023px) {
    .loading-logo-a {
        width: 350px;
        top: 40%;
    }
    .loading-logo-arcona {
        width: 260px;
    }
    .loading-logo-arcona-svg {
        top: 40%;
    }
    
    /* Скрываем второй SVG на мобильных */
    .loading-company-svg {
        display: none !important;
    }
}
@media (max-width: 600px) {
    .loading-content {
        width: 100vw;
        height: 100vh;
        padding: 0 10px;
    }
    .loading-logo-a {
        width: 250px;
        top: 35%;
    }
    .loading-logo-arcona {
        width: 160px;
    }
    .loading-logo-arcona-svg {
        top: 35%;
    }
    
    /* Скрываем второй SVG на маленьких экранах */
    .loading-company-svg {
        display: none !important;
    }
    
    .loading-text-content {
        bottom: 15%;
        width: 90%;
    }
    
    .loading-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .loading-details-btn {
        padding: 12px 30px;
        font-size: 12px;
    }
} 

@media (min-width: 1024px) {
    .global-slider .loading-screen {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        opacity: 0;
        transition: opacity 0.5s ease;
        pointer-events: none;
        background: transparent;
    }
    .global-slider .loading-screen.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    /* Скрываем ромб-спойлер на десктопе */
    .loading-nav-arrow {
        display: none !important;
    }
    
    /* Показываем второй SVG на десктопе в глобальном слайдере */
    .global-slider .loading-company-svg {
        display: block !important;
    }
} 

/* Product Navigation */
.product-nav {
    position: fixed;
    bottom: 40px;
    left: 0; /* Занимаем всю ширину */
    width: 100%; /* Полная ширина */
    transform: none; /* Убираем трансформацию */
    z-index: 1001;
    display: flex;
    justify-content: center; /* Центрируем содержимое */
    align-items: flex-end;
    gap: 60px;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0s ease;
    padding: 0 50px; /* Отступы слева и справа */
    box-sizing: border-box; /* Чтобы padding не увеличивал ширину */
    visibility: hidden;
}

.product-nav.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s ease;
}

.product-nav-counter {
    font-weight: 400;
    font-size: 120px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}

.product-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: flex-end;
    gap: 33px;
}

.product-nav-menu li {
    padding-bottom: 8px; /* Выравнивание по нижнему краю */
}

.product-nav-menu a {
    font-weight: 500;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #717171;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.product-nav-menu a::before {
    content: '';
    display: block;
    width: 8.5px;
    height: 8.5px;
    background: #717171;
    transform: rotate(45deg);
    transition: background-color 0.3s ease;
}

.product-nav-menu a.active {
    color: #FFFFFF;
}

.product-nav-menu a.active::before {
    background: #FFFFFF;
}

@media (max-width: 1200px) {
    .product-nav {
        gap: 60px;
    }
    .product-nav-counter {
        font-size: 80px;
    }
}


@media (max-width: 1023px) {
    .product-nav {
        display: none;
    }
}

/* Стили для контентных списков */
.spoiler-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.spoiler-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 25px 0 15px 0;
    line-height: 1.4;
}

.spoiler-content li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--text-gray);
    font-size: 14px;
}

.spoiler-content li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Стили для вложенных списков */
.spoiler-content ul ul {
    margin: 15px 0 15px 20px;
}

.spoiler-content ul ul li {
    padding-left: 28px;
    margin-bottom: 8px;
    font-size: 13px;
}

.spoiler-content ul ul li::before {
    width: 4px;
    height: 4px;
    top: 50%;
    left: 6px;
}

/* Стили для списков в модальных окнах */
.modal .spoiler-content ul {
    margin: 15px 0;
}

.modal .spoiler-content li {
    margin-bottom: 10px;
}

/* Адаптивность для списков */
@media (max-width: 768px) {
    .spoiler-content h4 {
        font-size: 18px;
        margin: 20px 0 12px 0;
    }
    
    .spoiler-content li {
        padding-left: 28px;
        margin-bottom: 10px;
        font-size: 13px;
    }
    
    .spoiler-content li::before {
        width: 5px;
        height: 5px;
        top: 50%;
        left: 6px;
    }
    
    .spoiler-content ul ul {
        margin: 12px 0 12px 15px;
    }
    
    .spoiler-content ul ul li {
        padding-left: 24px;
        margin-bottom: 6px;
        font-size: 12px;
    }
    
    .spoiler-content ul ul li::before {
        width: 3px;
        height: 3px;
        top: 50%;
        left: 4px;
    }
}

@media (max-width: 480px) {
    .spoiler-content h4 {
        font-size: 16px;
        line-height: 1.6;
        margin: 18px 0 10px 0;
    }
    
    .spoiler-content li {
        padding-left: 24px;
        margin-bottom: 8px;
        font-size: 12px;
    }
    
    .spoiler-content li::before {
        width: 4px;
        height: 4px;
        top: 50%;
        left: 4px;
    }
    
    .spoiler-content ul ul {
        margin: 10px 0 10px 12px;
    }
    
    .spoiler-content ul ul li {
        padding-left: 20px;
        margin-bottom: 5px;
        font-size: 11px;
    }
    
    .spoiler-content ul ul li::before {
        width: 3px;
        height: 3px;
        top: 50%;
        left: 3px;
    }
}

/* Скрываем кнопку "Подробнее" в десктопной версии */
@media (min-width: 1024px) {
  .loading-details-btn {
    display: none !important;
  }
  
  /* Делаем SVG логотип интерактивным в десктопной версии */
  .loading-logo-arcona-svg {
    cursor: pointer !important;
    transition: opacity 0.3s ease;
    pointer-events: auto !important;
  }
  
  .loading-logo-arcona-svg:hover {
    opacity: 0.8;
  }
  
  /* Также делаем все дочерние элементы SVG кликабельными */
  .loading-logo-arcona-svg path,
  .loading-logo-arcona-svg g {
    cursor: pointer !important;
    pointer-events: auto !important;
  }
  
  .loading-logo-arcona-svg path:hover,
  .loading-logo-arcona-svg g:hover {
    opacity: 0.8;
  }
  
  /* Показываем второй SVG на десктопе */
  .loading-company-svg {
    display: block !important;
  }
  
  /* Делаем второй SVG интерактивным */
  .loading-company-svg {
    cursor: pointer !important;
    transition: opacity 0.3s ease;
    pointer-events: auto !important;
  }
  
  .loading-company-svg:hover {
    opacity: 0.8;
  }
  
  /* Также делаем все дочерние элементы второго SVG кликабельными */
  .loading-company-svg path,
  .loading-company-svg g,
  .loading-company-svg polygon,
  .loading-company-svg rect {
    cursor: pointer !important;
    pointer-events: auto !important;
  }
  
  .loading-company-svg path:hover,
  .loading-company-svg g:hover,
  .loading-company-svg polygon:hover,
  .loading-company-svg rect:hover {
    opacity: 0.8;
  }
}

.loading-screen.active .company-stroke {
	stroke: white !important;
	color: white !important;
	fill: none !important;
	opacity: 1 !important;
	filter: none !important;
	-webkit-filter: none !important;
	-webkit-stroke: white !important;
	-webkit-color: white !important;
	-webkit-fill: none !important;
	-webkit-opacity: 1 !important;
	/* Принудительно отключаем CSS анимации для JavaScript управления */
	animation: none !important;
	stroke-dasharray: 3500 !important;
	/* НЕ устанавливаем stroke-dashoffset здесь */
}

/* ДОПОЛНИТЕЛЬНО принудительно отключаем ВСЕ CSS анимации для JavaScript управления */
.loading-screen.active .company-stroke-left,
.loading-screen.active .company-stroke-right {
	animation: none !important;
	stroke-dasharray: 3500 !important;
	/* НЕ устанавливаем stroke-dashoffset здесь */
}
	
/* Минимально необходимые добавления для работы формы */
.message {
	padding: 15px;
	margin-bottom: 40px;
	border-radius: 4px;
	text-align: center;
}

.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #0066cc;
}

.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid #ffffff;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin 1s ease-in-out infinite;
	margin-right: 10px;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Стили для капчи - компактный дизайн */
.captcha-group {
    margin-bottom: 20px;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.captcha-image {
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
    flex-shrink: 0;
}

.captcha-refresh {
    width: 40px;
    height: 40px;
    padding: 0;
    background: #476DAC;  /* Цвет сайта */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.captcha-refresh:hover {
    background: #5a7eb8;  /* Светлее при наведении */
}

.captcha-refresh:active {
    transform: scale(0.95);
}

.captcha-refresh svg {
    width: 20px;
    height: 20px;
}

.captcha-input {
    flex: 1;
    min-width: 100px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.captcha-input:focus {
    outline: none;
    border-color: #476DAC;
    box-shadow: 0 0 0 2px rgba(71, 109, 172, 0.2);
}

/* Адаптив для мобильных устройств */
@media (max-width: 480px) {
    .captcha-wrapper {
        flex-wrap: wrap;
    }
    
    .captcha-image {
        width: 120px;
        height: auto;
    }
    
    .captcha-input {
        flex: 1 1 100%;
        order: 3;
    }
    
    .captcha-refresh {
        order: 2;
    }
}

/* Анимация для кнопки обновления */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.captcha-refresh.refreshing svg {
    animation: spin 0.8s linear infinite;
}

.captcha-refresh {
    transition: all 0.3s ease;
}

.captcha-refresh:active svg {
    transform: scale(0.9);
}

/* Стили для всплывающих сообщений из формы */
.form-messages-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    padding: 30px 25px 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    text-align: center;
    font-size: 16px;
    display: none;
    animation: popupAppear 0.3s ease;
}

@keyframes popupAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.form-messages-popup.show {
    display: block;
}

.form-messages-popup.success {
    border-top: 4px solid #28a745;
}

.form-messages-popup.error {
    border-top: 4px solid #dc3545;
}

#popup-message {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.form-messages-popup .close-btn {
    padding: 10px 30px;
    background: #476DAC;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-messages-popup .close-btn:hover {
    background: #5a7eb8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(71, 109, 172, 0.3);
}

.form-messages-popup .close-btn:active {
    transform: translateY(0);
}

/* Затемненный фон */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    z-index: 9998;
    display: none;
    animation: overlayAppear 0.3s ease;
}

@keyframes overlayAppear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.overlay.show {
    display: block;
}
/* End */
/* /local/templates/arcona/template_styles.css?177359747588842 */
