/* Planet services – anasayfa hizmetler bölümü */
.planet-home .planet-services .container {
    max-width: 1540px;
}

.planet-services {
    background: transparent;
}

.planet-services .sec-title .title {
    font-family: var(--font-heading);
    color: var(--planet-brand-primary);
}

.planet-services__head {
    margin-bottom: 50px;
}

.planet-services__head .title {
    margin-bottom: 0;
}

.planet-services__detail {
    max-width: 760px;
    margin: 24px auto 0;
    color: rgba(10, 43, 80, 0.7);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
}

.planet-services__detail p:last-child {
    margin-bottom: 0;
}

.planet-services .xb-service-inner {
    background: var(--planet-brand-primary);
    --planet-service-count: 3;
}

.planet-services .xb-ser-item {
    width: calc(100% / var(--planet-service-count, 3));
}

.planet-services a.xb-ser-item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.planet-services .xb-ser-item .xb-holder {
    background: var(--planet-brand-primary);
}

.planet-services .xb-ser-item .title {
    font-family: var(--font-heading);
    font-weight: 400;
}

.planet-services .xb-ser-item:hover .xb-holder,
.planet-services .xb-ser-item.current .xb-holder {
    background: var(--planet-brand-secondary);
}

.planet-services .xb-ser-item:hover .img img,
.planet-services .xb-ser-item.current .img img {
    filter: brightness(0) invert(1);
}

.planet-services .xb-ser-item .sub-item::before {
    background: rgba(31, 57, 95, 0.82);
}

.planet-services .planet-services__btn {
    margin-top: 22px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
    pointer-events: none;
}

.planet-services .xb-ser-item:hover .planet-services__btn,
.planet-services .xb-ser-item.current .planet-services__btn {
    opacity: 1;
    transform: translateY(0);
}

.planet-services .planet-services__btn .site-btn__text,
.planet-services .planet-services__btn .site-btn__icon,
.planet-services .planet-services__btn .site-btn__icon i {
    color: #fff;
}

.planet-services .planet-services__btn {
    background: var(--planet-brand-secondary);
    border-color: var(--planet-brand-secondary);
}

.planet-services .xb-service-wrap {
    min-height: 600px;
}

.planet-services .xb-ser-item .sub-item {
    align-items: start;
    min-height: 500px;
}

.planet-services .xb-service-imges .img-item {
    height: 83%;
}

@media (max-width: 991.98px) {
    .planet-services__head {
        margin-bottom: 36px;
    }

    .planet-services .xb-service-wrap {
        min-height: 520px;
    }

    .planet-services .xb-ser-item .sub-item {
        min-height: 380px;
        padding-bottom: 36px;
    }

    .planet-services .xb-service-imges .img-item {
        height: 70%;
    }
}

