/**
 * Torevya Hizmetler sayfasına özel görünüm.
 * torevya-pages.css dosyasından sonra yüklenmelidir.
 */

.torevya-services-section .row > div {
    display: flex;
}

.torevya-services-page .torevya-service-card--image {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 410px;
    padding: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(39, 197, 223, 0.08), transparent 30%),
        #ffffff;
    border: 1px solid #e3e8f4;
    border-radius: 26px;
    box-shadow: 0 18px 46px rgba(23, 32, 68, 0.07);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.torevya-services-page .torevya-service-card--image::after {
    position: absolute;
    right: -38px;
    bottom: -44px;
    width: 122px;
    height: 122px;
    content: "";
    background: rgba(39, 197, 223, 0.07);
    border-radius: 50%;
}

.torevya-services-page .torevya-service-card--image:hover {
    border-color: rgba(53, 55, 243, 0.20);
    box-shadow: 0 26px 60px rgba(23, 32, 68, 0.13);
    transform: translateY(-6px);
}

.torevya-service-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 23px;
}

.torevya-services-page .torevya-service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0;
    padding: 11px;
    background: #eef4ff;
    border: 1px solid rgba(53, 55, 243, 0.10);
    border-radius: 21px;
}

.torevya-services-section .row > div:nth-child(3n + 2) .torevya-service-card__icon {
    background: #fbf0ff;
}

.torevya-services-section .row > div:nth-child(3n + 3) .torevya-service-card__icon {
    background: #eafffa;
}

.torevya-services-page .torevya-service-card__icon img {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.torevya-service-card__number {
    color: rgba(53, 55, 243, 0.11);
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
}

.torevya-service-card__eyebrow {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 9px;
    color: #696cf8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.torevya-services-page .torevya-service-card--image h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 13px;
    color: #10162f;
    font-size: 23px;
    line-height: 1.3;
}

.torevya-services-page .torevya-service-card--image > p {
    position: relative;
    z-index: 1;
    margin: 0 0 24px;
    color: #66708c;
    line-height: 1.72;
}

.torevya-service-card__link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    color: #3537f3;
    font-weight: 700;
    text-decoration: none;
}

.torevya-service-card__link svg {
    flex: 0 0 20px;
    transition: transform 0.2s ease;
}

.torevya-service-card__link:hover,
.torevya-service-card__link:focus-visible {
    color: #176cbb;
    outline: none;
}

.torevya-service-card__link:hover svg,
.torevya-service-card__link:focus-visible svg {
    transform: translateX(5px);
}

.torevya-service-foundation {
    position: relative;
    overflow: hidden;
}

.torevya-service-foundation::after {
    position: absolute;
    right: -95px;
    bottom: -100px;
    width: 250px;
    height: 250px;
    content: "";
    border: 36px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.torevya-service-foundation > * {
    position: relative;
    z-index: 1;
}

.torevya-visual-panel__icon--image img {
    display: block;
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.torevya-service-principles {
    display: grid;
    gap: 16px;
}

.torevya-service-principles .torevya-check-list__item {
    display: flex;
    gap: 17px;
    align-items: flex-start;
}

.torevya-service-principles__icon {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 10px;
    background: #eef4ff;
    border: 1px solid rgba(53, 55, 243, 0.10);
    border-radius: 17px;
}

.torevya-service-principles .torevya-check-list__item:nth-child(2) .torevya-service-principles__icon {
    background: #fbf0ff;
}

.torevya-service-principles .torevya-check-list__item:nth-child(3) .torevya-service-principles__icon {
    background: #eafffa;
}

.torevya-service-principles__icon img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.torevya-service-principles .torevya-check-list__item > div:last-child {
    flex: 1 1 auto;
}

@media (max-width: 991.98px) {
    .torevya-services-page .torevya-service-card--image {
        min-height: 380px;
    }
}

@media (max-width: 767.98px) {
    .torevya-services-page .torevya-service-card--image {
        min-height: 350px;
        padding: 23px;
        border-radius: 22px;
    }

    .torevya-services-page .torevya-service-card__icon {
        width: 66px;
        height: 66px;
        padding: 9px;
        border-radius: 18px;
    }

    .torevya-services-page .torevya-service-card__icon img {
        width: 48px;
        height: 48px;
    }

    .torevya-service-card__number {
        font-size: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .torevya-services-page .torevya-service-card--image,
    .torevya-service-card__link svg {
        transition: none;
    }
}
