/* Service6 — нотариальные переводы (extends service5 card layout) */

.service6-doc-section .service6-doc-card .legalizacja-hub-city-card__overlay {
    background: linear-gradient(
        180deg,
        rgba(9, 20, 45, 0.02) 0%,
        rgba(9, 20, 45, 0.18) 38%,
        rgba(9, 20, 45, 0.72) 68%,
        rgba(9, 20, 45, 0.94) 100%
    );
}

.service6-doc-section .service6-doc-card .legalizacja-hub-city-card__media img {
    object-fit: cover;
    object-position: center 22%;
    transform: scale(1.04);
}

.service6-doc-section .service6-doc-card:hover .legalizacja-hub-city-card__media img {
    transform: scale(1.1);
}

.service6-page .service6-doc-card__subtitle {
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service6-doc-section .service6-doc-card .legalizacja-hub-city-card__title,
.service6-doc-section .service6-doc-card .service5-poa-card__title-link {
    color: #fff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.service6-doc-section .legalizacja-hub-city-card__body {
    min-height: 200px;
    padding-bottom: 20px;
}

@media (min-width: 1101px) {
    .service6-doc-section:not(.is-slider-mode) .legalizacja-hub-cities__track.service6-doc-track {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
        transform: none !important;
    }

    .service6-doc-section:not(.is-slider-mode) .legalizacja-hub-city-card__slide {
        width: auto !important;
        max-width: none !important;
    }

    .service6-doc-section .legalizacja-hub-cities__swipe {
        display: none;
    }
}

@media (max-width: 1100px) {
    .service6-doc-section .service6-doc-card__subtitle {
        -webkit-line-clamp: 3;
    }
}

.service6-trust-section .service6-trust-section__inner {
    justify-content: flex-start;
    padding: clamp(36px, 4.5vw, 56px) clamp(38%, 34vw, 460px) clamp(36px, 4.5vw, 56px) clamp(28px, 4vw, 52px);
    background-size: cover;
    background-position: right center;
}

.service6-trust-section .service5-legal-validity__content {
    margin-left: 0;
    margin-right: auto;
}

@media (max-width: 1100px) {
    .service6-trust-section .service6-trust-section__inner {
        padding-right: clamp(40%, 36vw, 48%);
        padding-left: clamp(20px, 3.5vw, 32px);
        background-position: right center;
    }
}

@media (max-width: 900px) {
    .service6-trust-section .service6-trust-section__inner {
        justify-content: flex-start;
        padding: clamp(24px, 4vw, 36px) clamp(44%, 40vw, 52%) clamp(24px, 4vw, 36px) clamp(20px, 3.5vw, 32px);
        background-position: right center;
    }

    .service6-trust-section .service5-legal-validity__content {
        margin-left: 0;
        margin-right: auto;
    }
}

@media (max-width: 540px) {
    .service6-trust-section .service6-trust-section__inner {
        padding: clamp(20px, 5vw, 28px) clamp(46%, 42vw, 54%) clamp(22px, 5vw, 28px) clamp(16px, 4vw, 22px);
        background-position: right bottom;
    }

    .service6-trust-section .service5-legal-validity__content {
        align-self: flex-end;
    }
}

.service6-page .service5-hero__title-line--accent {
    color: #092b96;
    -webkit-text-fill-color: currentColor;
}

.service6-page .service5-hero__title-line--rest {
    color: #131313;
    -webkit-text-fill-color: currentColor;
}

/* Languages block */
.service6-languages {
    padding: 0 0 48px;
    background: #fff;
}

.service6-languages__panel {
    padding: 28px 28px 24px;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.service6-languages__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.service6-languages__head-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eef5ff;
    color: #2380eb;
}

.service6-languages__title {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.2;
    font-weight: 700;
}

.service6-languages__intro {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
}

.service6-languages__intro-link {
    color: #2380eb;
    font-weight: 600;
    text-decoration: none;
}

.service6-languages__intro-link:hover,
.service6-languages__intro-link:focus-visible {
    text-decoration: underline;
}

.service6-languages__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.service6-languages__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    color: #334155;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
}

.service6-languages__pill-flag {
    font-size: 16px;
    line-height: 1;
}

.service6-languages__pill--more {
    border-style: dashed;
    border-color: #93c5fd;
    color: #2380eb;
    font-weight: 600;
}

.service6-languages__features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid #e8edf3;
}

.service6-languages__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.service6-languages__feature-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef5ff;
    color: #2380eb;
}

.service6-languages__feature-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.service6-languages__feature-title {
    margin: 0;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.service6-languages__feature-text {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

/* Sworn translation block */
.service6-sworn {
    padding: 0 0 56px;
    background: #fff;
}

.service6-sworn__panel {
    display: grid;
    grid-template-columns: minmax(280px, 34%) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f4f7ff 0%, #eef3fb 100%);
    border: 1px solid #e3ebf7;
}

.service6-sworn__intro {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.service6-sworn__intro-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ede9fe;
    color: #7c6cf0;
}

.service6-sworn__title {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.25;
    font-weight: 700;
}

.service6-sworn__text {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.service6-sworn__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.service6-sworn__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100%;
    padding: 18px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8edf3;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.service6-sworn__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f3f0ff;
    color: #7c6cf0;
}

.service6-sworn__card-title {
    margin: 0;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.service6-sworn__card-text {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .service6-languages__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service6-sworn__panel {
        grid-template-columns: 1fr;
    }

    .service6-sworn__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .service6-languages__panel,
    .service6-sworn__panel {
        padding: 20px 16px;
    }

    .service6-languages__features,
    .service6-sworn__cards {
        grid-template-columns: 1fr;
    }

    .service6-languages__pill {
        font-size: 13px;
    }
}