@media (max-width: 767.98px) {
    .planet-services__head {
        margin-bottom: 28px;
        text-align: left;
    }

    .planet-services__head .sec-title,
    .planet-services .sec-title.text-center {
        text-align: left;
    }

    .planet-services__detail {
        margin-top: 16px;
        font-size: 15px;
        text-align: left;
    }

    .planet-services .xb-service-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .planet-services .xb-ser-item {
        width: 100%;
    }

    .planet-services .xb-ser-item .xb-holder {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 18px 16px;
        gap: 12px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .planet-services .xb-ser-item:first-child .xb-holder {
        border-radius: 10px 10px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .planet-services .xb-ser-item:last-child .xb-holder {
        border-radius: 0;
    }

    .planet-services .xb-ser-item .title {
        font-size: 18px;
        margin: 0;
    }

    .planet-services .xb-ser-item .img {
        max-width: none;
        flex-shrink: 0;
    }

    .planet-services .xb-ser-item .img img {
        width: 40px !important;
        height: 40px !important;
    }

    /* Mobil: alt panel gizli (tema), görsel alanı kompakt */
    .planet-services .xb-service-wrap {
        min-height: 0;
        border-radius: 10px;
    }

    .planet-services .xb-ser-item .sub-item {
        display: none;
        min-height: 0;
    }

    .planet-services .xb-service-imges {
        position: relative;
        height: 220px;
        overflow: hidden;
    }

    .planet-services .xb-service-imges .img-item {
        position: absolute;
        inset: 0;
        bottom: auto;
        height: 100%;
        width: 100%;
    }

    .planet-services .planet-services__btn {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

@media (max-width: 575.98px) {
    .planet-services .xb-service-imges {
        height: 180px;
    }

    .planet-services .xb-ser-item .xb-holder {
        padding: 16px 14px;
    }

    .planet-services .xb-ser-item .title {
        font-size: 16px;
    }
}

/* İç sayfa – hizmetler (dama / alternating rows) */
.planet-services-page__title {
    text-align: center;
}

.planet-services-page__intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    color: #4a5568;
    font-size: 16px;
    line-height: 1.75;
}

.planet-services-page__intro p:last-child {
    margin-bottom: 0;
}

.planet-service-row {
    padding: 80px 0;
}

.planet-service-row.bg-light {
    background-color: #f8f9fa;
}

.planet-service-row.bg-white {
    background-color: #ffffff;
}

.planet-service-row__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px 56px;
    align-items: center;
}

.planet-service-row--reverse .planet-service-row__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.planet-service-row--reverse .planet-service-row__media {
    order: 2;
}

.planet-service-row--reverse .planet-service-row__body {
    order: 1;
}

.planet-service-row__media {
    min-width: 0;
}

.planet-service-row__media a {
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

.planet-service-row__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.planet-service-row__body {
    min-width: 0;
    max-width: 520px;
}

.planet-service-row--reverse .planet-service-row__body {
    margin-left: auto;
}

.planet-service-row__title {
    margin: 0 0 16px;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--planet-brand-primary);
}

.planet-service-row__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.planet-service-row__title a:hover {
    color: var(--planet-brand-secondary);
}

.planet-service-row__text {
    margin: 0 0 28px;
    color: #5b6777;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
}

.planet-service-row__btn {
    align-self: flex-start;
}

.planet-services-page__empty {
    margin: 0;
    text-align: center;
    color: #5b6777;
    font-size: 16px;
}

@media (max-width: 991.98px) {
    .planet-services-page__head {
        padding-top: 90px;
        padding-bottom: 48px;
    }

    .planet-service-row {
        padding: 48px 0;
    }

    .planet-service-row__inner,
    .planet-service-row--reverse .planet-service-row__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .planet-service-row--reverse .planet-service-row__media,
    .planet-service-row--reverse .planet-service-row__body {
        order: unset;
    }

    .planet-service-row--reverse .planet-service-row__media {
        order: -1;
    }

    .planet-service-row__body,
    .planet-service-row--reverse .planet-service-row__body {
        max-width: none;
        margin-left: 0;
    }

    .planet-service-row__title {
        font-size: 28px;
    }

    .planet-service-row__text {
        margin-bottom: 22px;
    }
}

@media (max-width: 767.98px) {
    .planet-services-page__head {
        padding-top: 64px;
        padding-bottom: 32px;
    }

    .planet-services-page__title {
        text-align: left;
    }

    .planet-services-page__intro {
        font-size: 15px;
        text-align: left;
    }

    .planet-service-row {
        padding: 36px 0;
    }

    .planet-service-row__inner,
    .planet-service-row--reverse .planet-service-row__inner {
        gap: 20px;
    }

    .planet-service-row__title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .planet-service-row__text {
        margin-bottom: 18px;
        font-size: 15px;
    }

    .planet-service-row__media img {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 575.98px) {
    .planet-services-page__head {
        padding-top: 52px;
        padding-bottom: 28px;
    }

    .planet-service-row {
        padding: 28px 0;
    }

    .planet-service-row__title {
        font-size: 20px;
    }
}

/* Hizmet detay */
.planet-service-detail {
    background: #fff;
}

.planet-service-detail__title {
    margin: 0 0 16px;
}

.planet-service-detail__body {
    overflow: hidden;
}

.planet-service-detail__body::after {
    content: "";
    display: table;
    clear: both;
}

.planet-service-detail__media {
    float: left;
    width: 50%;
    max-width: 600px;
    margin: 0 36px 28px 0;
    overflow: hidden;
    border-radius: 12px;
}

.planet-service-detail__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.planet-service-detail__content {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.8;
}

.planet-service-detail__content > *:first-child {
    margin-top: 0;
}

.planet-service-detail__content p {
    margin: 0 0 1em;
}

.planet-service-detail__content ul,
.planet-service-detail__content ol {
    margin: 0 0 1.25em;
    padding-left: 1.35em;
}

.planet-service-detail__content li {
    margin-bottom: 0.7em;
}

.planet-service-detail__content li:last-child {
    margin-bottom: 0;
}

.planet-service-detail__content p:last-child,
.planet-service-detail__content ul:last-child,
.planet-service-detail__content ol:last-child {
    margin-bottom: 0;
}

.planet-service-faq {
    margin-top: 56px;
}

.planet-service-faq__title {
    margin: 0 0 20px;
}

.planet-service-faq__accordion .accordion-item {
    border: 1px solid rgba(10, 43, 80, 0.1);
    margin-bottom: 10px;
    background: #fff;
}

.planet-service-faq__accordion .accordion-button {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--planet-brand-primary);
    background: #fff;
    box-shadow: none;
    padding: 16px 20px;
}

.planet-service-faq__accordion .accordion-button:not(.collapsed) {
    background: rgba(10, 43, 80, 0.04);
    color: var(--planet-brand-primary);
    box-shadow: none;
}

.planet-service-faq__accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(10, 43, 80, 0.15);
}

.planet-service-faq__accordion .accordion-body {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.75;
    padding: 10px 20px 18px;
}

.planet-service-faq__accordion .accordion-body p:last-child {
    margin-bottom: 0;
}

/* Diğer Hizmetler */
.planet-service-others {
    padding: 80px 0 100px;
    background: #f8f9fa;
}

.planet-service-others__title {
    margin: 0 0 40px;
    text-align: center;
}

.planet-service-others__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.planet-service-others__item {
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.25s ease;
}

.planet-service-others__item.is-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
}

