/**
 * Torevya hizmet detay sayfaları için ortak görünüm.
 * torevya-pages.css dosyasından sonra yüklenmelidir.
 */

.torevya-service-visual {
    position: relative;
    min-height: 480px;
    padding: 42px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 12%, rgba(39, 197, 223, 0.31), transparent 27%),
        linear-gradient(145deg, #2226bd 0%, #513de4 55%, #176cbb 100%);
    border-radius: 32px;
    box-shadow: 0 30px 70px rgba(53, 55, 243, 0.25);
}

.torevya-service-visual::after {
    position: absolute;
    right: -85px;
    bottom: -95px;
    width: 260px;
    height: 260px;
    content: "";
    border: 38px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.torevya-service-visual__glow {
    position: absolute;
    top: -70px;
    left: -50px;
    width: 210px;
    height: 210px;
    background: rgba(39, 197, 223, 0.18);
    border-radius: 50%;
    filter: blur(15px);
}

.torevya-service-visual > *:not(.torevya-service-visual__glow) {
    position: relative;
    z-index: 1;
}

.torevya-service-visual__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 220px;
    margin: 0 auto 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 52px;
    backdrop-filter: blur(8px);
    transform: rotate(-3deg);
}

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

.torevya-service-visual__icon i {
    font-size: 112px;
}

.torevya-service-visual > span {
    display: block;
    margin-bottom: 8px;
    color: #8beaf8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.torevya-service-visual > strong {
    display: block;
    max-width: 390px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.22;
}

.torevya-service-visual__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.torevya-service-visual__chips span {
    padding: 7px 12px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.torevya-service-benefits {
    display: grid;
    gap: 15px;
}

.torevya-service-benefit {
    display: flex;
    gap: 17px;
    align-items: flex-start;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e3e8f4;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(23, 32, 68, 0.05);
}

.torevya-service-benefit__icon {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 10px;
    background: #eef4ff;
    border-radius: 16px;
}

.torevya-service-benefit:nth-child(2) .torevya-service-benefit__icon {
    background: #fbf0ff;
}

.torevya-service-benefit:nth-child(3) .torevya-service-benefit__icon {
    background: #eafffa;
}

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

.torevya-service-benefit__icon i {
    color: #3537f3;
    font-size: 30px;
}

.torevya-service-benefit h3 {
    margin: 0 0 7px;
    color: #10162f;
    font-size: 19px;
}

.torevya-service-benefit p {
    margin: 0;
    color: #66708c;
    line-height: 1.65;
}

.torevya-service-process .row > div {
    display: flex;
}

.torevya-service-process-card {
    position: relative;
    flex: 1 1 auto;
    min-height: 290px;
    padding: 27px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e3e8f4;
    border-radius: 23px;
    box-shadow: 0 16px 40px rgba(23, 32, 68, 0.06);
}

.torevya-service-process-card__number {
    position: absolute;
    top: 19px;
    right: 20px;
    color: rgba(53, 55, 243, 0.10);
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
}

.torevya-service-process-card__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 28px;
    padding: 10px;
    background: #eef4ff;
    border-radius: 19px;
}

.torevya-service-process .row > div:nth-child(2) .torevya-service-process-card__icon {
    background: #fbf0ff;
}

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

.torevya-service-process .row > div:nth-child(4) .torevya-service-process-card__icon {
    background: #fff5eb;
}

.torevya-service-process-card__icon img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.torevya-service-process-card__icon i {
    color: #3537f3;
    font-size: 38px;
}

.torevya-service-process-card h3 {
    position: relative;
    margin: 0 0 11px;
    color: #10162f;
    font-size: 21px;
}

.torevya-service-process-card p {
    position: relative;
    margin: 0;
    color: #66708c;
    line-height: 1.7;
}

.torevya-service-deliverables__panel {
    padding: 48px;
    background:
        radial-gradient(circle at 4% 10%, rgba(39, 197, 223, 0.10), transparent 24%),
        #ffffff;
    border: 1px solid #e3e8f4;
    border-radius: 30px;
    box-shadow: 0 22px 56px rgba(23, 32, 68, 0.08);
}

.torevya-service-deliverables__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 230px;
    margin: 0 auto;
    padding: 35px;
    background: linear-gradient(145deg, #eef4ff, #f7efff);
    border: 1px solid rgba(53, 55, 243, 0.10);
    border-radius: 52px;
    transform: rotate(3deg);
}

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

.torevya-service-deliverables__visual i {
    color: #3537f3;
    font-size: 110px;
}

.torevya-service-deliverables__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #696cf8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.torevya-service-deliverables h2 {
    margin: 0 0 13px;
    color: #10162f;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
}

.torevya-service-deliverables h2 + p {
    margin: 0 0 25px;
    color: #66708c;
    line-height: 1.7;
}

.torevya-service-deliverables__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.torevya-service-deliverables__list li {
    position: relative;
    padding: 12px 14px 12px 43px;
    color: #35405d;
    font-weight: 600;
    background: #f7f9ff;
    border-radius: 12px;
}

.torevya-service-deliverables__list li::before {
    position: absolute;
    top: 50%;
    left: 14px;
    display: grid;
    width: 20px;
    height: 20px;
    content: "✓";
    place-items: center;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    background: linear-gradient(135deg, #3537f3, #27c5df);
    border-radius: 50%;
    transform: translateY(-50%);
}

@media (max-width: 991.98px) {
    .torevya-service-visual {
        min-height: 430px;
    }
}

@media (max-width: 767.98px) {
    .torevya-service-visual {
        min-height: auto;
        padding: 28px;
        border-radius: 25px;
    }

    .torevya-service-visual__icon {
        width: 180px;
        height: 180px;
        padding: 22px;
        border-radius: 42px;
    }

    .torevya-service-visual__icon img {
        width: 135px;
        height: 135px;
    }

    .torevya-service-benefit {
        padding: 17px;
    }

    .torevya-service-process-card {
        min-height: 250px;
        padding: 23px;
    }

    .torevya-service-deliverables__panel {
        padding: 25px;
        border-radius: 24px;
    }

    .torevya-service-deliverables__visual {
        width: 185px;
        height: 185px;
        padding: 27px;
        border-radius: 42px;
    }

    .torevya-service-deliverables__visual img {
        width: 125px;
        height: 125px;
    }

    .torevya-service-deliverables__list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .torevya-service-visual__icon,
    .torevya-service-deliverables__visual {
        transform: none;
    }
}
