.lab-quote {
    padding: clamp(15px, 2rem, 30px) 0;
}

.lab-quote__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.85fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.lab-quote__content {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.6vw, 20px);
}

.lab-quote__mark {
    display: block;
    color: rgba(108, 197, 251, 0.55);
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(72px, 8vw, 120px);
    line-height: 0.6;
    font-weight: var(--md-font-weight-bold);
    letter-spacing: 0;
    user-select: none;
}

.service-content .lab-quote__text {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

.service-content .lab-quote__text p {
    margin: 0;
    color: var(--md-color-text-primary);
    font-size: clamp(19px, 1.4rem, 24px);
    line-height: 1.5;
    font-weight: var(--md-font-weight-light);
    letter-spacing: 0;
    text-wrap: pretty;
}

.lab-quote__doctor {
    position: relative;
    min-height: clamp(360px, 32vw, 480px);
    isolation: isolate;
}

.lab-quote__doctor::before {
    content: '';
    position: absolute;
    z-index: 0;
    right: clamp(-60px, -4vw, -20px);
    bottom: 38px;
    width: min(420px, 112%);
    height: 72%;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 55% 58%, rgba(108, 197, 251, 0.32) 0%, rgba(108, 197, 251, 0.16) 36%, rgba(108, 197, 251, 0) 70%),
        radial-gradient(ellipse at 42% 38%, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 50%);
    filter: blur(8px);
    opacity: 0.96;
    pointer-events: none;
}

.lab-quote__doctor::after {
    content: '';
    position: absolute;
    z-index: 0;
    right: 4%;
    bottom: 24px;
    width: 80%;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(6, 10, 22, 0.42) 0%, rgba(6, 10, 22, 0.18) 50%, rgba(6, 10, 22, 0) 72%);
    filter: blur(6px);
    pointer-events: none;
}

.lab-quote__portrait {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 16px;
}

.lab-quote__portrait-image {
    width: auto;
    height: min(100%, 470px);
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 26px 38px rgba(3, 7, 18, 0.3));
}

.lab-quote__card {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: min(292px, 84%);
    padding: 15px 16px;
    border-radius: var(--md-radius-sm);
    background: rgba(17, 24, 46, 0.76);
    backdrop-filter: blur(10px) saturate(112%);
    -webkit-backdrop-filter: blur(10px) saturate(112%);
    box-shadow: 0 18px 42px rgba(6, 10, 22, 0.2);
}

.service-content .lab-quote__name {
    margin: 0;
    color: var(--md-color-text-primary);
    font-size: 20px;
    line-height: 1.2;
    font-weight: var(--md-font-weight-semibold);
}

.service-content .lab-quote__role {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.45;
    font-weight: var(--md-font-weight-light);
}

@media (max-width: 991.98px) {
    .lab-quote__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lab-quote__doctor {
        order: -1;
        min-height: clamp(320px, 64vw, 420px);
    }

    .lab-quote__doctor::before {
        right: auto;
        left: 50%;
        bottom: 24px;
        width: min(360px, 80%);
        transform: translateX(-50%);
    }

    .lab-quote__doctor::after {
        left: 50%;
        right: auto;
        width: 60%;
        transform: translateX(-50%);
    }
}

@media (max-width: 575.98px) {
    .service-content .lab-quote__text p {
        font-size: clamp(17px, 1.25rem, 20px);
    }

    .lab-quote__mark {
        font-size: 64px;
    }

    .lab-quote__card {
        width: min(260px, 90%);
        padding: 12px 14px;
    }
}
