

/* Start:/local/components/custom/seoprok.block.grid.service/templates/.default/style.css?17882546764765*/
.maxwidth {
    width: 1330px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.seoprok-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
    padding: 30px 0;
}

/* Карточка */
.seoprok-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 2px solid #09b559;
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    color: #333;
    min-height: 450px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.seoprok-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(9, 181, 89, 0.15);
}

/* ===== SVG-слой ===== */
.seoprok-service-card__svg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
    color: #c8c8c8;
    transition: color 0.5s ease, transform 0.5s ease;
    transform: translate(0, 0);
}

.seoprok-service-card__svg-layer svg {
    width: 65%;
    height: 65%;
    max-width: 260px;
    max-height: 260px;
}

/* На hover SVG становится зелёным и уезжает в правый верхний угол */
.seoprok-service-card:hover .seoprok-service-card__svg-layer {
    color: #09b559;
    transform: translate(35%, -35%) scale(0.55);
}
/* ===== Цветная PNG ===== */
.seoprok-service-card__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease 0.35s; /* после смены цвета SVG */
}

.seoprok-service-card__bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.seoprok-service-card:hover .seoprok-service-card__bg-image {
    opacity: 1;
}

.seoprok-service-card:not(:hover) .seoprok-service-card__bg-image {
    transition: opacity 0.25s ease;
}

/* ===== Контент ===== */
.seoprok-service-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.seoprok-service-card__title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.seoprok-service-card__description {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    flex-grow: 1;
}

.seoprok-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #09b559;
    transition: gap 0.25s ease, color 0.25s ease;
}

.seoprok-service-card:hover .seoprok-service-card__link {
    gap: 10px;
    color: #078a44;
}

/* ===== Адаптив ===== */
@media (max-width: 768px) {
    .seoprok-services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .seoprok-service-card {
        min-height: 360px;
        padding: 24px;
    }

    .seoprok-service-card__title {
        font-size: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .seoprok-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .seoprok-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ===== SVG-слой ===== */
.seoprok-service-card__svg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
    color: #c8c8c8;
    transition: color 0.5s ease, transform 0.5s ease;
    transform: translate(0, 0);
}

.seoprok-service-card__svg-layer svg {
    width: 65%;
    height: 65%;
    max-width: 260px;
    max-height: 260px;
}

/* ===== Liquid glass с описанием ===== */
.seoprok-service-card__glass {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 20px 24px;
    background: rgba(20, 20, 20, 0.32);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0 0 18px 18px;
    color: #fff;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
    pointer-events: none;
}

.seoprok-service-card:hover .seoprok-service-card__glass {
    opacity: 1;
    transform: translateY(0);
}

.seoprok-service-card__glass-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

/* End */
/* /local/components/custom/seoprok.block.grid.service/templates/.default/style.css?17882546764765 */