.planet-service-others__item.is-reverse .planet-service-others__item-media {
    order: 2;
}

.planet-service-others__item.is-reverse .planet-service-others__item-body {
    order: 1;
}

.planet-service-others__item:hover {
    background: #fff;
    color: inherit;
}

.planet-service-others__item-media {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background: #e8eef6;
}

.planet-service-others__item-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.35s ease;
}

.planet-service-others__item:hover .planet-service-others__item-media img {
    transform: scale(1.03);
}

.planet-service-others__item-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding-right: 8px;
}

.planet-service-others__item-title {
    margin: 0 0 10px;
    color: var(--planet-brand-primary);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.planet-service-others__item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.planet-service-others__item-title a:hover {
    color: var(--planet-brand-secondary);
}

.planet-service-others__item-text {
    margin: 0 0 16px;
    color: #5b6777;
    font-size: 15px;
    line-height: 1.7;
}

.planet-service-others__btn {
    align-self: flex-start;
}

@media (max-width: 991.98px) {
    .planet-service-detail__media {
        width: 44%;
        max-width: 320px;
        margin: 0 24px 20px 0;
    }

    .planet-service-faq {
        margin-top: 40px;
    }

    .planet-service-others {
        padding: 64px 0 80px;
    }

    .planet-service-others__title {
        margin-bottom: 28px;
    }

    .planet-service-others__item,
    .planet-service-others__item.is-reverse {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .planet-service-others__item.is-reverse .planet-service-others__item-media,
    .planet-service-others__item.is-reverse .planet-service-others__item-body {
        order: unset;
    }

    .planet-service-others__item.is-reverse .planet-service-others__item-media {
        order: -1;
    }

    .planet-service-others__item-body {
        padding-right: 0;
    }
}

@media (max-width: 767.98px) {
    .planet-service-detail {
        padding-top: 64px;
        padding-bottom: 48px;
    }

    .planet-service-detail__title {
        margin-bottom: 14px;
    }

    .planet-service-detail__media {
        float: none;
        width: 100%;
        max-width: none;
        margin: 0 0 20px;
    }

    .planet-service-detail__media,
    .planet-service-detail__media img {
        border-radius: 10px;
    }

    .planet-service-detail__content {
        font-size: 15px;
        line-height: 1.75;
    }

    .planet-service-faq {
        margin-top: 36px;
    }

    .planet-service-faq__accordion .accordion-button {
        font-size: 15px;
        padding: 14px 16px;
    }

    .planet-service-faq__accordion .accordion-body {
        padding: 8px 16px 16px;
        font-size: 14px;
    }

    .planet-service-others {
        padding: 48px 0 56px;
    }

    .planet-service-others__list {
        gap: 14px;
    }

    .planet-service-others__item {
        padding: 12px;
        gap: 14px;
    }

    .planet-service-others__item-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .planet-service-others__item-text {
        font-size: 14px;
        margin-bottom: 12px;
    }
}

@media (max-width: 575.98px) {
    .planet-service-detail {
        padding-top: 52px;
        padding-bottom: 40px;
    }

    .planet-service-others {
        padding: 40px 0 48px;
    }

    .planet-service-others__item-title {
        font-size: 17px;
    }
}
