

/* Start:/local/templates/zakargon/components/bitrix/news.list/howto_steps_unified/style.css?17731441559019*/
/* How-to Page Unified Styles */
.howto {
    padding: 60px 0;
}

/* Hero Section */
.howto__hero {
    text-align: center;
    margin-bottom: 80px;
}

.howto__title {
    font-size: 48px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 60px;
    line-height: 1.2;
}

/* User Type Selector */
.howto__selector {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.howto__selector-btn {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 30px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 200px;
    max-width: 320px;
    width: 100%;
    min-height: 260px;
    flex: 1 1 0;
    box-sizing: border-box;
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 16px;
    font-weight: 600;
}

.howto__selector-btn span {
    text-align: center;
}

.howto__selector-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.howto__selector-btn.active {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(62, 62, 62, 1);
}

.howto__selector-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.howto__selector-btn:hover .howto__selector-icon {
    transform: scale(1.1);
}

/* Steps Section */
.howto__steps {
    padding: 40px 0;
}

.howto-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.howto-steps__item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 30%;
    gap: 40px;
}

.howto-steps__content {
    display: contents;
}

.howto-steps__card {
    background: transparent;
    border-radius: 16px;
    padding: 0;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.howto-steps__card-layers {
    position: relative;
    background: rgba(217, 217, 217, 1);
    border-radius: 16px;
    border: 3px solid #e0e0e0;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 2px 8px rgba(0, 0, 0, 0.05) inset, 0 -1px 0 rgba(0, 0, 0, 0.05) inset;
    transition: all 0.3s ease;
    overflow: hidden;
}

.howto-steps__card-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 100%
    );
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
}

.howto-steps__card-content {
    position: relative;
    z-index: 2;
}

.howto-steps__card-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.howto-steps__icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
}

.howto-steps__card-layers:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 2px 8px rgba(0, 0, 0, 0.05) inset;
    transform: translateY(-2px);
}

.howto-steps__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.3;
}

.howto-steps__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 25px;
}

.howto-steps__text p {
    margin-bottom: 15px;
}

.howto-steps__text ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.howto-steps__text li {
    margin-bottom: 8px;
}

.howto-steps__more-btn {
    background: rgba(248, 195, 88, 0.6);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--dark-gray);
}

.howto-steps__more-btn:hover {
    background: rgba(248, 195, 88, 0.8);
    transform: translateY(-2px);
}

.howto-steps__number-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 180px;
    align-self: stretch;
}

.howto-steps__number {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    color: #000000;
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.howto-steps__line {
    width: 2px;
    height: 40px;
    background: #000000;
    margin-top: 0;
    transition: height 0.5s ease;
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
}

.howto-steps__item:has(.howto-steps__detail.active)
    .howto-steps__number-wrapper {
    align-items: center;
}

.howto-steps__item:has(.howto-steps__detail.active) .howto-steps__line {
    top: 180px;
    bottom: 0;
    height: 100%;
    position: absolute;
}

/* Detail Section */
.howto-steps__detail {
    margin-top: 30px;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.5s ease;
    position: relative;
    grid-column: 1;
}

.howto-steps__detail.active {
    max-height: 1000px;
    opacity: 1;
}

.howto-steps__detail-content {
    position: relative;
    background: rgba(217, 217, 217, 1);
    border-radius: 16px;
    border: 3px solid #e0e0e0;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 2px 8px rgba(0, 0, 0, 0.05) inset, 0 -1px 0 rgba(0, 0, 0, 0.05) inset;
    overflow: hidden;
}

.howto-steps__detail-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 100%
    );
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
}

.howto-steps__detail-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-color: rgba(248, 195, 88, 0.6);
    position: relative;
    z-index: 2;
}

.howto-steps__detail-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    position: relative;
    z-index: 2;
}

.howto-steps__detail-text p {
    margin-bottom: 15px;
}

.howto-steps__detail-text ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.howto-steps__detail-text li {
    margin-bottom: 8px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .howto {
        padding: 40px 0;
    }

    .howto__title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .howto__selector {
        flex-direction: column;
        gap: 20px;
        max-width: 300px;
    }

    .howto__selector-btn {
        min-width: auto;
        padding: 20px;
        flex-direction: row;
        gap: 15px;
    }

    .howto__selector-icon {
        width: 60px;
        height: 60px;
    }

    .howto-steps__item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .howto-steps__number-wrapper {
        order: -1;
        text-align: center;
    }

    .howto-steps__number {
        width: 120px;
        height: 120px;
        font-size: 64px;
        margin: 0 auto;
    }

    .howto-steps__line {
        top: 120px;
        height: 30px;
    }

    .howto-steps__line.active {
        height: calc(100% - 120px);
    }

    .howto-steps__card-layers {
        padding: 30px 20px;
    }

    .howto-steps__card-icon {
        width: 60px;
        height: 60px;
        bottom: 15px;
        right: 15px;
    }

    .howto-steps__title {
        font-size: 20px;
    }

    .howto-steps__detail-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .howto__title {
        font-size: 28px;
    }

    .howto__selector-icon {
        width: 50px;
        height: 50px;
    }

    .howto-steps__number {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }

    .howto-steps__card {
        padding: 25px 15px;
    }

    .howto-steps__title {
        font-size: 18px;
    }
}

/* End */
/* /local/templates/zakargon/components/bitrix/news.list/howto_steps_unified/style.css?17731441559019 */
